简体   繁体   English

如何在Settings.bundle中的xCode中添加额外的plist以与InAppSettingsKit iPhone库一起使用?

[英]How do I add extra plists in xCode in the Settings.bundle for use with the InAppSettingsKit iPhone library?

This is probably a really silly question. 这可能是一个非常愚蠢的问题。 but I'm struggling with it :( 但我正在努力:(

I am trying to add a Root.inApp.plist file to my project so that i can have inapp specific settings for my iPhone app. 我正在尝试将Root.inApp.plist文件添加到我的项目中,以便我可以为我的iPhone应用程序设置inapp特定设置。

I have integrated InAppSettingsKit fine, its currently only working with the one Root.plist file tho. 我已经很好地集成了InAppSettingsKit,它目前只使用一个Root.plist文件。 I would like to add a Root.inApp.plist file to my project so that i can have inapp specific settings. 我想将Root.inApp.plist文件添加到我的项目中,以便我可以使用inapp特定设置。

When i try to add another property file in Xcode it doesn't seem to sit under the Settings.bundle, how do i get it to show up in my Settings.bundle structure like this?: 当我尝试在Xcode中添加另一个属性文件时,它似乎不在Settings.bundle下,我如何让它显示在我的Settings.bundle结构中?

我希望其他plist出现在我的Settings.bundle下

I have tried to import the inappsettingskit bundle file also without luck :( my project doesn't recognise the Settings.bundle for some reason 我试图导入inappsettingskit包文件也没有运气:(我的项目由于某种原因无法识别Settings.bundle

Please help 请帮忙

No way to do that in Xcode, I believe. 我相信在Xcode中无法做到这一点。 Just reveal the Settings bundle in Finder and add the new file to it. 只需在Finder中显示“设置”包并将新文件添加到其中。 It'll automatically show up in Xcode. 它会自动显示在Xcode中。

复制现有的plist文件,然后右键单击任何属性,并在Property List Type下选择iPhone Settings plist。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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