• 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: [Solution] Prevent running in Rosetta
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Solution] Prevent running in Rosetta


  • Subject: Re: [Solution] Prevent running in Rosetta
  • From: j o a r <email@hidden>
  • Date: Tue, 17 Jan 2006 15:17:32 +0100


FYI:

For the benefit of anyone still interested, and for the archives, I would just like to add that with the latest documentation update, Apple made the proper solution to this problem official:

==================================
To prevent an application from opening using Rosetta, add the following key to the Info.plist:
<key>LSRequiresNativeExecution</key>
<true/>
==================================


<http://developer.apple.com/documentation/MacOSX/Conceptual/ universal_binary/universal_binary_exec_a/chapter_7_section_6.html>

It works great, and in the following way:

* It adds a nice overlay crossed-out badge thingie to the application icon, to denote that it can't be launched
* If you still try to open the application, an alert dialog is presented


Over and out,

j o a r



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

  • Prev by Date: Re: Q: "Linking" to mail messages?
  • Next by Date: "Open dialogue"-like file system browser
  • Previous by thread: Flash security within WebView
  • Next by thread: "Open dialogue"-like file system browser
  • Index(es):
    • Date
    • Thread