Xcode Different Resources For Different Targets

前端 未结 2 1809
無奈伤痛
無奈伤痛 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:59

    Instead of manipulating the "Copy Bundle Resources" step of your target, you can right-click resource files or groups (folders), choose "Get Info," and selectively leave stuff out of your Lite build under the Targets tabs of the info window for the file(s) you selected. Doing this on a group (folder) recurses the changes, so using resource groups (folders) is a nice easy way to make separate resources collections for separate builds.

提交回复
热议问题