【解决方法】You must rebuild it with bitcode enabled (Xc

今天把xcode升级到7.0了,除了swift语法的一些问题,还有几个问题比较麻烦,其中一个就是包含标题的一个错误提示。

开发环境:Xcode 7.0 
开发语言:swift(引入了第三方的oc库) 
出现场景:

正常调试是没有问题的,但是在Archive的时候,报出了这个错误。

问题详情:

(null): URGENT: all bitcode will be dropped because ‘xxxx’ 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.

问题分析:

从上述的错误中应该可以看出,这是因为一个第三方的库不兼容,我的工程中开启了 ENABLE_BITCODE (应该是升级之后自动转换的),而这个第三方的库在编译的时候没有 enable bitcode,所以导致上诉问题。

解决方法:

应该是有两种吧,一种就是换成 enable bitcode 的第三方库,再有一种就是将工程的 ENABLE_BITCODE 设置为 false 就可以了。

因为我这里不太方便换库,所以,就把工程的设置给改了一下。

具体操作方法如下:

上面解决方法是把工程的设置给改了,但是改了之后有什么影响现在还没有发现。如果以后发现了会更新本文。

时间: 2024-08-03 18:57:15

【解决方法】You must rebuild it with bitcode enabled (Xc的相关文章

You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE)

这有一篇不错的文章关于 bitcode 的文章  iOS中Bitcode的介绍及配置(http://www.jianshu.com/p/3e1b4e2d06c6) 还有一篇文章可以解决类似错误,但是有待我自己验证(http://www.jianshu.com/p/fe4b3a981618) Xcode 7 运行项目报错: 错误1.  Undefined symbols for architecture armv7: "_compress2", referenced from: +[UM

Xcode7 *** does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE)

*** does not contain 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. for architecture armv7 未来Watch应用须包含Bitcode,iOS不强制,但Xcode7默认会开启Bitcod

iOS:*** does not contain 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. for architectu

Xcode7 报错: *** does not contain 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. for architecture armv7. 解决:项目中导入的静态库不支持bitcode,然而Xcode默认支

You must rebuild it with bitcode enabled (Xcodesetting ENABLE_BITCODE)

以前的项目 放到Xcode7中运行时可能会遇到以下错误:You must rebuild it with bitcode enabled (Xcodesetting ENABLE_BITCODE) 未来Watch应用须包含Bitcode,iOS不强制,但Xcode7默认会开启Bitcode. 如何适配? 方法一:更新library使包含Bitcode,否则会出现以下中的警告: 1 (null): URGENT: all bitcode will be dropped because '/User

Xcode, does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE) 解决办法

在Build Settings中找到Enable Bitcode项,设置为如下: 参考:http://blog.csdn.net/soindy/article/details/48519363

升级xcode7.0 第三方库不能用的解决方法(bitcode是什么鬼?)

链接地址:http://www.it165.net/pro/html/201509/54172.html 升级完xcode,真机运行发现报错,第三方库错误,微信SDK,高德SDK都报错,如下: view sourceprint? 1.‘/Users/**/Framework/SDKs/PolymerPay/Library/mobStat/lib**SDK.a(**ForSDK.o)’ does not contain bitcode. You must rebuild it with bitco

解决方法:配置群集时# gem install redis 报错:Unable to require openssl, install OpenSSL and rebuild ruby

问题:前面已经在/usr/local/src安装了ruby-2.3.0.tar.gz.rubygems-2.4.2.tar.gz.在配置 redis-3.1.1 群集中,使用gem install 安装 ruby redis 接口时报: [plain] view plain copy # [[email protected] src]# gem install redis --version 3.0.0 # # 由于源的原因,可能下载失败,就手动下载下来安装 [[email protected]

node-sass安装失败解决方法

报错信息: Missing binding E:\webstorm\notepad\notepad\node_modules\node-sass\vendor\win32-x64-46\binding.nodeNode Sass could not find a binding for your current environment: Windows 64-bit with Node.js 4.x Found bindings for the following environments: -

Android Studio 找不到R文件解决方法汇总

一.新建的Activity中R文件找不到,其他文件中的R文件可以正常使用. 解决方法: 在该Activity中引入R包即可:import com.example.zcj.password.R; 在子目录下新建Activity文件都会出现这个问题,可以通过设置自动导入包:File-Settings-Editor-General-Auto Import,将Optimize imports on the fly和Add unambiguous imports on the fly勾选即可. 二.新导入