NSWorkspace launchApplication fails on some apps
NSWorkspace launchApplication fails on some apps
- Subject: NSWorkspace launchApplication fails on some apps
- From: Alberto Ricart <email@hidden>
- Date: Mon, 19 Jun 2006 23:25:37 -0500
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
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden