• 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
problems in running an application in Rosetta
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Accessing files in QT Cache
  • Next by Date: Regarding Trash programming...
  • Previous by thread: Re: How to NSTableView and NSArrayConroller
  • Next by thread: Regarding Trash programming...
  • Index(es):
    • Date
    • Thread