建筑符号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 关注
- 464 浏览
添加回答
举报
0/150
提交
取消