【发布时间】:2016-08-12 21:45:47
【问题描述】:
【问题讨论】:
-
我最终采用了以下解决方案:stackoverflow.com/a/32540064/4577878
标签: ios objective-c swift xcode xcconfig
【问题讨论】:
标签: ios objective-c swift xcode xcconfig
这是一种阅读方式...
编辑您的 Lab2.xcconfig 文件并添加此文件
OTHER_SWIFT_FLAGS = -DLAB2
然后在你的代码中
#if LAB2
print("Build using lab2.xcconfig")
#else
print("Build using some_other.xcconfig")
#endif
【讨论】: