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