LineaPro giving MT5211 Compile Error
Closed this issue · 1 comments
Building a project which references the LineaProSDK gives the following compile error:
Compiling to native code
/Developer/MonoTouch/usr/bin/mtouch -sdkroot "/Applications/Xcode.app/Contents/Developer" --cache "/Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache" --nomanifest --nosign -dev "/Volumes/Maximo/MaxRaw/MaxRAW.iPhone/bin/iPhone/Development/MaxRAWiPhone.app" -r "/Volumes/Maximo/Mobile/MetricsAgent/MetricsAgent/bin/Development/MetricsAgent.dll" -r "/Volumes/Maximo/Mobile/UIComponents/UIComponents.iOS/bin/iPhone/Development/UIComponentsiOS.dll" -r "/Volumes/Maximo/MaxRaw/MaxRAW.Core/bin/Development/MaxRAW.Core.dll" -r "/Volumes/Maximo/Mobile/UIComponents/UIComponents.Core/bin/Debug/UIComponents.Core.dll" -r "/Volumes/Maximo/MaxRaw/packages/Microsoft.Bcl.Async.1.0.165/lib/portable-net45+win8/Microsoft.Threading.Tasks.Extensions.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.Net.Http.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.Windows.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" -r "/Volumes/Maximo/MaxRaw/packages/Microsoft.Bcl.Async.1.0.165/lib/portable-net45+win8/Microsoft.Threading.Tasks.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/MonoTouch.Dialog-1.dll" -r "/Volumes/Maximo/MaxRaw/packages/MvvmCross.HotTuna.CrossCore.3.1.1/lib/MonoTouch/Cirrious.CrossCore.dll" -r "/Volumes/Maximo/MaxRaw/packages/MvvmCross.HotTuna.CrossCore.3.1.1/lib/MonoTouch/Cirrious.CrossCore.Touch.dll" -r "/Volumes/Maximo/MaxRaw/packages/MvvmCross.HotTuna.MvvmCrossLibraries.3.1.1/lib/MonoTouch/Cirrious.MvvmCross.dll" -r "/Volumes/Maximo/MaxRaw/packages/MvvmCross.HotTuna.CrossCore.3.1.1/lib/MonoTouch/Cirrious.MvvmCross.Binding.dll" -r "/Volumes/Maximo/MaxRaw/packages/MvvmCross.HotTuna.CrossCore.3.1.1/lib/MonoTouch/Cirrious.MvvmCross.Binding.Touch.dll" -r "/Volumes/Maximo/MaxRaw/packages/MvvmCross.HotTuna.CrossCore.3.1.1/lib/MonoTouch/Cirrious.MvvmCross.Localization.dll" -r "/Volumes/Maximo/MaxRaw/packages/MvvmCross.HotTuna.Plugin.Json.3.1.1/lib/MonoTouch/Cirrious.MvvmCross.Plugins.Json.dll" -r "/Volumes/Maximo/MaxRaw/packages/MvvmCross.HotTuna.Plugin.Messenger.3.1.1/lib/MonoTouch/Cirrious.MvvmCross.Plugins.Messenger.dll" -r "/Volumes/Maximo/MaxRaw/packages/MvvmCross.HotTuna.MvvmCrossLibraries.3.1.1/lib/MonoTouch/Cirrious.MvvmCross.Touch.dll" -r "/Volumes/Maximo/MaxRaw/packages/MvvmCross.HotTuna.Plugin.Json.3.1.1/lib/MonoTouch/Newtonsoft.Json.dll" -r "/Volumes/Maximo/MaxRaw/packages/MvvmCross.HotTuna.Plugin.Sqlite.3.1.1/lib/MonoTouch/Cirrious.MvvmCross.Plugins.Sqlite.dll" -r "/Volumes/Maximo/MaxRaw/packages/MvvmCross.HotTuna.Plugin.Sqlite.3.1.1/lib/MonoTouch/Cirrious.MvvmCross.Plugins.Sqlite.Touch.dll" -debug -linksdkonly -sdk "7.1" -targetver "7.1" --abi=armv7 "/Volumes/Maximo/MaxRaw/MaxRAW.iPhone/bin/iPhone/Development/MaxRAWiPhone.exe"
Xamarin.iOS 7.2.3 Business Edition using framework: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk
Process exited with code 1, command:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -Wl,-pie -miphoneos-version-min=7.1 -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/MaxRAWiPhone.exe.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/monotouch.dll.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/mscorlib.dll.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/System.dll.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/System.Core.dll.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/System.Xml.dll.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/UIComponentsiOS.dll.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/Cirrious.CrossCore.dll.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/Cirrious.MvvmCross.Plugins.Messenger.dll.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/Cirrious.MvvmCross.dll.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/Cirrious.MvvmCross.Binding.Touch.dll.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/Cirrious.MvvmCross.Binding.dll.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/Cirrious.MvvmCross.Localization.dll.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/Cirrious.CrossCore.Touch.dll.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/UIComponents.Core.dll.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/Cirrious.MvvmCross.Plugins.Sqlite.dll.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/Microsoft.Threading.Tasks.dll.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/Microsoft.Threading.Tasks.Extensions.dll.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/System.Net.Http.dll.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/System.ServiceModel.dll.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/System.Runtime.Serialization.dll.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/LineaProSdk.dll.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/Cirrious.MvvmCross.Touch.dll.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/BarcodeScanneriOS.dll.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/MetricsAgent.dll.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/System.Xml.Linq.dll.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/MaxRAW.Core.dll.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/Cirrious.MvvmCross.Plugins.Json.dll.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/Newtonsoft.Json.dll.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/Cirrious.MvvmCross.Plugins.Sqlite.Touch.dll.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/registrar.armv7.o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/main.armv7.o -force_load /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/obj/iPhone/Development/mtouch-cache/libdtdev.a -o /Volumes/Maximo/MaxRaw/MaxRAW.iPhone/bin/iPhone/Development/MaxRAWiPhone.app/MaxRAWiPhone -framework CFNetwork -framework AVFoundation -framework AudioToolbox -framework QuartzCore -framework Foundation -framework SystemConfiguration -framework CoreGraphics -framework UIKit -framework ExternalAccessory -lz -liconv -u _mono_pmip -u _CreateZStream -u _CloseZStream -u _Flush -u _ReadZStream -u _WriteZStream -u _monotouch_start_wwan -u _monotouch_release_managed_ref -u _monotouch_create_managed_ref -u _xamarin_get_block_descriptor -u _monotouch_timezone_get_data -u _monotouch_log /Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/lib/libmonoboehm-2.0.a /Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/lib/libmonotouch-debug.a
Undefined symbols for architecture armv7:
"OBJC_CLASS$_DTEMVConfigurationInfo", referenced from:
objc-class-ref in registrar.armv7.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error MT5211: Native linking failed, undefined Objective-C class: OBJC_CLASS$_DTEMVConfigurationInfo. If 'OBJC_CLASS$_DTEMVConfigurationInfo' is a protocol from a third-party binding, please check that it has the [Protocol] attribute in its api definition file, otherwise verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
error MT5202: Native linking failed. Please review the build log.
I found a similar issue reported at http://stackoverflow.com/questions/23431137/xamarin-can-no-longer-debug-on-device-error-mt5211. The temporary workaround was to add the following monotouch argument --registrar:legacy
The workaround does work. Any idea how to resolve the issue without using the legacy registrar?
This should be fixed now