Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Cannot AOT the assembly?

$
0
0

Hi all

We have a project based on MVVM and it all works fine in the simulator. I'm having trouble building for the device or ad-hoc. Can anybody shed some light on this? Build log attached...

Build complete -- 0 errors, 9 warnings Compiling to native code /Developer/MonoTouch/usr/bin/mtouch -sdkroot "/Applications/Xcode.app/Contents/Developer" --cache "/Users/myuser/Documents/workspace/Main/GERMobile/GERMobile.UI.Touch/obj/iPhone/Ad-Hoc/mtouch-cache" --nomanifest --nosign -dev "/Users/myuser/Documents/workspace/Main/GERMobile/GERMobile.UI.Touch/bin/iPhone/Ad-Hoc/GERMobileUITouch.app" -r "/Users/myuser/Documents/workspace/Main/GERMobile/GERMobile.Core/bin/iPhone/Ad-Hoc/GERMobile.Core.dll" -r "/Users/myuser/Documents/workspace/Main/GERMobile/packages/Chance.MvvmCross.Plugins.UserInteraction.1.1.1/lib/MonoTouch/Chance.MvvmCross.Plugins.UserInteraction.dll" -r "/Users/myuser/Documents/workspace/Main/GERMobile/packages/Chance.MvvmCross.Plugins.UserInteraction.1.1.1/lib/MonoTouch/Chance.MvvmCross.Plugins.UserInteraction.Touch.dll" -r "/Users/myuser/Documents/workspace/Main/GERMobile/packages/MvvmCross.HotTuna.Plugin.Location.3.1.1/lib/MonoTouch/Cirrious.MvvmCross.Plugins.Location.dll" -r "/Users/myuser/Documents/workspace/Main/GERMobile/packages/MvvmCross.HotTuna.Plugin.Location.3.1.1/lib/MonoTouch/Cirrious.MvvmCross.Plugins.Location.Touch.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.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 "/Developer/MonoTouch/usr/lib/mono/2.1/System.Windows.dll" -r "/Users/myuser/Documents/workspace/Main/GERMobile/packages/Mvx.Plugins.Settings.1.2.0/lib/monotouch/Refractored.MvxPlugins.Settings.dll" -r "/Users/myuser/Documents/workspace/Main/GERMobile/packages/Mvx.Plugins.Settings.1.2.0/lib/monotouch/Refractored.MvxPlugins.Settings.Touch.dll" -r "/Users/myuser/Documents/workspace/Main/GERMobile/packages/MvvmCross.HotTuna.CrossCore.3.1.1/lib/MonoTouch/Cirrious.CrossCore.dll" -r "/Users/myuser/Documents/workspace/Main/GERMobile/packages/MvvmCross.HotTuna.CrossCore.3.1.1/lib/MonoTouch/Cirrious.CrossCore.Touch.dll" -r "/Users/myuser/Documents/workspace/Main/GERMobile/packages/MvvmCross.HotTuna.MvvmCrossLibraries.3.1.1/lib/MonoTouch/Cirrious.MvvmCross.dll" -r "/Users/myuser/Documents/workspace/Main/GERMobile/packages/MvvmCross.HotTuna.CrossCore.3.1.1/lib/MonoTouch/Cirrious.MvvmCross.Binding.dll" -r "/Users/myuser/Documents/workspace/Main/GERMobile/packages/MvvmCross.HotTuna.CrossCore.3.1.1/lib/MonoTouch/Cirrious.MvvmCross.Binding.Touch.dll" -r "/Users/myuser/Documents/workspace/Main/GERMobile/packages/MvvmCross.HotTuna.CrossCore.3.1.1/lib/MonoTouch/Cirrious.MvvmCross.Localization.dll" -r "/Users/myuser/Documents/workspace/Main/GERMobile/packages/MvvmCross.HotTuna.Plugin.Json.3.1.1/lib/MonoTouch/Cirrious.MvvmCross.Plugins.Json.dll" -r "/Users/myuser/Documents/workspace/Main/GERMobile/packages/MvvmCross.HotTuna.Plugin.Messenger.3.1.1/lib/MonoTouch/Cirrious.MvvmCross.Plugins.Messenger.dll" -r "/Users/myuser/Documents/workspace/Main/GERMobile/packages/MvvmCross.HotTuna.Plugin.PhoneCall.3.1.1/lib/MonoTouch/Cirrious.MvvmCross.Plugins.PhoneCall.dll" -r "/Users/myuser/Documents/workspace/Main/GERMobile/packages/MvvmCross.HotTuna.Plugin.PhoneCall.3.1.1/lib/MonoTouch/Cirrious.MvvmCross.Plugins.PhoneCall.Touch.dll" -r "/Users/myuser/Documents/workspace/Main/GERMobile/packages/MvvmCross.HotTuna.Plugin.Visibility.3.1.1/lib/MonoTouch/Cirrious.MvvmCross.Plugins.Visibility.dll" -r "/Users/myuser/Documents/workspace/Main/GERMobile/packages/MvvmCross.HotTuna.Plugin.Visibility.3.1.1/lib/MonoTouch/Cirrious.MvvmCross.Plugins.Visibility.Touch.dll" -r "/Users/myuser/Documents/workspace/Main/GERMobile/packages/MvvmCross.HotTuna.MvvmCrossLibraries.3.1.1/lib/MonoTouch/Cirrious.MvvmCross.Touch.dll" -r "/Users/myuser/Documents/workspace/Main/GERMobile/packages/MvvmCross.HotTuna.Plugin.Json.3.1.1/lib/MonoTouch/Newtonsoft.Json.dll" -nolink -sdk "7.0" -targetver "5.0" --abi=armv7+llvm,armv7s+llvm "-linkskip=System.Net" "-linkskip=System.Windows" "/Users/myuser/Documents/workspace/Main/GERMobile/GERMobile.UI.Touch/bin/iPhone/Ad-Hoc/GERMobileUITouch.exe" Xamarin.iOS 7.0.7 Trial Edition using framework: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk warning MT3005: The dependency 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' of the assembly 'Cirrious.CrossCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e16445fd9b451819' was not found. Please review the project's references. warning MT3005: The dependency 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' of the assembly 'Cirrious.MvvmCross.Binding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' was not found. Please review the project's references. warning MT3005: The dependency 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' of the assembly 'GERMobile.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' was not found. Please review the project's references. warning MT3005: The dependency 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' of the assembly 'Cirrious.MvvmCross, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e16445fd9b451819' was not found. Please review the project's references. warning MT3005: The dependency 'System.Runtime, Version=2.6.6.0, Culture=neutral, PublicKeyToken=c93000001d50a3a' of the assembly 'GERMobile.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' was not found. Please review the project's references. warning MT3005: The dependency 'System.Net.Http, Version=1.5.0.0, Culture=neutral, PublicKeyToken=c93000001d50a3a' of the assembly 'GERMobile.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' was not found. Please review the project's references. warning MT3005: The dependency 'System.Threading.Tasks, Version=2.6.6.0, Culture=neutral, PublicKeyToken=c93000001d50a3a' of the assembly 'GERMobile.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' was not found. Please review the project's references. warning MT3005: The dependency 'System.Runtime, Version=1.5.11.0, Culture=neutral, PublicKeyToken=c93000001d50a3a' of the assembly 'Microsoft.Threading.Tasks, Version=1.0.12.0, Culture=neutral, PublicKeyToken=c93000001d50a3a' was not found. Please review the project's references. warning MT3005: The dependency 'System.Threading.Tasks, Version=1.5.11.0, Culture=neutral, PublicKeyToken=c93000001d50a3a' of the assembly 'Microsoft.Threading.Tasks, Version=1.0.12.0, Culture=neutral, PublicKeyToken=c93000001d50a3a' was not found. Please review the project's references. warning MT3006: Could not compute a complete dependency map for the project. This will result in slower build times because Xamarin.iOS can't properly detect what needs to be rebuilt (and what does not need to be rebuilt). Please review previous warnings for more details. AOT Compilation exited with code 134, command: MONO_PATH=/Users/myuser/Documents/workspace/Main/GERMobile/GERMobile.UI.Touch/obj/iPhone/Ad-Hoc/mtouch-cache/Build /Developer/MonoTouch/usr/bin/arm-darwin-mono-boehm --debug --llvm -O=gsharedvt --aot=mtriple=armv7s-ios,full,static,asmonly,direct-icalls,nodebug,dwarfdebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/Users/myuser/Documents/workspace/Main/GERMobile/GERMobile.UI.Touch/obj/iPhone/Ad-Hoc/mtouch-cache/GERMobileUITouch.exe.armv7s.s "/Users/myuser/Documents/workspace/Main/GERMobile/GERMobile.UI.Touch/obj/iPhone/Ad-Hoc/mtouch-cache/Build/GERMobileUITouch.exe" Mono Ahead of Time compiler - compiling assembly /Users/myuser/Documents/workspace/Main/GERMobile/GERMobile.UI.Touch/obj/iPhone/Ad-Hoc/mtouch-cache/Build/GERMobileUITouch.exe * Assertion at ../../../../../mono/mono/metadata/metadata.c:3408, condition `ptr' not met

     error MT3001: Could not AOT the assembly '/Users/myuser/Documents/workspace/Main/GERMobile/GERMobile.UI.Touch/obj/iPhone/Ad-Hoc/mtouch-cache/Build/GERMobileUITouch.exe'

