Updating application info plist
Updating application info plist
- Subject: Updating application info plist
- From: Zephyroth Akash <email@hidden>
- Date: Fri, 9 Oct 2009 11:55:47 +0200
Hi,
I'm facing a weird issue.
I get the Info.plist of the app like this.
NSMutableDictionary *infoPlist = [[NSBundle mainbundle] infoDictionary];
After the update of some resources I want to write the new version of
these resources in the Info.plist.
No problem.
But when the app execute : [infoPlist
writeToFile:pathToInfoPlistOfTheApp atomically:YES];
Nothing happens even if I change the path to my desktop, the
dictionary is not written.
Are there some limitations ?
Can I write the Info.plist while the application is running ?
Zephyroth
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden