Question

I am using Xcode 4.5 and trying to add keys to info.plist (using Add Row command from drop down list, or click on Plus button).

The problem is that the plist don't add any extra keys that I need. It updates just when I switch between tabs: summary and build settings. I mean when I add new row to plist it has to add it to itself, in my case it don't do it. I don't see any updates in runtime. Have you got the same issues?

I have attached file where I at. When I press this button nothing happen with my plist, but the plist should add new row (key that will be stored in xml) as I think.

enter image description here

I also have added video how it works.

Was it helpful?

Solution

You are trying to use the app's info.plist which has a fixed set of supported values.

I think you need to add a custom plist to your Xcode project, which can hold whatever values you want.

OTHER TIPS

If you wan't to create your own drop down values you must create a definition structure, which is a type of Xcode Plugin. Here are two other discussions that explain it well.

How does Apple make the info.plist display its "Information Property List"?

Can I create a custom plist structure definition?

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