MT5212:本机链接失败,重复符号:"_ OBJC_IVAR _ $ _ FIRInstanceID._tokenManager" [英] MT5212: Native linking failed, duplicate symbol: '_OBJC_IVAR_$_FIRInstanceID._tokenManager'

查看:94
本文介绍了MT5212:本机链接失败,重复符号:"_ OBJC_IVAR _ $ _ FIRInstanceID._tokenManager"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过绑定本机目标c库创建了iOS.dll文件.直到现在一切正常为止,xamarin ios应用程序也可以正常运行.现在,我在本机目标c库中添加了Firebase框架(Firebase Auth,Database,Analytics,InstanceID)以使用Firebase服务,并以与以前使用xamarin iOS相同的方式创建了绑定.但是,当我包含Firebase NuGet软件包以实现Firebase推送通知时,xamarin iOS示例应用程序中遇到以下错误.

I have created iOS.dll file by binding the native objective c library. Untill now everything worked fine the xamarin ios app also worked fine. Now I have added Firebase frameworks (Firebase Auth, Database, Analytics, InstanceID) in my native objective c library to use firebase services and created the binding the same way I used to do before with xamarin iOS. However I am facing below error in xamarin iOS sample app when I include Firebase NuGet packages to implement firebase push notification.

在制作.dll时是否有任何方法可以消除这些错误,或者有什么方法可以删除或忽略引用?

Is there is any way to get rid of these errors or any way to remove or neglect the reference while making .dll

clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)

clang : error : linker command failed with exit code 1 (use -v to see invocation)

MTOUCH:错误MT5212:本机链接失败,重复符号:"_ OBJC_IVAR _ $ _ FIRInstanceID._tokenManager".

MTOUCH : error MT5212: Native linking failed, duplicate symbol: '_OBJC_IVAR_$_FIRInstanceID._tokenManager'.

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceID_b1d502cebbd0a4f0a056073f0d .o)(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceID_b1d502cebbd0a4f0a056073f0df0e3c0.o) (Location related to previous error)

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceID_b1d502cebbd0a4f0a056073f0df0e3 )(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceID_b1d502cebbd0a4f0a056073f0df0e3c0.o) (Location related to previous error)

MTOUCH:错误MT5212:本机链接失败,重复符号:"_ kFIRInstanceIDTokenRefreshNotification".

MTOUCH : error MT5212: Native linking failed, duplicate symbol: '_kFIRInstanceIDTokenRefreshNotification'.

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceID_b1d502cebbd0a4f0a056073f0d .o)(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceID_b1d502cebbd0a4f0a056073f0df0e3c0.o) (Location related to previous error)

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceID_b1d502cebbd0a4f0a056073f0df0e3 )(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceID_b1d502cebbd0a4f0a056073f0df0e3c0.o) (Location related to previous error)

MTOUCH:错误MT5212:本机链接失败,重复符号:'_OBJC_IVAR _ $ _ FIRInstanceID._retryCountForDefaultToken'.

MTOUCH : error MT5212: Native linking failed, duplicate symbol: '_OBJC_IVAR_$_FIRInstanceID._retryCountForDefaultToken'.

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceID_b1d502cebbd0a4f0a056073f0d .o)(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceID_b1d502cebbd0a4f0a056073f0df0e3c0.o) (Location related to previous error)

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceID_b1d502cebbd0a4f0a056073f0df0e3 )(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceID_b1d502cebbd0a4f0a056073f0df0e3c0.o) (Location related to previous error)

MTOUCH:错误MT5212:本机链接失败,重复符号:"_ OBJC_IVAR _ $ _ FIRInstanceID._isFetchingDefaultToken".

MTOUCH : error MT5212: Native linking failed, duplicate symbol: '_OBJC_IVAR_$_FIRInstanceID._isFetchingDefaultToken'.

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceID_b1d502cebbd0a4f0a056073f0d .o)(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceID_b1d502cebbd0a4f0a056073f0df0e3c0.o) (Location related to previous error)

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceID_b1d502cebbd0a4f0a056073f0df0e3 )(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceID_b1d502cebbd0a4f0a056073f0df0e3c0.o) (Location related to previous error)

MTOUCH:错误MT5212:本机链接失败,重复符号:"_ OBJC_IVAR _ $ _ FIRInstanceID._defaultFCMToken".

