Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Invalid bitcode signature on xcode [duplicate]

Tags:

xcode

bitcode

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?

like image 915
Oded Harth Avatar asked Apr 11 '17 13:04

Oded Harth


3 Answers

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:)

like image 81
Jack Avatar answered Nov 16 '22 13:11

Jack


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.

like image 41
Parth Adroja Avatar answered Nov 16 '22 13:11

Parth Adroja


Clean and then run the project will help.

like image 2
Anuraj Avatar answered Nov 16 '22 12:11

Anuraj