xcode 上的位码签名无效

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/43346793/
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-08 18:25:19  来源:igfitidea点击:

Invalid bitcode signature on xcode

xcodebitcode

提问by Oded Harth

After updating Xcode to version 8.3 I'm getting this error:

将 Xcode 更新到 8.3 版后,我收到此错误:

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

Bitcode is not even enabled on my project.

我的项目甚至没有启用 Bitcode。

How can I fix this?

我怎样才能解决这个问题?

回答by Hyman

Try some tricks ->

尝试一些技巧->

  • Clear derived data & reopen xcode.

  • Select proper sign in / certificate, or try to re add account in xcode

  • Make sure if your pods supported bitcode if not then you need to set bitcode to NO (Go to Project Build setting search for bitcode & set it to NO.

  • 清除派生数据并重新打开 xcode。

  • 选择正确的登录/证书,或尝试重新添加帐户 xcode

  • 确保您的 Pod 是否支持 bitcode,否则您需要将 bitcode 设置为 NO(转到 Project Build 设置搜索 bitcode 并将其设置为 NO。

Hope it will helpful:)

希望它会有所帮助:)

回答by Parth Adroja

There might be the issues with some third party libraries. I have faced such issues a few days earlier and did following things.

某些第三方库可能存在问题。几天前我遇到过这样的问题,并做了以下事情。

  1. Update pod using pod update
  2. Restart Xcode
  3. Clean Project and Build.
  1. 使用更新 pod pod update
  2. 重启Xcode
  3. 清理项目并构建。

If this don't solve the issues please share the podfile so I can know which pods are you using that might cause the problem.

如果这不能解决问题,请共享 podfile,以便我知道您正在使用哪些可能导致问题的 pod。

回答by Anuraj

Clean and then run the project will help.

清理然后运行项目会有所帮助。