Undefined symbols for architecture arm64:"_OBJC_CLASS_$_FBSession", referenced from: someFile
ld: symbol(s)not found for architecture arm64
解决:
project -> target (your project name) -> build settings and change architectures to standard architectures (armv7, armv7s), and valid architectures to armv7, armv7s.
Go to Project Target > Build Settings > Architectures Delete whatever you see there, and then add these rows one by one:
armv6 armv7
There are no 'save' buttons there, so what I do, is adding another blank row, pressing enter, removing it, and then clicking out somewhere else, so that I make sure I have both of them added:
Now go to the AppName-Info.plist file, and look for the key "Require device capabilities" and delete it all.
开始做个记录,逐渐添加~1:Undefined symbols for architecture arm64:Undefined symbols for architecture arm64: "_OBJC_CLASS_$_FBSession", referenced from: someFileld: symbol(s) not found for archit