• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSWorkspace launchApplication fails on some apps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWorkspace launchApplication fails on some apps


  • Subject: Re: NSWorkspace launchApplication fails on some apps
  • From: Tom Andersen <email@hidden>
  • Date: Tue, 22 Aug 2006 10:23:14 -0400

I just tried it with my non-debug build and it all worked!

So I think that there is some debug thing happening here!

--Tom
On 20-Jun-06, at 12:25 AM, Alberto Ricart wrote:

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

_______________________________________________ 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
  • Follow-Ups:
    • Re: NSWorkspace launchApplication fails on some apps
      • From: Steve Christensen <email@hidden>
    • Re: NSWorkspace launchApplication fails on some apps
      • From: Rosyna <email@hidden>
  • Prev by Date: Re: NSWorkspace launchApplication fails on some apps
  • Next by Date: Re: NSWorkspace launchApplication fails on some apps
  • Previous by thread: Re: NSWorkspace launchApplication fails on some apps
  • Next by thread: Re: NSWorkspace launchApplication fails on some apps
  • Index(es):
    • Date
    • Thread