com.apple.application-instance
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