Skip navigation.
 
mlNSWorkspace launch APIs don't work for non-universal on Intel?
FROM : Alberto Ricart
DATE : Tue Jun 20 21:14:29 2006

Hello,

I have written a small launcher type utility that uses the 
NSWorkspace apis to launch the executable. I have noticed that on 
intel hardware, non-universal binaries fail to launch (actually they 
do launch, but they tend to die with something similar to the 
attached exception).

Is there a way of forcing the launch to happen with rosetta?
I have tried setting the Info.plist to have the key:

<key>LSPrefersPPC</key>
<true/>

but that doesn't seem to have any effect.




/a



Host Name:      firebook
Date/Time:      2006-06-19 23:08:00.098 -0500
OS Version:    10.4.6 (Build 8I2032)
Report Version: 4

Command: P4Cocoa
Path:    /LocalDeveloper/NonUniversal.app/Contents/MacOS/NonUniversal
Parent:  WindowServer [2040]
Rosetta: Yes

Version: NonUniversal 0.24 (0.24/2005.6.2/2203)

PID:    2321
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0xffffffe5

Thread 0 Crashed:
0  P4Cocoa    0xb81f779f memcpy + 15115
1  P4Cocoa    0xb81f8358 memcpy + 18116
2  P4Cocoa    0xb81ed9b3 free + 172

Related mailsAuthorDate
mlNSWorkspace launch APIs don't work for non-universal on Intel? Alberto Ricart Jun 20, 21:14
mlRe: NSWorkspace launch APIs don't work for non-universal on Intel? David Dunham Jun 20, 22:06
mlRe: NSWorkspace launch APIs don't work for non-universal on Intel? Alberto Ricart Jun 20, 22:47
mlSOLVED: NSWorkspace launch APIs don't work for non-universal on Intel? Alberto Ricart Jun 20, 22:56