启用位码Xcode 7.1 [英] Enable bitcode Xcode 7.1

查看:118
本文介绍了启用位码Xcode 7.1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在为iOS9构建应用程序时,我在XCode 7.1中出现此错误:(...)MyoKit(TLMHub.o)'不包含位码。您必须在启用位码(Xcode设置ENABLE_BITCODE)的情况下重建它,从供应商处获取更新的库,或禁用此目标的位码。对于体系结构arm64
clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)

I'm having this error in XCode 7.1 when building the application for iOS9: (...) MyoKit(TLMHub.o)' 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 arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

为仿真构建应用程序时,它

When building the application for the simulation, it works.

我一直在搜索,但找不到启用位码的选项。有想法吗?

I've been searching and I can't find an option to enable bitcode. Any ideas?

推荐答案

在项目浏览器中,选择您的项目:

In project Navigator, select your project:

然后选择您的项目,单击生成设置,然后搜索位码,然后将BitCode设置为YES。

And then Select your project,click on build settings, and search for bitcode,and set BitCode to YES.

请确保点击所有选项代替基本。

这篇关于启用位码Xcode 7.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