In Xcode 5.1 I tried to add some new fields, but couldn't change their types. With key and value everything is ok. Here is some screenshots(this is MyApp-Info.plist):
Is it a bug, or I'm doing something wrong? Other .plist files are ok.
Thanks in advance.
It is not a bug. Certain Values In Info.Plist
are required by iOS to be a certain type and simply can't be changed, thats why your other plists work.
You have to change the property list's type in order to fully modify it through Xcode. The info.plist
type locks certain keys, and you can get around this by changing the list's type to None
. Although, it is worth saying that some of these value's types aren't meant to be modified.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.