简体   繁体   中英

Can’t change types of items in info.plist, Xcode 5.1

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM