Xcode Different Resources For Different Targets

前端 未结 2 1825
無奈伤痛
無奈伤痛 2021-01-05 14:53

I am developing an iPhone app and there will be a Full as well as a Lite version of that app. In order get both bundles from the same source code and Xcode project I added a

2条回答
  •  情深已故
    2021-01-05 15:55

    In the left-hand panel of Xcode, right-click on the "Groups & Files" bar at the top. Check "Target Membership".

    Now you'll see a tick against every file that should be included in your current build target. Untick the ones you don't want, switch to your other target, and repeat.

提交回复
热议问题