10

我正在尝试将 Settings.bundle 添加到我的 FIRST iphone 应用程序中,但在添加捆绑文件后,我发现我无法展开设置文件并根据说明编辑 Roots.plist 文件。我注意到,在构建应用程序后,我可以在我的 iPhone 设置中看到应用程序设置以及一些默认条目。我想说我正在使用 iOS 5 SDK 和 xcode 4.2,我想知道这是否是问题的原因,如果是,我该如何编辑它。我已经尝试删除扩展以查看它是否会作为普通文件夹打开,但没有成功。

谢谢,

4

1 回答 1

44

安装 XCode 4.2 后遇到同样的问题。我找到了一个简单的解决方法:

1) Click on the Settings.Bundle file, go over to the utilities window,
and look in the File Inspector.
2) Using the drop-down, change the file type to 'Application Bundle'

祝你好运!

于 2011-10-15T09:37:51.993 回答