Getting frameworks(GoogleMobileVision/FirebaseMLCommon) issue when integrate firebase SDK without using Cocoa pods

喜欢而已 提交于 2019-12-11 18:26:02

问题


Getting below error when adding firebase SDK in app:

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 version: 10.1 Firebase SDK version: 5.20.2 Firebase Component: ML Kit (text recognition) Component version:

Any help is appreciated. Thanks


回答1:


Similar answer as https://stackoverflow.com/a/55750927/556617 - Add LocalAuthentication.framework instead of libc++ to the Link Binary with Libraries Build Phase.




回答2:


Why don't u install CocoaPods?

pod setup

as a sequence,

pod repo update

RefURL: https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/INSTALLATION.md#cocoapods



来源:https://stackoverflow.com/questions/55771201/getting-frameworksgooglemobilevision-firebasemlcommon-issue-when-integrate-fir

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!