Reputation: 12607
Is it allowed to change a plist file in my Cocoa app's bundle?
Upvotes: 0
Views: 68
Reputation: 3591
No, you shouldn't do that. Make a method that returns the contents of /your.plist if it exists and have it fall back to /your.plist if it doesn't. When modifying it, always save it to Documents.
Upvotes: 0
Reputation: 41821
Modifying the contents of your application bundle is generally a bad idea. For example, it can break your application's code signature.
Upvotes: 2