我正在尝试将 Firebase 添加到我的项目中,尤其是他们的条形码阅读器框架(Vision)。我已按照以下说明进行操作:
https://www.mokacoding.com/blog/setting-up-firebase-without-cocoapods/
我已经添加了包含我想要的文件夹 - MLVision以及那里的所有框架。我已经导入了头文件,在我的主文件中也导入了 @import Firebase 和 @import GoogleMobileVision。
问题是尝试运行我的项目时出现以下错误:
Undefined symbols for architecture arm64:
"_kFIRLoggerMLKit", referenced from:
_FIRMLKitLog in FirebaseMLCommon(FIRMLKitLogger_1ae3a68aef0eb3884b887b653b700305.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
任何想法如何解决这个问题?提前致谢。