I have a static framework and would like to add a bitcode support for it (iOS9 invention). At the moment when I set bitcode to YES I get this:
我有一个静态框架,并希望为它添加一个bitcode支持(iOS9发明)。当我将位码设置为YES时,我得到了:
-bundle and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together
So the question is, how do I enable bitcode for a static library to avoid this issue?
所以问题是,如何为静态库启用位码以避免这个问题?
1 个解决方案
#1
-1
I avoided this problem by the following build settings.
我通过以下构建设置避免了这个问题。
- Set 'Enable Bitcode' 'No'
- 设置“启用Bitcode”“不”
- Add '-fembed-bitcode' to 'Other C Flags'
- 在“其他C标志”中添加“-fembed-bitcode”
#1
-1
I avoided this problem by the following build settings.
我通过以下构建设置避免了这个问题。
- Set 'Enable Bitcode' 'No'
- 设置“启用Bitcode”“不”
- Add '-fembed-bitcode' to 'Other C Flags'
- 在“其他C标志”中添加“-fembed-bitcode”