ios离线人脸识别编译就报错
fangtq66 发布于2020-02 浏览:2958 回复:4
1
收藏

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)

请问如何解决

收藏
点赞
1
个赞
共4条回复 最后由ghjgfghghg回复于2022-12
#5星星马梦龙回复于2021-05

不支持模拟器编译,换成真机就好了

0
#4J_Remains回复于2020-09

如何解决的,我也遇到了一样的问题。

0
#3星星马梦龙回复于2020-05

看问题是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

 

0
#2用户已被禁言回复于2020-02

具体是下载哪个SDK。自己的本地开发环境也说明一下。

问题明确描述建议百度云提交工单咨询。工单会有专人的客服对接到百度内部技术的。

1
TOP
切换版块