每次我从CocoaPods导入文件时,我都会得到一个Apple Mach-O链接器错误。
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_FBSession", referenced from: someFile
ld: symbol(s) not found for architecture arm64
我有大约12个这样的耳机,用于我使用的各种pod。
我试图使用XCode 5为iPhone 5S构建。
我一直在尝试各种解决方案这里所以,但还没有得到任何工作。
我如何解决这个苹果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