/Users/myuser/Documents/workspace/Main/GERMobile/GERMobile.UI.Touch/Views/CoverageDetailSectionTitle.cs(2) : warning CS0105: The using directive for

System' appeared previously in this namespace
/Users/myuser/Documents/workspace/Main/GERMobile/GERMobile.UI.Touch/Views/CoverageDetailSectionTitle.cs(7) : warning CS0105: The using directive for
System.Windows.Input' appeared previously in this namespace /Users/myuser/Documents/workspace/Main/GERMobile/GERMobile.UI.Touch/Views/PrivacyView.designer.cs(16,43) : warning CS0108: GERios.PrivacyView.activityMonitor' hides inherited memberGERios.OuterView.activityMonitor'. Use the new keyword if hiding was intended /Users/myuser/Documents/workspace/Main/GERMobile/GERMobile.UI.Touch/Views/IdCardView.cs(51,26) : warning CS0672: Member GERios.IdCardView.ShouldAutorotateToInterfaceOrientation(MonoTouch.UIKit.UIInterfaceOrientation)' overrides obsolete memberMonoTouch.UIKit.UIViewController.ShouldAutorotateToInterfaceOrientation(MonoTouch.UIKit.UIInterfaceOrientation)'. Add the Obsolete attribute to
GERios.IdCardView.ShouldAutorotateToInterfaceOrientation(MonoTouch.UIKit.UIInterfaceOrientation)'
/Users/myuser/Documents/workspace/Main/GERMobile/GERMobile.UI.Touch/LinkerPleaseInclude.cs(72,57) : warning CS0219: The variable
test' is assigned but its value is never used /Users/myuser/Documents/workspace/Main/GERMobile/GERMobile.UI.Touch/Setup.cs(40,11) : warning CS0219: The variable
errorDisplayer' is assigned but its value is never used
/Users/myuser/Documents/workspace/Main/GERMobile/GERMobile.UI.Touch/MvxAccordionView.cs(36,27) : warning CS0414: The private field
GERios.MvxAccordionView.mvxAccordionSectionView' is assigned but its value is never used /Users/myuser/Documents/workspace/Main/GERMobile/GERMobile.UI.Touch/Views/MapView.cs(18,23) : warning CS0649: Field GERios.MapView.mapAnnotation' is never assigned to, and will always have its default valuenull' /Users/myuser/Documents/workspace/Main/GERMobile/GERMobile.UI.Touch/Views/ContactUsView.cs(20,27) : warning CS0169: The private field `GERios.ContactUsView.mainViewModel' is never used warning MT3005: The dependency 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' of the assembly 'Cirrious.CrossCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e16445fd9b451819' was not found. Please review the project's references. warning MT3005: The dependency 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' of the assembly 'Cirrious.MvvmCross.Binding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' was not found. Please review the project's references. warning MT3005: The dependency 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' of the assembly 'GERMobile.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' was not found. Please review the project's references. warning MT3005: The dependency 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' of the assembly 'Cirrious.MvvmCross, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e16445fd9b451819' was not found. Please review the project's references. warning MT3005: The dependency 'System.Runtime, Version=2.6.6.0, Culture=neutral, PublicKeyToken=c93000001d50a3a' of the assembly 'GERMobile.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' was not found. Please review the project's references. warning MT3005: The dependency 'System.Net.Http, Version=1.5.0.0, Culture=neutral, PublicKeyToken=c93000001d50a3a' of the assembly 'GERMobile.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' was not found. Please review the project's references. warning MT3005: The dependency 'System.Threading.Tasks, Version=2.6.6.0, Culture=neutral, PublicKeyToken=c93000001d50a3a' of the assembly 'GERMobile.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' was not found. Please review the project's references. warning MT3005: The dependency 'System.Runtime, Version=1.5.11.0, Culture=neutral, PublicKeyToken=c93000001d50a3a' of the assembly 'Microsoft.Threading.Tasks, Version=1.0.12.0, Culture=neutral, PublicKeyToken=c93000001d50a3a' was not found. Please review the project's references. warning MT3005: The dependency 'System.Threading.Tasks, Version=1.5.11.0, Culture=neutral, PublicKeyToken=c93000001d50a3a' of the assembly 'Microsoft.Threading.Tasks, Version=1.0.12.0, Culture=neutral, PublicKeyToken=c93000001d50a3a' was not found. Please review the project's references. warning MT3006: Could not compute a complete dependency map for the project. This will result in slower build times because Xamarin.iOS can't properly detect what needs to be rebuilt (and what does not need to be rebuilt). Please review previous warnings for more details. error MT3001: Could not AOT the assembly '/Users/myuser/Documents/workspace/Main/GERMobile/GERMobile.UI.Touch/obj/iPhone/Ad-Hoc/mtouch-cache/Build/GERMobileUITouch.exe'

Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>