简体   繁体   English

由于Arm64和Armv7,构建失败?

[英]Build failed due to Arm64 and Armv7?

I tried to add Firebase to my iOS application, and before I added it, everything worked. 我尝试将Firebase添加到我的iOS应用程序中,然后添加它,一切正常。 Afterwords I keep getting just one error, claiming to build failed. 后记我一直只得到一个错误,声称构建失败。 "Linker command failed with exit code 1 (use -v to see)". “链接器命令失败,退出代码为1(使用-v查看)”。 So I opened up terminal and used verbose to see the build issues. 因此,我打开了终端,并使用了详细信息来查看构建问题。 This is what Terminal gave me. 这就是Terminal给我的。

The following build commands failed:
Ld build/Swiffshot.build/Release-iphoneos/Swiffshot.build/Objects-normal/arm64/Swiffshot normal arm64
Ld build/Swiffshot.build/Release-iphoneos/Swiffshot.build/Objects-normal/armv7/Swiffshot normal armv7
(2 failures)

I've never seen this error before. 我以前从未见过此错误。 I've updated all the cocoapods, everything worked prior to adding Firebase... Just not sure what is going on. 我已经更新了所有的cocoapod,在添加Firebase之前一切正常……只是不确定发生了什么。 Any help would be greatly appreciated. 任何帮助将不胜感激。

Currently using Swift and Xcode, for reference. 当前使用Swift和Xcode,以供参考。

在此处输入图片说明 Changing "Enable Bitcode" to "No" works for me 将“启用位码”更改为“否”对我有用

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM