每次从CocoaPods导入文件时,我都会收到Apple Mach-O链接器错误.
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_FBSession", referenced from: someFile
ld: symbol(s) not found for architecture arm64
Run Code Online (Sandbox Code Playgroud)
对于我使用的各种Pod,我得到了大约12个.
我正在尝试使用XCode 5为iPhone 5S构建.
我一直在尝试使用SO的各种解决方案,但还没有任何解决方案.
如何修复Apple Mach-O链接器错误?
刚发现另一个可能有趣的警告,我希望这能引导我找到解决方案:
Ignoring file ~/Library/Developer/Xcode/DerivedData/SomeApp/Build/Products/Debug-iphoneos/libPods.a,
Run Code Online (Sandbox Code Playgroud)
file was built for archive which is not the architecture being linked (arm64):~/Library/Developer/Xcode/DerivedData/someApp/Build/Products/Debug-iphoneos/libPods.a