简体   繁体   English

6.0之前的iOS版本不支持-fembed-bitcode

[英]-fembed-bitcode is not supported on versions of iOS prior to 6.0

Recently i downloaded xcode 7 beta and facing the error: 最近我下载了xcode 7 beta并面临错误:

-fembed-bitcode is not supported on versions of iOS prior to 6.0 6.0之前的iOS版本不支持-fembed-bitcode

Is there any work around to fix this issue with out changing deployment target? 是否有任何解决方法可以解决此问题而无需更改部署目标?

Thanks in advance. 提前致谢。

Found this recently, which seems to imply that you need to enable bitcode for each framework. 最近发现这似乎意味着你需要为每个框架启用bitcode。

"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." “Xcode 7有一个ENABLE_BITCODE选项,可以在应用程序,应用程序扩展和框架中嵌入bitcode。默认情况下,该选项为iOS启用,对于提交给商店的watchOS项目是必需的。当为目标启用bitcode时,所有对象,链接该目标时使用的静态库和用户框架必须包含bitcode。否则,链接器将发出错误或警告。(注意:缺少bitcode目前是iOS的警告,但它将成为即将发生的错误Xcode 7的beta版本。)应始终为所有目标启用ENABLE_BITCODE。如果您使用第三方提供的库或框架,请联系供应商以获取包含bitcode的更新版本。“ Dear God, do we need to wait for all libs to update? 亲爱的上帝,我们需要等待所有的库更新吗? :S :S

Source ( link ) 来源( 链接

If you don't plan to support Apple Watch you can turn off the option by searching for BITCODE in the project and the target. 如果您不打算支持Apple Watch,可以通过在项目和目标中搜索BITCODE来关闭该选项。 Change the option to No. 将选项更改为否。

位码

I was trying to run the AudioModem code (set to target iOS 5.1) on an iOS 9.1 device. 我试图在iOS 9.1设备上运行AudioModem代码(设置为目标iOS 5.1)。 For me, simply changing the deployment target of the app to 9.0 (incredibly!) worked (somehow without introducing other errors?!). 对我来说,只需应用程序的部署目标更改为9.0(令人难以置信!)工作(不知何故没有引入其他错误?!)。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在iOS 9.3.2上运行具有部署目标5.1.1的应用程序时出错(6.0之前的iOS版本不支持-fembed-bitcode)。 - Error when running an app with deployment target 5.1.1 on iOS 9.3.2 (-fembed-bitcode is not supported on versions of iOS prior to 6.0.) iOS webrtc 框架的位码启用。 错误:-fembed-bitcode 不支持 -mllvm - Bitcode enable for iOS webrtc framework. Error: -mllvm is not supported with -fembed-bitcode `-fembed-bitcode`尝试归档应用程序时出错 - `-fembed-bitcode` Error when trying to archive app 如何检查xx.Framework / xx.lib的位码类型是`-fembed-bitcode`或`-fembed-bitcode-marker` - How to check the bitcode type of xx.Framework/xx.lib is `-fembed-bitcode` or `-fembed-bitcode-marker` iOS版本6.0之前的UICollectionView - UICollectionView on iOS versions prior to 6.0 使用带有-fembed-bitcode的configure&make构建C ++静态库无法链接 - Building C++ static libraries using configure & make with -fembed-bitcode fails to link 警告:属性不可用:6.0之前的iOS版本上的最小字体比例 - warning: Attribute Unavailable: Minimum Font Scale on iOS versions prior to 6.0 类不可用。 在6.0之前的iOS版本上无法使用取消同步功能 - Class Unavailable. Unwind segues are not available on iOS versions prior to 6.0 UIstoryboard:模态选择的“动画”选项在6.0之前的iOS版本上不可用 - UIstoryboard: Animates option for Modal segues is not available on iOS versions prior to 6.0 将应用程序升级到iOS 7 - 错误“iOS版本6.0之前的自动布局”(但希望iOS 7不旧) - Upgraded app to iOS 7 - error “Auto Layout on iOS Versions prior to 6.0” (but want iOS 7 not older)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM