Created new XCode Configuration and Scheme - linker is suddenly failing

后端 未结 2 1398
萌比男神i
萌比男神i 2021-02-14 17:16

A new XCode project has Debug and Release Configurations. I\'ve added a new one under \"ProjectName > Info\" called \"development\", which is for now a duplicate of \"debug\".

2条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-14 17:40

    Xcode 8.3.2 needs a bit different changes.

    To make it work, you need to change the Per-configuration Build Products Path for your custom build config. For example, I have an Internal build config. In that field, instead of $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME), I put $(BUILD_DIR)/Release$(EFFECTIVE_PLATFORM_NAME), and now it works :).

提交回复
热议问题