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      (Xcode-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to