在应用中添加 Firebase SDK 时出现以下错误:
Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_LAContext", referenced from: objc-class-ref in FirebaseMLCommon(MDMPasscodeCache_ac345e06741a76a3aefe61adde149175.o)
objc-class-ref in GoogleMobileVision ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Xcode 版本:10.1 Firebase SDK 版本:5.20.2 Firebase 组件:机器学习套件(文本识别) 组件版本:
感谢任何帮助。谢谢
最佳答案
与https://stackoverflow.com/a/55750927/556617 类似的答案- 将 LocalAuthentication.framework 而不是 libc++ 添加到 Link Binary with Libraries
构建阶段。
关于ios - 在不使用 Cocoa pod 的情况下集成 firebase SDK 时获取框架(GoogleMobileVision/FirebaseMLCommon)问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55771201/