Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode build error linker command failed with exit code 1

Tags:

xcode

ios

unity3d

Build Unity project, add other libraries, Xcode return error. How fix it?

Screenshot

like image 663
Ihor Tovkach Avatar asked Mar 06 '17 11:03

Ihor Tovkach


3 Answers

Make sure you're opening the .xcworkspace and not the .xcproject file in Xcode. Close the project and open .xcworkspace

like image 171
Thiago Bueno Avatar answered Oct 17 '22 23:10

Thiago Bueno


Select your target and go to BuildSettings and Search for Enable Bitcode flag and set it to No.

like image 40
Bikshapathi Kumbala Avatar answered Oct 17 '22 23:10

Bikshapathi Kumbala


just try to clean the build (command + shift + k) and build (command + b) again.

like image 43
Jan sebastian Avatar answered Oct 18 '22 00:10

Jan sebastian