Fix that macOS does not support bitcode, this cause build issue on Legacy Build System

This commit is contained in:
DreamPiggy 2018-12-08 12:55:26 +08:00
parent f663cab2c9
commit b0c84e8aec
1 changed files with 2 additions and 0 deletions

View File

@ -111,6 +111,8 @@ DYLIB_INSTALL_NAME_BASE = @rpath
// Activating this setting indicates that the target or project should generate bitcode during compilation for platforms and architectures that support it. For Archive builds, bitcode will be generated in the linked binary for submission to the App Store. For other builds, the compiler and linker will check whether the code complies with the requirements for bitcode generation, but will not generate actual bitcode.
ENABLE_BITCODE = YES
// Mac OS X does not support bitcode.
ENABLE_BITCODE[sdk=macosx*] = NO
// Controls whether `objc_msgSend` calls must be cast to the appropriate function pointer type before being called.
ENABLE_STRICT_OBJC_MSGSEND = YES