How to append values in xcconfig variables?

前端 未结 8 725
借酒劲吻你
借酒劲吻你 2020-12-12 21:58

I\'m using Xcode and .xcconfig files. I\'m trying to append some values in the preprocessor definitions, but I simply can\'t make it work.

I tried the following (as

8条回答
  •  天涯浪人
    2020-12-12 22:29

    This works for me in Xcode 2.4.1:

    GCC_PREPROCESSOR_DEFINITIONS = "$(GCC_PREPROCESSOR_DEFINITIONS) NEW_VALUE"
    

    You do have to sometimes allow a few seconds between editing a config file and the change showing up in a target's Build Info.

提交回复
热议问题