Invalid bitcode signature on xcode [duplicate]

ⅰ亾dé卋堺 提交于 2019-11-27 13:26:42

问题


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

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.

How can I fix this?


回答1:


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.

Hope it will helpful:)




回答2:


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.

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.




回答3:


Clean and then run the project will help.



来源:https://stackoverflow.com/questions/43346793/invalid-bitcode-signature-on-xcode

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!