[英]Xcode - How to make it use different plist file for same code base, different targets
I have a code base that I need to build out to two different targets.我有一个代码库,需要针对两个不同的目标进行构建。 The only difference is they read different config.plists, config-1.plist for target #1 and config-2.plist for target #2.
唯一的区别是它们读取不同的 config.plist,目标 #1 的 config-1.plist 和目标 #2 的 config-2.plist。 What do I need to do in the building to achieve this?
我需要在建筑物中做什么才能实现这一目标?
Like this:像这样:
In the Packaging section, you should see a setting called Info.plist file .在 Packaging 部分,您应该看到一个名为Info.plist file的设置。
You also need to create the two plist-files of course.当然,您还需要创建两个 plist 文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.