xcodeplistxcode-build-settings

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. What do I need to do in the building to achieve this?


Solution

  • Like this:

    In the Packaging section, you should see a setting called Info.plist file.

    You also need to create the two plist-files of course.