MTOUCH : error MT5212: Native linking failed, duplicate symbol: '_OBJC_IVAR_$_FIRInstanceID._defaultFCMToken'.

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceID_b1d502cebbd0a4f0a056073f0d .o)(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceID_b1d502cebbd0a4f0a056073f0df0e3c0.o) (Location related to previous error)

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceID_b1d502cebbd0a4f0a056073f0df0e3 )(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceID_b1d502cebbd0a4f0a056073f0df0e3c0.o) (Location related to previous error)

MTOUCH:错误MT5212:本机链接失败,重复符号:'_OBJC_IVAR _ $ _ FIRInstanceID._retryCountForCheckinRefresh'.

MTOUCH : error MT5212: Native linking failed, duplicate symbol: '_OBJC_IVAR_$_FIRInstanceID._retryCountForCheckinRefresh'.

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceID_b1d502cebbd0a4f0a056073f0d .o)(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceID_b1d502cebbd0a4f0a056073f0df0e3c0.o) (Location related to previous error)

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceID_b1d502cebbd0a4f0a056073f0df0e3 )(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceID_b1d502cebbd0a4f0a056073f0df0e3c0.o) (Location related to previous error)

MTOUCH:错误MT5212:本机链接失败,重复符号:"_ OBJC_IVAR _ $ _ FIRInstanceID._APNSTupleString".

MTOUCH : error MT5212: Native linking failed, duplicate symbol: '_OBJC_IVAR_$_FIRInstanceID._APNSTupleString'.

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceID_b1d502cebbd0a4f0a056073f0d .o)(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceID_b1d502cebbd0a4f0a056073f0df0e3c0.o) (Location related to previous error)

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceID_b1d502cebbd0a4f0a056073f0df0e3 )(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceID_b1d502cebbd0a4f0a056073f0df0e3c0.o) (Location related to previous error)

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAPNSInfo_3577655e8a036dca71b8fd8585 .o)(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAPNSInfo_3577655e8a036dca71b8fd8585feb607.o) (Location related to previous error)

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAPNSInfo_3577655e8a036dca71b8fd8585feb607. )(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAPNSInfo_3577655e8a036dca71b8fd8585feb607.o) (Location related to previous error)

MTOUCH:错误MT5212:本机链接失败,重复符号:"_ OBJC_METACLASS _ $ _ FIRInstanceIDAPNSInfo".

MTOUCH : error MT5212: Native linking failed, duplicate symbol: '_OBJC_METACLASS_$_FIRInstanceIDAPNSInfo'.

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAPNSInfo_3577655e8a036dca71b8fd8585 .o)(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAPNSInfo_3577655e8a036dca71b8fd8585feb607.o) (Location related to previous error)

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAPNSInfo_3577655e8a036dca71b8fd8585feb607. )(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAPNSInfo_3577655e8a036dca71b8fd8585feb607.o) (Location related to previous error)

MTOUCH:错误MT5212:本机链接失败,重复符号:"_ OBJC_IVAR _ $ _ FIRInstanceIDAPNSInfo._deviceToken".

MTOUCH : error MT5212: Native linking failed, duplicate symbol: '_OBJC_IVAR_$_FIRInstanceIDAPNSInfo._deviceToken'.

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAPNSInfo_3577655e8a036dca71b8fd8585 .o)(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAPNSInfo_3577655e8a036dca71b8fd8585feb607.o) (Location related to previous error)

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAPNSInfo_3577655e8a036dca71b8fd8585feb607. )(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAPNSInfo_3577655e8a036dca71b8fd8585feb607.o) (Location related to previous error)

MTOUCH:错误MT5212:本机链接失败,重复符号:'_OBJC_IVAR _ $ _ FIRInstanceIDAuthKeychainItem._account'.

MTOUCH : error MT5212: Native linking failed, duplicate symbol: '_OBJC_IVAR_$_FIRInstanceIDAuthKeychainItem._account'.

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946 .o)(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946.o) (Location related to previous error)

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAuthKeyKeyChain_4ca91bb1d332311cbe075921a00e2946.o )(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946.o) (Location related to previous error)

MTOUCH:错误MT5212:本机链接失败,重复符号:"_ OBJC_IVAR _ $ _ FIRInstanceIDAuthKeychain._identifier".

