Why can't I add a child pane plist file into my project's Settings.bundle?

后端 未结 6 1308
眼角桃花
眼角桃花 2021-02-04 06:06

I\'m running Xcode 4.1 and I\'ve been following a tutorial about app settings. Everything has been going great up until I get ready to add a plist for a child pane that I want

6条回答
  •  灰色年华
    2021-02-04 06:49

    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.

    1. Open up finder, you can right click or two finger click Settings.bundle and choose "Show in Finder".
    2. Right click Settings.bundle in the finder window, choose show package contents.
    3. Copy the new plist file into this the settings.bundle next to the Root.plist
    4. Delete the new plist from the main project.

提交回复
热议问题