controlling which project header file Xcode will include

后端 未结 5 507
耶瑟儿~
耶瑟儿~ 2020-11-30 07:01

My Xcode project builds to variations of the same product using two targets. The difference between the two is only on which version of an included library is used. For the

5条回答
  •  鱼传尺愫
    2020-11-30 07:37

    USE_HEADERMAP=NO is overkill for some projects. It might be enough to just use HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT=NO.

    Documentation here:
    https://developer.apple.com/library/archive/documentation/DeveloperTools/Reference/XcodeBuildSettingRef/1-Build_Setting_Reference/build_setting_ref.html

提交回复
热议问题