如何在Xcode 7中使用ENABLE_BITCODE? [英] how to ENABLE_BITCODE in xcode 7?
问题描述
我正在使用parse.com进行开发,我将这个问题升级到xCode 7.一些Parse Frameworks没有完全正常工作。
我有这个警告:
$ b
紧急:所有位码将被丢弃,因为
'/ Users / [MY_USER] / Downloads / parse-starter-project -1 / ParseStarterProject / Parse.framework / Parse(PFMutableFileState.o)'
没有bitcode。您必须使用启用位元码
(Xcode设置ENABLE_BITCODE)重建它,从
供应商处获得更新的库,或者禁用此目标的位码。注意:这将是未来
的错误。
让我提醒一切在最新版本的Xcode 6
我想知道如何在XCODE 7中启用位码?
< img src =https://i.stack.imgur.com/VkI72.pngalt =在这里输入图片描述>
I'm developing with parse.com and i get this problem upgrading to xCode 7. Some Parse Frameworks are not fully working.
I've got this Warning :
URGENT: all bitcode will be dropped because '/Users/[MY_USER]/Downloads/parse-starter-project-1/ParseStarterProject/Parse.framework/Parse(PFMutableFileState.o)' was built without bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. Note: This will be an error in the future.
Let me remind that everything was working in the last version of Xcode 6
I would like to know how to ENABLE Bitcode in XCODE 7 ?
If you are using a third-party framework or library that was updated for iOS 9, and you don't want to include bitcode, then you should check to see if a version of the framework was provided without bitcode
. See Apple's note on when to include it in your app bundle:
For iOS apps, bitcode is the default, but optional. If you provide bitcode, all apps and frameworks in the app bundle need to include bitcode. For watchOS apps, bitcode is required.
To disable/enable bitcode
in your project, follow these steps:
- In the project build settings, make sure you have enabled All settings to be visible.
- The Build Options are the 4th section down. Select Yes or No for the
Enable Bitcode
option.
这篇关于如何在Xcode 7中使用ENABLE_BITCODE?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!