R ruhi macrumors member Original poster Jun 17, 2009 70 0 Jul 22, 2009 #1 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
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 Moderator emeritus Jul 24, 2002 25,611 893 Harrogate Jul 22, 2009 #2 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.
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.
R ruhi macrumors member Original poster Jun 17, 2009 70 0 Jul 24, 2009 #3 editing info.plist 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.
editing info.plist 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.
sammich macrumors 601 Sep 26, 2006 4,305 268 Sarcasmville. Jul 24, 2009 #4 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....
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....
R ruhi macrumors member Original poster Jun 17, 2009 70 0 Jul 24, 2009 #5 editing info.plist Thanks for your quick response. i will see to it. But i am still looking for some cocoa help. Thanks again Ruhi.
editing info.plist Thanks for your quick response. i will see to it. But i am still looking for some cocoa help. Thanks again Ruhi.