• 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: Programmatically changing "Open using Rosetta" flag
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programmatically changing "Open using Rosetta" flag


  • Subject: Re: Programmatically changing "Open using Rosetta" flag
  • From: Greg Guerin <email@hidden>
  • Date: Wed, 10 May 2006 20:26:18 -0700

Dirk Stegemann quoted:

>> - Add the new "LSPrefersPPC" sibling and set it to boolean value "NO"

Unless I've misread the reference doc, or I'm completely misreading the
context of the quote, I think that step should say:
  "..and set it to boolean value value 'YES'"

For reference:

<http://developer.apple.com/documentation/MacOSX/Conceptual/universal_binary/universal_binary_exec_a/chapter_7_section_5.html#//apple_ref/doc/uid/TP40002217-CH210-240495>

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


As to 'lsregister' updating its database, the last time I had to trigger an
update of LaunchServices on 10.4, I just used 'touch' on the app-bundle
itself:
  touch /path/to/Your.app

In any case, you can ask lsregister to dump its entire database, then look
through the data for the app of interest and see what it says.  Since the
database is definitive for LaunchServices, I would probably believe what it
tells me about any given app-bundle.

To see the lsregister sub-commands, including how to dump the database with
the -dump option, invoke lsregister with no additional args and it will
spit out a helpful summary.

  -- GG


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Still cannot get it to link - please help.
  • Next by Date: Re: How to dump core?
  • Previous by thread: Re: Programmatically changing "Open using Rosetta" flag
  • Next by thread: Any predefined macro for current function?
  • Index(es):
    • Date
    • Thread