MTOUCH : error MT5212: Native linking failed, duplicate symbol: '_OBJC_IVAR_$_FIRInstanceIDAuthKeychain._identifier'.

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946 .o)(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946.o) (Location related to previous error)

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAuthKeyKeyChain_4ca91bb1d332311cbe075921a00e2946.o )(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946.o) (Location related to previous error)

MTOUCH:错误MT5212:本机链接失败,重复符号:"_ kFIRInstanceIDKeychainWildcardIdentifier".

MTOUCH : error MT5212: Native linking failed, duplicate symbol: '_kFIRInstanceIDKeychainWildcardIdentifier'.

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946 .o)(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946.o) (Location related to previous error)

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAuthKeyKeyChain_4ca91bb1d332311cbe075921a00e2946.o )(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946.o) (Location related to previous error)

MTOUCH:错误MT5212:本机链接失败,重复符号:"_ OBJC_CLASS _ $ _ FIRInstanceIDAuthKeychain".

MTOUCH : error MT5212: Native linking failed, duplicate symbol: '_OBJC_CLASS_$_FIRInstanceIDAuthKeychain'.

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946 .o)(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946.o) (Location related to previous error)

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAuthKeyKeyChain_4ca91bb1d332311cbe075921a00e2946.o )(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946.o) (Location related to previous error)

MTOUCH:错误MT5212:本机链接失败,符号重复:'_OBJC_METACLASS _ $ _ FIRInstanceIDAuthKeychain'.

MTOUCH : error MT5212: Native linking failed, duplicate symbol: '_OBJC_METACLASS_$_FIRInstanceIDAuthKeychain'.

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946 .o)(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946.o) (Location related to previous error)

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAuthKeyKeyChain_4ca91bb1d332311cbe075921a00e2946.o )(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946.o) (Location related to previous error)

MTOUCH:错误MT5212:本机链接失败,重复符号:'_OBJC_CLASS _ $ _ FIRInstanceIDAuthKeychainItem'.

MTOUCH : error MT5212: Native linking failed, duplicate symbol: '_OBJC_CLASS_$_FIRInstanceIDAuthKeychainItem'.

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946 .o)(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946.o) (Location related to previous error)

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAuthKeyKeyChain_4ca91bb1d332311cbe075921a00e2946.o )(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946.o) (Location related to previous error)

MTOUCH:错误MT5212:本机链接失败,符号重复:'_OBJC_METACLASS _ $ _ FIRInstanceIDAuthKeychainItem'.

MTOUCH : error MT5212: Native linking failed, duplicate symbol: '_OBJC_METACLASS_$_FIRInstanceIDAuthKeychainItem'.

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946 .o)(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946.o) (Location related to previous error)

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAuthKeyKeyChain_4ca91bb1d332311cbe075921a00e2946.o )(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946.o) (Location related to previous error)

MTOUCH:错误MT5212:本机链接失败,重复符号:"_ OBJC_IVAR _ $ _ FIRInstanceIDAuthKeychainItem._modificationDate".

MTOUCH : error MT5212: Native linking failed, duplicate symbol: '_OBJC_IVAR_$_FIRInstanceIDAuthKeychainItem._modificationDate'.

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946 .o)(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946.o) (Location related to previous error)

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAuthKeyKeyChain_4ca91bb1d332311cbe075921a00e2946.o )(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946.o) (Location related to previous error)

MTOUCH:错误MT5212:本机链接失败,重复符号:"_ OBJC_IVAR _ $ _ FIRInstanceIDAuthKeychainItem._service".

MTOUCH : error MT5212: Native linking failed, duplicate symbol: '_OBJC_IVAR_$_FIRInstanceIDAuthKeychainItem._service'.

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946 .o)(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946.o) (Location related to previous error)

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAuthKeyKeyChain_4ca91bb1d332311cbe075921a00e2946.o )(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946.o) (Location related to previous error)

MTOUCH:错误MT5212:本机链接失败,重复符号:'_OBJC_IVAR _ $ _ FIRInstanceIDAuthKeychain._generic'.

MTOUCH : error MT5212: Native linking failed, duplicate symbol: '_OBJC_IVAR_$_FIRInstanceIDAuthKeychain._generic'.

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946 .o)(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946.o) (Location related to previous error)

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAuthKeyKeyChain_4ca91bb1d332311cbe075921a00e2946.o )(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946.o) (Location related to previous error)

