Question

How can I edit info.plist file of xcode project? I have tried searching a lot but nothing specific.

Was it helpful?

Solution

An info.plist file can be considered 2 ways. One, it's just a specially formatted text file so thinking that way you can manipulate the text directly. Applescript can read text files, manipulate text, and write text files. Two, it's a basic xml file formatted with apple's tags to create a "plist" file. So you could use xml tools on the file as well. System Events has xml tools. There's also a unix command line program called "defaults" that can work on them as well.

So there's several tools. You need to think about what you want to do, how complicated the task is, and then decide which tool will best fit your requirements.

After you figure out those basics, try some things and come back and ask specific questions.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top