Getting frameworks(GoogleMobileVision/FirebaseMLCo

2019-08-28 10:00发布

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

2条回答
贼婆χ
2楼-- · 2019-08-28 10:15

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

查看更多
虎瘦雄心在
3楼-- · 2019-08-28 10:28

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

查看更多
登录 后发表回答