xamarin / GoogleApisForiOSComponents

MIT License
225 stars 161 forks source link

Xamarin.Firebase.iOS.MLKit.Vision: Native linking errors #430

Open Yuliya-Fedorenko opened 4 years ago

Yuliya-Fedorenko commented 4 years ago

Hi, we are trying to use Xamarin.Firebase.iOS.MLKit.Vision v0.19.0 in our XamarinForms(v4.6.0) project, but recieve linking errors during build: MTOUCH : error MT5210: Native linking failed, undefined symbol: _kAPMAnalyticsConfiguration. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. MTOUCH : error MT5210: Native linking failed, undefined symbol: _kAPMAppMeasurementOriginFirebase. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. MTOUCH : error MT5210: Native linking failed, undefined symbol: _kAPMIsAnalyticsCollectionDeactivated. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. MTOUCH : error MT5210: Native linking failed, undefined symbol: _kAPMIsAnalyticsCollectionEnabled. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. MTOUCH : error MT5210: Native linking failed, undefined symbol: _kAPMMonitorLogTagOptionKey. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. MTOUCH : error MT5210: Native linking failed, undefined symbol: _kAPMSafelistedEventsOptionKey. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. MTOUCH : error MT5210: Native linking failed, undefined symbol: _kFIRLoggerMessaging. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. MTOUCH : error MT5201: Native linking failed. Please review the build log and the user flags provided to gcc: -ObjC -ObjC -lc++ -lsqlite3 -lz -ObjC -lc++ -lsqlite3 -lz -ObjC -lc++ -lsqlite3 -lz -ObjC -lc++ -lsqlite3 -lz -lc++ -ObjC -ObjC -lc++ -ObjC -lc++ -ObjC -lc++ -ObjC -lc++ -ObjC -lc++ -ObjC -lc++ clang : error : linker command failed with exit code 1 (use -v to see invocation)

Could you please advice?

Using the following setup: Visual Studio Professional 2019 for Mac 8.6.8 Mono 6.10.0.106 (2019-12/77769615db1) (64-bit) Xcode 11.6 (16141) Build 11E708 Xamarin.Mac Version: 6.18.3.2 Xamarin.iOS : 13.18.3.2 Mac OS X 10.15.6 MlKit.Vision errors.txt

sriganesh040194 commented 4 years ago

I updated to the latest version today and had the same error. I spent the whole day trying to figure out the problem, but couldn't.

If you are using Firebase.IOS.Analytics/Core Or MLKit(in your case), try downgrading all the packages to the previous version.

claudioredi commented 3 years ago

Have you ever resolved this or you just downgraded? I'm getting the exact same set of errors.

thanoue commented 2 years ago

anyone resolved this??/