d: warning: ignoring file /Users/xxx/FaceSDK/IDLFaceSDK.framework/IDLFaceSDK, missing required architecture x86_64 in file /Users/xxx/FaceSDK/IDLFaceSDK.framework/IDLFaceSDK (2 slices)
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_IDLFaceDetectionManager", referenced from:
objc-class-ref in DetectionViewController.o
"_OBJC_CLASS_$_IDLFaceLivenessManager", referenced from:
objc-class-ref in LivenessViewController.o
"_OBJC_CLASS_$_FaceVerifier", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_FaceSDKManager", referenced from:
objc-class-ref in ViewController-f9a413bb7003a0136b12ef6668c6b2e93f2c1c88488c142dc4df7eef0c32d27b.o
objc-class-ref in AppDelegate.o
objc-class-ref in FaceBaseViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
请问如何解决
不支持模拟器编译,换成真机就好了
如何解决的,我也遇到了一样的问题。
看问题是iOS人脸采集SDK基础版,不知道为什么,demo里的文件按照文档操作导入自己的项目后,就会出现这个问题。
IDLFaceSDK.framework、com.baidu.idl.face.faceSDK.bundle、com.baidu.idl.face.model.bundle、license文件这四个都加入了,但是还是报错
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_FaceSDKManager", referenced from:
objc-class-ref in FaceBaseViewController.o
"_OBJC_CLASS_$_IDLFaceDetectionManager", referenced from:
objc-class-ref in DetectionViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Undefined symbol: _OBJC_CLASS_$_FaceSDKManager
Undefined symbol: _OBJC_CLASS_$_IDLFaceDetectionManager
具体是下载哪个SDK。自己的本地开发环境也说明一下。
问题明确描述建议百度云提交工单咨询。工单会有专人的客服对接到百度内部技术的。