I am unable to debug or release deploy to my iPhone from Visual Studio 2012.3 running on Windows 8 in a VMWare session on my Mac.
Using X.iOS 6.3.7 and X.iOS.VS 1.2 and Mono 3.0.12
I get the following error when trying debug deploy to iPhone:
[2013-07-13 11:22:53.0] error MT3001: Could not AOT the assembly '/Users/per/Library/Caches/Xamarin/mtbs/builds/DanishMovies/25e474a0-cf6a-4c70-94ea-1849343ca2ab/output/temp/mtouch-cache/Build/DanishMovies.exe' [2013-07-13 11:22:53.0] error MT3001: Could not AOT the assembly '/Users/per/Library/Caches/Xamarin/mtbs/builds/DanishMovies/25e474a0-cf6a-4c70-94ea-1849343ca2ab/output/temp/mtouch-cache/Build/DanishMovies.Infrastructure.iOS.dll'
[2013-07-13 11:22:53.0] error MT3001: Could not AOT the assembly '/Users/per/Library/Caches/Xamarin/mtbs/builds/DanishMovies/25e474a0-cf6a-4c70-94ea-1849343ca2ab/output/temp/mtouch-cache/Build/DanishMovies.Core.iOS.dll'
When I choose release deploy to the iPhone I get this error log:
'DanishMovies.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'DanishMovies.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities\11.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'DanishMovies.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'DanishMovies.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'DanishMovies.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'DanishMovies.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities.Sync\11.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.Sync.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'DanishMovies.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.Debugger.Runtime\11.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Debugger.Runtime.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'DanishMovies.vshost.exe' (Managed (v4.0.30319)): Loaded '\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\bin\iPhone\Release\DanishMovies.vshost.exe', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. 'DanishMovies.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. The thread 'vshost.NotifyLoad' (0x3c) has exited with code 0 (0x0). The thread '' (0x7d8) has exited with code 0 (0x0). The thread 'vshost.LoadReference' (0x64c) has exited with code 0 (0x0). 'DanishMovies.vshost.exe' (Managed (v4.0.30319)): Loaded '\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\bin\iPhone\Release\DanishMovies.exe' The thread '' (0x654) has exited with code 0 (0x0). The thread '' (0x58) has exited with code 0 (0x0). Microsoft (R) Build Engine version 4.0.30319.17929 [Microsoft .NET Framework, version 4.0.30319.18051] Copyright (C) Microsoft Corporation. All rights reserved.
Build started 13-07-2013 11:35:13. Project "\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\DanishMovies.UI.iOS.csproj" on node 1 (_RemoteBuild target(s)). _ResolveAssemblies: ResolveAssemblies Task ReferenceAssembliesDirectory: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoTouch\v4.0\ I18nAssemblies: Skipping profile assembly: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoTouch\v4.0\MonoTouch.Dialog-1.dll Skipping profile assembly: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoTouch\v4.0\monotouch.dll Skipping profile assembly: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoTouch\v4.0\mscorlib.dll Skipping profile assembly: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoTouch\v4.0\mscorlib.dll Skipping profile assembly: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoTouch\v4.0\mscorlib.dll Skipping profile assembly: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoTouch\v4.0\System.dll Skipping profile assembly: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoTouch\v4.0\System.Core.dll Skipping profile assembly: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoTouch\v4.0\System.Xml.dll Skipping profile assembly: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoTouch\v4.0\System.Xml.Linq.dll Skipping profile assembly: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoTouch\v4.0\System.Core.dll Skipping profile assembly: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoTouch\v4.0\System.dll Skipping profile assembly: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoTouch\v4.0\System.dll Skipping profile assembly: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoTouch\v4.0\System.Core.dll Skipping profile assembly: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoTouch\v4.0\mscorlib.dll [Output] ResolvedAssemblies: \vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\bin\iPhone\Release\DanishMovies.exe \vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\bin\iPhone\Release\DanishMovies.Core.iOS.dll \vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\bin\iPhone\Release\RestSharp.MonoTouch.dll \vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\bin\iPhone\Release\DanishMovies.Infrastructure.iOS.dll _GenerateBundleContentDir: Preparing application bundle Creating directory "obj\iPhone\Release\build_package\bundle\DanishMovies.app\". Creating directory "obj\iPhone\Release\build_package\assemblies\". Copying file from "ITunesArtwork" to "\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\obj\iPhone\Release\build_package\bundle\DanishMovies.app\ITunesArtwork". Copying file from "ITunesArtwork@2x" to "\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\obj\iPhone\Release\build_package\bundle\DanishMovies.app\ITunesArtwork@2x". Copying file from "Info.plist" to "\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\obj\iPhone\Release\build_package\bundle\DanishMovies.app\Info.plist". Creating directory "\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\obj\iPhone\Release\build_package\bundle\DanishMovies.app\Resources". Copying file from "Resources\Icon.png" to "\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\obj\iPhone\Release\build_package\bundle\DanishMovies.app\Resources\Icon.png". Copying file from "Resources\Icon@2x.png" to "\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\obj\iPhone\Release\build_package\bundle\DanishMovies.app\Resources\Icon@2x.png". Copying file from "Resources\Icon-72.png" to "\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\obj\iPhone\Release\build_package\bundle\DanishMovies.app\Resources\Icon-72.png". Copying file from "Resources\Icon-72@2x.png" to "\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\obj\iPhone\Release\build_package\bundle\DanishMovies.app\Resources\Icon-72@2x.png". Copying file from "Resources\Icon-Small-50.png" to "\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\obj\iPhone\Release\build_package\bundle\DanishMovies.app\Resources\Icon-Small-50.png". Copying file from "Resources\Icon-Small-50@2x.png" to "\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\obj\iPhone\Release\build_package\bundle\DanishMovies.app\Resources\Icon-Small-50@2x.png". Copying file from "Resources\Icon-Small.png" to "\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\obj\iPhone\Release\build_package\bundle\DanishMovies.app\Resources\Icon-Small.png". Copying file from "Resources\Icon-Small@2x.png" to "\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\obj\iPhone\Release\build_package\bundle\DanishMovies.app\Resources\Icon-Small@2x.png". Copying file from "\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\bin\iPhone\Release\DanishMovies.exe" to "\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\obj\iPhone\Release\build_package\assemblies\DanishMovies.exe". Copying file from "\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\bin\iPhone\Release\DanishMovies.Core.iOS.dll" to "\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\obj\iPhone\Release\build_package\assemblies\DanishMovies.Core.iOS.dll". Copying file from "\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\bin\iPhone\Release\RestSharp.MonoTouch.dll" to "\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\obj\iPhone\Release\build_package\assemblies\RestSharp.MonoTouch.dll". Copying file from "\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\bin\iPhone\Release\DanishMovies.Infrastructure.iOS.dll" to "\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\obj\iPhone\Release\build_package\assemblies\DanishMovies.Infrastructure.iOS.dll". _BuildNativeApplication: Saying hello to the remote server at http://10.0.1.44:50096/ Fetching manifest... Updating information about the remote server Uploading changes... Synchronizing with the remote server Building... Building application on the remote server C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.MonoTouch.Common.targets(142,3): error : Remote build step failed. [\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\DanishMovies.UI.iOS.csproj] C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.MonoTouch.Common.targets(142,3): error : [\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\DanishMovies.UI.iOS.csproj] C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.MonoTouch.Common.targets(142,3): error : Remote build step failed. [\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\DanishMovies.UI.iOS.csproj] Done Building Project "\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\DanishMovies.UI.iOS.csproj" (_RemoteBuild target(s)) -- FAILED.
Build FAILED.
"\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\DanishMovies.UI.iOS.csproj" (_RemoteBuild target) (1) -> (_BuildNativeApplication target) -> C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.MonoTouch.Common.targets(142,3): error : Remote build step failed. [\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\DanishMovies.UI.iOS.csproj] C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.MonoTouch.Common.targets(142,3): error : [\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\DanishMovies.UI.iOS.csproj] C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.MonoTouch.Common.targets(142,3): error : Remote build step failed. [\vmware-host\Shared Folders\Arbejde\Projekter\Mono\DanishMovies\DanishMovies.UI.iOS\DanishMovies.UI.iOS.csproj]
0 Warning(s)
2 Error(s)
Time Elapsed 00:01:46.39
The program '[1616] DanishMovies.vshost.exe: Program Trace' has exited with code 0 (0x0).
The program '[1616] DanishMovies.vshost.exe: Managed (v4.0.30319)' has exited with code -1 (0xffffffff).
What is wrong here ?
If i debug or release deploy via Xamarin.Studio 4.1.6 it all works fine.