xcode 无法生成位码包,因为 iOS 图表

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/34666247/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 08:23:51  来源:igfitidea点击:

bitcode bundle could not be generated because iOS Charts

iosxcodeios-chartsbitcode

提问by Alexander Khitev

I make app with 3d library iOS-Charts. But I get the error bitcode bundle could not be generated because was built without full bitcode.from today widget. I installed it with help Carthage and I did all the instructions. I do not know how can I fix it? I made the following screenshot from today widget target. enter image description here

我使用 3d 库iOS-Charts制作应用程序。但是我收到错误bitcode bundle 无法生成,因为它是在没有完整 bitcode 的情况下构建的。从今天小部件。我在 Carthage 的帮助下安装了它,并完成了所有说明。我不知道我该如何解决?我从今天的小部件目标制作了以下屏幕截图。 在此处输入图片说明

采纳答案by David Cheung

Please check this SO thread and see if adding the -fembed-bitcode flag in build settings works for you.

请检查此 SO 线程,看看在构建设置中添加 -fembed-bitcode 标志是否适合您。

iOS library to BitCode

iOS 库到 BitCode

回答by Tharoth

Please try to change Enable Bitcode to No in Build Settings.

请尝试在 Build Settings 中将 Enable Bitcode 更改为 No。

enter image description here

在此处输入图片说明