View Full Version : Editing Info.plist
ruhi
Jul 22, 2009, 06:34 AM
How can i edit info.plist file present in my cocoa application at runtime.
i want to set LSUIElement key to True or YES at run time.
What can i do to accomplish this.
Thanks in advance.
Ruhi
robbieduncan
Jul 22, 2009, 07:08 AM
You really shouldn't. You app might be launching from a read-only location (especially for the current user). Also altering that will break the code signature if you sign your app.
ruhi
Jul 24, 2009, 02:08 AM
i really need to change info.plist at run time.
is there anyway by which i can do it efficiently.
i just need to set value of a single key LSUIElement. Either true or false.
cant it be done by any means?
Please Reply!!!
Thanks,
Ruhi. :confused:
sammich
Jul 24, 2009, 02:15 AM
defaults write com.your_app.signature LSUIElement 0
is the command, but I don't know how to achieve this as I don't program in cocoa...yet.
I think....
ruhi
Jul 24, 2009, 02:23 AM
Thanks for your quick response. i will see to it.
But i am still looking for some cocoa help.
Thanks again
Ruhi.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.