1:undefined Symbols for Architecture arm64:
?
1 2 3 |
<code>undefined symbols
for architecture arm64:
"_objc_class_$_fbsession"
, referenced from:somefile ld:symbol (s) not found
for architecture arm64</code> |
Solution:
Project, Target (your project name), build settings and change architectures to standard architectures (ARMV7, a rmv7s), and valid architectures to ARMV7, armv7s.
Reference: http://stackoverflow.com/questions/19213782/undefined-symbols-for-architecture-arm64
2:no architectures to compile for (ARCHS=ARM6 ARM7, VALID_ARCHS=ARMV7)
Solve:
-
Go Project Target > Build Settings > Architectures
to Delete whatever you see there, and then add these rows one by one:
ARMv6 armv7
There was no ' save ' buttons there, so what I do, was adding another blank row, pressing ENTER, removing it, and then Clicki Ng out somewhere else, so the I make sure I has both of them added:
- Now go to the Appname-info.plist file, and look for the key "Require device capabilities" and delete it all. Reference: HTTP://STACKOVERFLOW.COM/QUESTIONS/10005896/NO-ARCHITECTURES-TO-COMPILE-FOR-ARCHS-ARM6-ARM7-VALID-ARCHS-ARMV7