ios - 在不使用 Cocoa pod 的情况下集成 firebase SDK 时获取框架(GoogleMobileVision/FirebaseMLCommon)问题

标签 ios firebase firebase-mlkit xcode10.1

在应用中添加 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/

相关文章:

angular - 从 Firebase 数据库获取数据时出错

ios - CocoaPods pod 安装。无法导入模块

java - 多次初始化 FirebaseDatabase.getInstance() 是否会影响性能?

objective-c - 以编程方式设置 NSIndexPath

firebase - 了解 Firebase orderByChild

android - 尝试添加 firebase ml 视觉图像标签模型时 Gradle 同步失败

android - 在Android中实现人脸识别

android - Firebase ML 套件给出 FirebaseMLException : Waiting for the text recognition model to be downloaded. 请稍候

objective-c - 在 AVAssetReader 中设置时间范围会导致卡住

objective-c - MPMoviePlayerController mp4 文件流