An iOS app with multiple brandings

前端 未结 2 586
被撕碎了的回忆
被撕碎了的回忆 2021-02-09 20:23

I have an iphone app working just fine - it basically just displays news from a feed, but now we want to have a second app that is a clone of the first but branded a different w

相关标签:
2条回答
  • 2021-02-09 20:32

    You can do this easily by adding a new target to your project.

    Create unique branded assets and configuration files with identical names, but keep them in different folders. When you're ready, add each folder to the project and set the "Target Membership" to the appropriate target. If you make a mistake, you can change it in the File Inspector pane.

    When you build a specific target from the shared codebase, only those resources will be bundled with the app. As long as the filenames are identical, it should work.

    0 讨论(0)
  • 2021-02-09 20:52

    You can use one project with more then one target. For each target you can add different resources (Info.plist, icon, etc.).
    XML feed can be defined in settings.bundle (which also can be dependent on the target).
    Layout you can read from dictionary, which also should be dependent on the target.

    0 讨论(0)
提交回复
热议问题