Why can't I add a child pane plist file into my project's Settings.bundle?
Argh, Apple tends to change things without letting anyone know. The whole settings bundle thing is just not well integrated into XCode if you ask me.If you ever try to localize your application, you will find that you have to manually add the localization folders to the settings.bundle.
Looks like we have to do the same thing to add child menus now, as just adding the plist file does not put it into the settings.bundle.
Here is the set of steps I just tried that worked.
- Open up finder, you can right click or two finger click Settings.bundle and choose "Show in Finder".
- Right click Settings.bundle in the finder window, choose show package contents.
- Copy the new plist file into this the settings.bundle next to the Root.plist
- Delete the new plist from the main project.
I was not able to get the text field to show up under additional .plist page.
My Fix:
- Leave only 1
Child.plist
file outsideSettings.bundle
- Navigate to
Root.plist
- Right click and select 'Show Ray Keys/Values'
- Right click and select 'Add Row'. Add:
- Key: File
- Type: String
- Value: Root
In Xcode 4.3.2,
- Right click the Project Name in the Project Navigator, and choose
Show in Finder
. - In Finder, right click the setting.bundle and choose
Show Package Contents
. - Copy the new .plist to setting.bundle.
- Back to XCode, open the
setting.bundle
, wilfully add one item under thePreference Items
, then expand it and modify the value ofType
toChild Pane
.I can't upload the image, so give the link of the blog.