简体   繁体   中英

How to edit Settings.bundle in XCode 4.2

Problem : Quite simply, in my iOS app I have a Settings.bundle to help create the settings page. In XCode 3 I could simply edit this, but it doesn't seem possible in XCode 4. Settings.bundle can't be opened from XCode and going through the folders myself I can't see a file to edit. What do I do?

Screenshot of Settings.bundle in XCode 4.2 :

在此输入图像描述

Update - Screenshot of structure in Finder :

在此输入图像描述

In XCode 4.2 select your Settings.bundle; Show Utilities; In the Identity & Type Utility, change file type to CoreFoundation.bundle.

在项目导航器中右键单击设置捆绑>>在查找器中显示>>在查找器中右键单击设置捆绑>>点击“显示包内容”>>根据需要编辑plist!

I've found a way to do it, although it bypasses XCode. In Finder, right click on Settings.bundle, and choose 'Show Package Contents'. Then edit as necessary.

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