Я хотел заменить библиотеку Google.Plus из существующего приложения библиотекой Xamarin.Google.iOS.SignIn, используя Google Sign-In для iOS (https://components.xamarin.com/view/googleiossignin).Добавление Xamarin.Google.iOS.SignIn приводит к ошибке встроенного связывания (MT5209)
Однако ... при добавлении его и заменить старый код с новым (немного другой код), что приводит к ошибке компиляции:
/projectdir/MTOUCH: Error MT5209: Native linking error: file not found: /projectdir/obj/iPhoneSimulator/Debug/mtouch-cache/libOpenInChrome.a (MT5209) (Immo.Vlan.Touch)
/projectdir/MTOUCH: Error MT5202: Native linking failed. Please review the build log. (MT5202) (Immo.Vlan.Touch)
Вот соответствующая часть из журнала сборки:
MTOUCH: warning MT1302: Could not extract the native library 'libOpenInChrome.a' from '/projectdir/obj/iPhoneSimulator/Debug/mtouch-cache/libOpenInChrome.a'. Please ensure the native library was properly embedded in the managed assembly (if the assembly was built using a binding project, the native library must be included in the project, and its Build Action must be 'ObjcBindingNativeLibrary').
MTOUCH: warning MT1302: Could not extract the native library 'libGTMOAuth2_external.a' from '/projectdir/obj/iPhoneSimulator/Debug/mtouch-cache/libGTMOAuth2_external.a'. Please ensure the native library was properly embedded in the managed assembly (if the assembly was built using a binding project, the native library must be included in the project, and its Build Action must be 'ObjcBindingNativeLibrary').
MTOUCH: warning MT1302: Could not extract the native library 'libGTMOAuth2_internal.a' from '/projectdir/obj/iPhoneSimulator/Debug/mtouch-cache/libGTMOAuth2_internal.a'. Please ensure the native library was properly embedded in the managed assembly (if the assembly was built using a binding project, the native library must be included in the project, and its Build Action must be 'ObjcBindingNativeLibrary').
MTOUCH: warning MT1302: Could not extract the native library 'libSignIn.a' from '/projectdir/obj/iPhoneSimulator/Debug/mtouch-cache/libSignIn.a'. Please ensure the native library was properly embedded in the managed assembly (if the assembly was built using a binding project, the native library must be included in the project, and its Build Action must be 'ObjcBindingNativeLibrary').
MTOUCH: warning MT1302: Could not extract the native library 'libGIPNSURL+FIFE.a' from '/projectdir/obj/iPhoneSimulator/Debug/mtouch-cache/libGIPNSURL+FIFE.a'. Please ensure the native library was properly embedded in the managed assembly (if the assembly was built using a binding project, the native library must be included in the project, and its Build Action must be 'ObjcBindingNativeLibrary').
MTOUCH: warning MT1302: Could not extract the native library 'libGTM_AddressBook.a' from '/projectdir/obj/iPhoneSimulator/Debug/mtouch-cache/libGTM_AddressBook.a'. Please ensure the native library was properly embedded in the managed assembly (if the assembly was built using a binding project, the native library must be included in the project, and its Build Action must be 'ObjcBindingNativeLibrary').
MTOUCH: warning MT1302: Could not extract the native library 'libGTM_core.a' from '/projectdir/obj/iPhoneSimulator/Debug/mtouch-cache/libGTM_core.a'. Please ensure the native library was properly embedded in the managed assembly (if the assembly was built using a binding project, the native library must be included in the project, and its Build Action must be 'ObjcBindingNativeLibrary').
MTOUCH: warning MT1302: Could not extract the native library 'libGTM_DebugUtils.a' from '/projectdir/obj/iPhoneSimulator/Debug/mtouch-cache/libGTM_DebugUtils.a'. Please ensure the native library was properly embedded in the managed assembly (if the assembly was built using a binding project, the native library must be included in the project, and its Build Action must be 'ObjcBindingNativeLibrary').
MTOUCH: warning MT1302: Could not extract the native library 'libGTM_GTMURLBuilder.a' from '/projectdir/obj/iPhoneSimulator/Debug/mtouch-cache/libGTM_GTMURLBuilder.a'. Please ensure the native library was properly embedded in the managed assembly (if the assembly was built using a binding project, the native library must be included in the project, and its Build Action must be 'ObjcBindingNativeLibrary').
MTOUCH: warning MT1302: Could not extract the native library 'libGTM_iPhone.a' from '/projectdir/obj/iPhoneSimulator/Debug/mtouch-cache/libGTM_iPhone.a'. Please ensure the native library was properly embedded in the managed assembly (if the assembly was built using a binding project, the native library must be included in the project, and its Build Action must be 'ObjcBindingNativeLibrary').
MTOUCH: warning MT1302: Could not extract the native library 'libGTM_KVO.a' from '/projectdir/obj/iPhoneSimulator/Debug/mtouch-cache/libGTM_KVO.a'. Please ensure the native library was properly embedded in the managed assembly (if the assembly was built using a binding project, the native library must be included in the project, and its Build Action must be 'ObjcBindingNativeLibrary').
MTOUCH: warning MT1302: Could not extract the native library 'libGTM_NSData+zlib.a' from '/projectdir/obj/iPhoneSimulator/Debug/mtouch-cache/libGTM_NSData+zlib.a'. Please ensure the native library was properly embedded in the managed assembly (if the assembly was built using a binding project, the native library must be included in the project, and its Build Action must be 'ObjcBindingNativeLibrary').
MTOUCH: warning MT1302: Could not extract the native library 'libGTM_NSDictionary+URLArguments.a' from '/projectdir/obj/iPhoneSimulator/Debug/mtouch-cache/libGTM_NSDictionary+URLArguments.a'. Please ensure the native library was properly embedded in the managed assembly (if the assembly was built using a binding project, the native library must be included in the project, and its Build Action must be 'ObjcBindingNativeLibrary').
Любые предложения о том, как справиться с этим?
Niels
FWIW У меня такая же проблема, но я получил пакет от NuGet. Xamarin.Google.iOS.Core и SignIn. –
У меня проблема с аналогичной проблемой с использованием обновленной версии Google Analytics. Я также получил его от NuGet. Любые обновления? Найти решение еще? – clarky