• 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
com.apple.application-instance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

com.apple.application-instance


  • Subject: com.apple.application-instance
  • From: Mark Lucas <email@hidden>
  • Date: Sat, 27 Feb 2016 00:52:00 -0500

I want to refer to a file outside my app bundle (e.g., in Application Support) to store mutable data, to avoid invalidating its signature. Apparently this is possible according to TN2206:

"To support the creation of droplet-like apps or similar forms of personalization, it is acceptable to place the string representation of a UUID (e.g. 16F2ACA8-AA29-48ED-9ED9-F96F3A230505) into an extended attribute named com.apple.application-instance of the top-level directory of your bundle (e.g. MyApp.app). This will not invalidate the code signature or affect the bundle’s code identity. You may then link this UUID to storage outside the bundle that carries the necessary configuration data, such as NSUserDefaults, a file in the Application Support directory, or a web service."

That sounds very promising, except it's a bit short on details. Sorry to be obtuse, but how exactly does one go about linking to a file in Application Support via a UUID?

Thanks!
-Mark
 _______________________________________________
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: Aggregate targets in Xcode - is there any documentation on this anywhere?
  • Next by Date: Re: Aggregate targets in Xcode - is there any documentation on this anywhere?
  • Previous by thread: Re: Aggregate targets in Xcode - is there any documentation on this anywhere?
  • Next by thread: Xcode 7 and SVN commit -> (500 Internal Server Error)
  • Index(es):
    • Date
    • Thread