problems in running an application in Rosetta
problems in running an application in Rosetta
- Subject: problems in running an application in Rosetta
- From: "Gurmit Teotia" <email@hidden>
- Date: Thu, 28 Dec 2006 13:57:39 +0530
Hello,
I need to start a third party application, from my cocoa application
in Rosetta. I was using "LaunchApplication" API to start that
application.
Steps, I taken, and their results are:
1. Checked "Run in rosetta" option on Info window. It runs in Rosetta
but if I copy my application to other location it doesn't preserve
this attribute.
2. Use ditto -arch ppc. Its works perfectly for me.
3. Change Info.plist of target application to include "LSPrefersPPC"
key as per documents. It doesn't start in Rosetta. In documentation I
got the sentence "For an application that you are writing,". Can not
this approach be used for applications, which are already written?
4. Use "sysctlbyname" function code as given in documentation but it
doesn't work. My guess is LaunchApplication might be using "exec" call
internally. Am I wrong here?
Any feedback.
Thanks,
Gurmit
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden