我目前正在尝试将一个Unitu+Vuforia输出项目嵌入到当前的本地快速iOS项目中。我跟着这个文章很好,但是在最后的构建部分,这些错误会弹出:
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_PHImageManager", referenced from:
objc-class-ref in NativeGallery.o
"_OBJC_CLASS_$_PHImageRequestOptions", referenced from:
objc-class-ref in NativeGallery.o
"_OBJC_CLASS_$_PHAssetCollection", referenced from:
objc-class-ref in NativeGallery.o
"_OBJC_CLASS_$_PHFetchOptions", referenced from:
objc-class-ref in NativeGallery.o
"_OBJC_CLASS_$_PHAssetCollectionChangeRequest", referenced from:
objc-class-ref in NativeGallery.o
"_kUTTypeMovie", referenced from:
+[UNativeGallery pickMedia:savePath:] in NativeGallery.o
"_OBJC_CLASS_$_PHAssetChangeRequest", referenced from:
objc-class-ref in NativeGallery.o
"_OBJC_CLASS_$_PHPhotoLibrary", referenced from:
objc-class-ref in NativeGallery.o
"_OBJC_CLASS_$_PHAsset", referenced from:
objc-class-ref in NativeGallery.o
"_kUTTypeImage", referenced from:
+[UNativeGallery pickMedia:savePath:] in NativeGallery.o
+[UNativeGallery imagePickerController:didFinishPickingMediaWithInfo:] in NativeGallery.o
"_kUTTypeVideo", referenced from:
+[UNativeGallery pickMedia:savePath:] in NativeGallery.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我已经检查了所提供的链接,并试图自己修复它(尝试过清理、放弃Xcode、重新链接编译源以及读取/构建统一并不有效)。没有结果。有人知道怎么修吗?统一版本:2018.4.12f1与统一中心。Xcode版本:11.3(11C29)。
P.S:如果有人有一个很好的教程/示例,说明如何使用Vuforia SDK进行本地IOS Xcode会很好,因为我不介意将项目更改为完全本机。
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。