建筑符號64每次從CocoaPods導入文件時,我都會得到一個Apple Mach-O鏈接錯誤。Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_FBSession", referenced from: someFile
ld: symbol(s) not found for architecture arm64我得到了其中的12個,用于我使用的各種口袋妖怪。我正在嘗試使用XCode 5為iPhone5S構建。我在這里嘗試過各種各樣的解決方案,但至今還沒有任何解決方案。如何修復這個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
3 回答

aluckdog
TA貢獻1847條經驗 獲得超7個贊

慕沐林林
TA貢獻2016條經驗 獲得超9個贊
AVPictureInPictureController
Undefined symbols for architecture armv7: "_OBJC_CLASS_$_AVPictureInPictureController", referenced from: objc-class-ref in yourTarget.a(yourObject.o)ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)
解決辦法:
去你的 工程項目
選擇 目標
然后,去 構建階段
打開 鏈接二進制與圖書館
最后,只需添加 +
這個 AVKIT 框架
/任何其他 框架.
- 3 回答
- 0 關注
- 503 瀏覽
添加回答
舉報
0/150
提交
取消