xcode - 无效的bitcode [英] xcode - invalid bitcode

查看:333
本文介绍了xcode - 无效的bitcode的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到此错误


错误:无效的bitcode签名

error: Invalid bitcode signature

clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)

clang: error: linker command failed with exit code 1 (use -v to see invocation)

我正在使用cocoapods而且我有验证了所有启用bitcode匹配,我已经尝试了启用bitcode字段的所有选项Yes,No和$ {inherited}。

I am using cocoapods and I have verified that all enable bitcodes match, I've tried all options Yes, No and ${inherited} for the enable bitcode field.

不确定如何进一步调试,如何使用-v选项/将为我提供更多信息。

Not sure how to debug this further, how to I use the -v option / will that even give me more information.

一些背景,我正在将两个代码库合并到iPhone和iPad上,这样它就是一个通用的应用程序。

Some back ground, I'm merging two code bases together iPhone and iPad so that it's a universal app.

推荐答案

在我的项目中,我通过将所有Bitcode enabled选项设置为No来修复此问题。这包括工作区中的所有目标和所有项目(主项目,Cocoa Pod项目)。

In my project I fixed this by setting all "Bitcode enabled" options to "No". That includes all targets and all projects in the workspace (main project, Cocoa Pod project).

这篇关于xcode - 无效的bitcode的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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