Merge pull request #2555 from dreampiggy/bugfix_macOS_xcconfig_bitcode

Fix that macOS does not support bitcode, current xcconfig cause build issue on Legacy Build System
This commit is contained in:
Wu Zhong 2018-12-08 16:12:24 +08:00 committed by GitHub
commit b15abdd792
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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. // 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 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. // Controls whether `objc_msgSend` calls must be cast to the appropriate function pointer type before being called.
ENABLE_STRICT_OBJC_MSGSEND = YES ENABLE_STRICT_OBJC_MSGSEND = YES