-fembed-bitcode is not supported on versions of iOS prior to 6.0问题

来源:互联网 发布:新点预算软件 编辑:程序博客网 时间:2024/04/28 22:21

问题很好解决

“Xcode 7 has a ENABLE_BITCODE option to embed bitcode in apps, app extensions, and frameworks. The option is turned on by default for iOS and is mandatory for watchOS projects submitted to the store. When bitcode is enabled for a target, all the objects, static libraries and user frameworks used when linking that target must contain bitcode. Otherwise, an error or a warning will be issued by the linker. (Note: missing bitcode is currently a warning for iOS, but it will become an error in an upcoming beta release of Xcode 7.) ENABLE_BITCODE should be consistently turned on for all the targets. If you use a library or framework provided by a third party, please contact the vendor for an updated version which contains bitcode.” Dear God, do we need to wait for all libs to update? :S

如果你没有打算去支持Apple Watch,把bitcode这个选项置为no就可以了
build setting里面搜索
在build setting 里面搜索bitcode ,把如图所示置为no
话说更新xcode7出现好多bitcode的坑啊。

0 0
原创粉丝点击