MTOUCH:错误MT5212:本机链接失败,重复符号:"_ OBJC_IVAR _ $ _ FIRInstanceIDAuthKeychainItem._data".

MTOUCH : error MT5212: Native linking failed, duplicate symbol: '_OBJC_IVAR_$_FIRInstanceIDAuthKeychainItem._data'.

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946 .o)(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946.o) (Location related to previous error)

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAuthKeyKeyChain_4ca91bb1d332311cbe075921a00e2946.o )(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAuthKeyChain_4ca91bb1d332311cbe075921a00e2946.o) (Location related to previous error)

MTOUCH:错误MT5212:本机链接失败,重复符号:'_OBJC_IVAR _ $ _ FIRInstanceIDAuthService._checkinRetryCount'.

MTOUCH : error MT5212: Native linking failed, duplicate symbol: '_OBJC_IVAR_$_FIRInstanceIDAuthService._checkinRetryCount'.

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAuthService_41557c1c330f90e42c16c2ecb85001 .o)(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAuthService_41557c1c330f90e42c16c2ecb85001e4.o) (Location related to previous error)

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAuthService_41557c1c330f90e42c16c2ecb85001e4o. )(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAuthService_41557c1c330f90e42c16c2ecb85001e4.o) (Location related to previous error)

MTOUCH:错误MT5212:本机链接失败,重复符号:'_OBJC_IVAR _ $ _ FIRInstanceIDAuthService._isCheckinInProgress'.

MTOUCH : error MT5212: Native linking failed, duplicate symbol: '_OBJC_IVAR_$_FIRInstanceIDAuthService._isCheckinInProgress'.

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAuthService_41557c1c330f90e42c16c2ecb85001 .o)(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAuthService_41557c1c330f90e42c16c2ecb85001e4.o) (Location related to previous error)

MTOUCH:错误MT5213:在/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAuthService_41557c1c330f90e42c16c2ecb85001e4. )(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAuthService_41557c1c330f90e42c16c2ecb85001e4.o) (Location related to previous error)

MTOUCH:错误MT5212:本机链接失败,重复符号:"_ OBJC_IVAR _ $ _ FIRInstanceIDAuthService._checkinHandlers".

MTOUCH : error MT5212: Native linking failed, duplicate symbol: '_OBJC_IVAR_$_FIRInstanceIDAuthService._checkinHandlers'.

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAuthService_41557c1c330f90e42c16c2ecb85001 .o)(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/libMessageSDKFramework.a(FIRInstanceIDAuthService_41557c1c330f90e42c16c2ecb85001e4.o) (Location related to previous error)

MTOUCH:错误MT5213:/Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAuthService_41557c1c330f90e42c16c2ecb85001e4o. )(与先前错误相关的位置)

MTOUCH : error MT5213: Duplicate symbol in: /Users/Documents/adi/Xamarin/06062018/Test/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.3/mtouch-cache/FirebaseInstanceID(FIRInstanceIDAuthService_41557c1c330f90e42c16c2ecb85001e4.o) (Location related to previous error)

MTOUCH:错误MT5202:本机链接失败.请查看构建日志.

MTOUCH : error MT5202: Native linking failed. Please review the build log.

推荐答案

今天早上我刚刚解决了同一问题.

I just got to fix the same issue this morning.
Unfortunately there is no proper solution currently but a workaround:

..我们像两个星期前一样发现了此问题,这种情况仅在 模拟器AFAIK.似乎依赖项LevelDB离开了它们的Main 象征.我将在Firebase上提交错误.解决方法是 更改模拟器上注册器的行为:

..we discover this issue like two weeks ago, this only happens in simulator AFAIK. Seems that the dependency LevelDB left their Main symbol. I'll file a bug on Firebase. The workaround for this is to change the behavior of the Registrar on Simulator:

  1. 打开您的项目设置
  2. 转到构建"标签
  3. 选择iOS构建选项
  4. 在其他mtouch参数文本框中输入--registrar:static
  5. 单击确定

请不要忘记在以下版本的发布和调试"配置中添加它 iPhoneSimulator平台.

Don't forget to add this in Release and Debug configuration of iPhoneSimulator platform.

更多详细信息可以在此处.

这篇关于MT5212:本机链接失败,重复符号:"_ OBJC_IVAR _ $ _ FIRInstanceID._tokenManager"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