Thursday, March 2, 2017

Xcode & Undefined Symbols for Architecture x86_64


Greetings to all,


Compiling a cef cocoa project that includes c and c++ code.
This error mentioned below is very common.


Solution :
  • Ensure that Base SDK is set to Latest under Target's Build Settings.
  • Check The Other Linker Flags under Target's Build Settings. Remove any header or library inclusion from here.
  • Add $(inherited) in Other Linker Flag.
  • Check Target membership of the Files.
  • Check Link Binary with Library. You might need to add the required framework.






Hope you guys find it helpful :)

No comments:

Post a Comment