This is one way to read it...
Edit your Lab2.xcconfig file and add this
OTHER_SWIFT_FLAGS = -DLAB2
and then inside your code
#if LAB2
print("Build using lab2.xcconfig")
#else
print("Build using some_other.xcconfig")
#endif
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.