Bug 52667 - 'The assembly mscorlib.dll was not found or could not be loaded' when building for iPhone
Summary: 'The assembly mscorlib.dll was not found or could not be loaded' when buildin...
Status: RESOLVED NORESPONSE
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: XI 10.2 (iOS 10.1)
Hardware: PC Windows
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-02-22 14:13 UTC by Jovan Meshkov
Modified: 2017-04-10 18:17 UTC (History)
5 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Diagnostic Log when building for Xamarin iOS IPhone (2.82 MB, text/plain)
2017-02-22 14:13 UTC, Jovan Meshkov
Details
Diagnostic Log Xamarin iOS Phone (VBox Machine as MAC Build Agent) (3.72 MB, patch)
2017-02-27 10:30 UTC, Jovan Meshkov
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NORESPONSE

Description Jovan Meshkov 2017-02-22 14:13:47 UTC
Created attachment 19903 [details]
Diagnostic Log when building for Xamarin iOS IPhone

Hello,

When I build the solution for iOS simulator everything works as expected but when i try to deploy it to a iPhone i am getting this error when AOT is executed:
 Tool /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mtouch execution started with arguments: --cache /Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/C:/Users/filip/AppData/Local/Temp/vs770D.tmp/iPhone/Release/mtouch-cache --dev /Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/bin/iPhone/Release/{Project Name Concatenated}.app --executable {Project Name Concatenated} --linksdkonly --sdkroot /Applications/Xcode.app/Contents/Developer --sdk 10.2 --targetver 7.1 --http-message-handler=HttpClientHandler --tls-provider=default --abi=armv7,arm64 --symbollist /Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/C:/Users/filip/AppData/Local/Temp/vs770D.tmp/iPhone/Release/mtouch-symbols.list --dsym=no -r /Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/bin/iPhone/Release/DACircularProgress.dll -r /Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/bin/iPhone/Release/IQKeyboardManager.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/mscorlib.dll -r /Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/bin/iPhone/Release/SlideMenuController.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.Core.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.Data.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.dll -r /Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/bin/iPhone/Release/System.EnterpriseServices.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.Runtime.Serialization.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.Web.Services.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.Xml.dll -r /Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/bin/iPhone/Release/ToastIOS.dll -r /Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/bin/iPhone/Release/{Solution Name}.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Xamarin.iOS.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/Microsoft.Win32.Primitives.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/Microsoft.Win32.Registry.AccessControl.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/Microsoft.Win32.Registry.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.AppContext.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Collections.Concurrent.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Collections.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Collections.NonGeneric.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Collections.Specialized.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.ComponentModel.Annotations.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.ComponentModel.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.ComponentModel.EventBasedAsync.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.ComponentModel.Primitives.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.ComponentModel.TypeConverter.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Console.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Data.Common.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Data.SqlClient.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Diagnostics.Contracts.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Diagnostics.Debug.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Diagnostics.FileVersionInfo.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Diagnostics.Process.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Diagnostics.StackTrace.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Diagnostics.TextWriterTraceListener.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Diagnostics.Tools.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Diagnostics.TraceEvent.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Diagnostics.TraceSource.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Diagnostics.Tracing.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Drawing.Primitives.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Dynamic.Runtime.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Globalization.Calendars.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Globalization.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Globalization.Extensions.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.IO.Compression.ZipFile.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.IO.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.IO.FileSystem.AccessControl.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.IO.FileSystem.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.IO.FileSystem.DriveInfo.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.IO.FileSystem.Primitives.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.IO.FileSystem.Watcher.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.IO.IsolatedStorage.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.IO.MemoryMappedFiles.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.IO.Pipes.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.IO.UnmanagedMemoryStream.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Linq.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Linq.Expressions.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Linq.Parallel.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Linq.Queryable.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Net.AuthenticationManager.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Net.Cache.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Net.HttpListener.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Net.Mail.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Net.NameResolution.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Net.NetworkInformation.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Net.Ping.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Net.Primitives.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Net.Requests.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Net.Security.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Net.ServicePoint.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Net.Sockets.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Net.Utilities.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Net.WebHeaderCollection.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Net.WebSockets.Client.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Net.WebSockets.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.ObjectModel.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Reflection.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Reflection.Emit.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Reflection.Emit.ILGeneration.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Reflection.Emit.Lightweight.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Reflection.Extensions.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Reflection.Primitives.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Reflection.TypeExtensions.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Resources.ReaderWriter.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Resources.ResourceManager.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Runtime.CompilerServices.VisualC.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Runtime.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Runtime.Extensions.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Runtime.Handles.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Runtime.InteropServices.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Runtime.InteropServices.WindowsRuntime.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Runtime.Numerics.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Runtime.Serialization.Formatters.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Runtime.Serialization.Json.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Runtime.Serialization.Primitives.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Runtime.Serialization.Xml.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Security.AccessControl.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Security.Claims.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Security.Cryptography.Algorithms.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Security.Cryptography.Cng.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Security.Cryptography.Csp.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Security.Cryptography.DeriveBytes.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Security.Cryptography.Encoding.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Security.Cryptography.Encryption.Aes.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Security.Cryptography.Encryption.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Security.Cryptography.Encryption.ECDiffieHellman.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Security.Cryptography.Encryption.ECDsa.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Security.Cryptography.Hashing.Algorithms.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Security.Cryptography.Hashing.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Security.Cryptography.OpenSsl.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Security.Cryptography.Pkcs.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Security.Cryptography.Primitives.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Security.Cryptography.ProtectedData.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Security.Cryptography.RandomNumberGenerator.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Security.Cryptography.RSA.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Security.Cryptography.X509Certificates.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Security.Principal.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Security.Principal.Windows.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Security.SecureString.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.ServiceModel.Duplex.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.ServiceModel.Http.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.ServiceModel.NetTcp.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.ServiceModel.Primitives.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.ServiceModel.Security.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.ServiceProcess.ServiceController.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Text.Encoding.CodePages.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Text.Encoding.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Text.Encoding.Extensions.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Text.RegularExpressions.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Threading.AccessControl.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Threading.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Threading.Overlapped.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Threading.Tasks.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Threading.Tasks.Parallel.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Threading.Thread.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Threading.ThreadPool.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Threading.Timer.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Xml.ReaderWriter.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Xml.XDocument.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Xml.XmlDocument.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Xml.XmlSerializer.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Xml.XPath.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Xml.XPath.XDocument.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/System.Xml.Xsl.Primitives.dll -r /Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/bin/iPhone/Release/Google.Maps.dll -r /Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/bin/iPhone/Release/{Solution Name}.dll -r /Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/bin/iPhone/Release/{Project Name Concatenated}.exe -r /Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/bin/iPhone/Release/{Project Name Concatenated}.exe -r /Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/bin/iPhone/Release/DACircularProgress.dll -r /Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/bin/iPhone/Release/Google.Maps.dll -r /Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/bin/iPhone/Release/IQKeyboardManager.dll -r /Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/bin/iPhone/Release/SlideMenuController.dll -r /Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/bin/iPhone/Release/ToastIOS.dll -r /Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/bin/iPhone/Release/{Solution Name}.dll --target-framework Xamarin.iOS,v1.0 bin/iPhone/Release/{Project Name Concatenated}.exe -q  (TaskId:84)
1>  Environment variables being passed to the tool: (TaskId:84)
1>  AOT Compilation exited with code 1, command: (TaskId:84)
1>  MONO_PATH=/Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/C:/Users/filip/AppData/Local/Temp/vs770D.tmp/iPhone/Release/mtouch-cache/64/Build /Library/Frameworks/Xamarin.iOS.framework/Versions/10.4.0.114/bin/arm64-darwin-mono-sgen --debug -O=gsharedvt  --aot=mtriple=arm64-ios,data-outfile=/Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/C:/Users/filip/AppData/Local/Temp/vs770D.tmp/iPhone/Release/mtouch-cache/System.Core.arm64.aotdata,static,asmonly,direct-icalls,full,nodebug,dwarfdebug,direct-pinvoke,msym-dir=/Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/C:/Users/filip/AppData/Local/Temp/vs770D.tmp/iPhone/Release/mtouch-cache/64/Build/Msym,outfile=/Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/C:/Users/filip/AppData/Local/Temp/vs770D.tmp/iPhone/Release/mtouch-cache/System.Core.dll.arm64.s "/Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/C:/Users/filip/AppData/Local/Temp/vs770D.tmp/iPhone/Release/mtouch-cache/64/Build/System.Core.dll" (TaskId:84)
1>  The assembly mscorlib.dll was not found or could not be loaded. (TaskId:84)
1>  It should have been installed in the `/Users/builder/data/lanes/3985/22d559f4/source/xamarin-macios/builds/install/cross64/lib/mono/4.5/mscorlib.dll' directory. (TaskId:84)
1>   (TaskId:84)
1>  AOT Compilation exited with code 1, command: (TaskId:84)
1>  MONO_PATH=/Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/C:/Users/filip/AppData/Local/Temp/vs770D.tmp/iPhone/Release/mtouch-cache/64/Build /Library/Frameworks/Xamarin.iOS.framework/Versions/10.4.0.114/bin/arm64-darwin-mono-sgen --debug -O=gsharedvt  --aot=mtriple=arm64-ios,data-outfile=/Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/C:/Users/filip/AppData/Local/Temp/vs770D.tmp/iPhone/Release/mtouch-cache/System.Web.Services.arm64.aotdata,static,asmonly,direct-icalls,full,nodebug,dwarfdebug,direct-pinvoke,msym-dir=/Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/C:/Users/filip/AppData/Local/Temp/vs770D.tmp/iPhone/Release/mtouch-cache/64/Build/Msym,outfile=/Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/C:/Users/filip/AppData/Local/Temp/vs770D.tmp/iPhone/Release/mtouch-cache/System.Web.Services.dll.arm64.s "/Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/C:/Users/filip/AppData/Local/Temp/vs770D.tmp/iPhone/Release/mtouch-cache/64/Build/System.Web.Services.dll" (TaskId:84)
1>  The assembly mscorlib.dll was not found or could not be loaded. (TaskId:84)
1>  It should have been installed in the `/Users/builder/data/lanes/3985/22d559f4/source/xamarin-macios/builds/install/cross64/lib/mono/4.5/mscorlib.dll' directory. (TaskId:84)
1>   (TaskId:84)
1>  AOT Compilation exited with code 1, command: (TaskId:84)
1>  MONO_PATH=/Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/C:/Users/filip/AppData/Local/Temp/vs770D.tmp/iPhone/Release/mtouch-cache/64/Build /Library/Frameworks/Xamarin.iOS.framework/Versions/10.4.0.114/bin/arm64-darwin-mono-sgen --debug -O=gsharedvt  --aot=mtriple=arm64-ios,data-outfile=/Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/C:/Users/filip/AppData/Local/Temp/vs770D.tmp/iPhone/Release/mtouch-cache/Xamarin.iOS.arm64.aotdata,static,asmonly,direct-icalls,full,nodebug,dwarfdebug,msym-dir=/Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/C:/Users/filip/AppData/Local/Temp/vs770D.tmp/iPhone/Release/mtouch-cache/64/Build/Msym,outfile=/Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/C:/Users/filip/AppData/Local/Temp/vs770D.tmp/iPhone/Release/mtouch-cache/Xamarin.iOS.dll.arm64.s "/Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/C:/Users/filip/AppData/Local/Temp/vs770D.tmp/iPhone/Release/mtouch-cache/64/Build/Xamarin.iOS.dll" (TaskId:84)
1>  The assembly mscorlib.dll was not found or could not be loaded. (TaskId:84)
1>  It should have been installed in the `/Users/builder/data/lanes/3985/22d559f4/source/xamarin-macios/builds/install/cross64/lib/mono/4.5/mscorlib.dll' directory. (TaskId:84)
1>   (TaskId:84)
1>  AOT Compilation exited with code 1, command: (TaskId:84)
1>  MONO_PATH=/Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/C:/Users/filip/AppData/Local/Temp/vs770D.tmp/iPhone/Release/mtouch-cache/64/Build /Library/Frameworks/Xamarin.iOS.framework/Versions/10.4.0.114/bin/arm64-darwin-mono-sgen --debug -O=gsharedvt  --aot=mtriple=arm64-ios,data-outfile=/Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/C:/Users/filip/AppData/Local/Temp/vs770D.tmp/iPhone/Release/mtouch-cache/{Project Name Concatenated}.arm64.aotdata,static,asmonly,direct-icalls,full,nodebug,dwarfdebug,msym-dir=/Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/C:/Users/filip/AppData/Local/Temp/vs770D.tmp/iPhone/Release/mtouch-cache/64/Build/Msym,outfile=/Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/C:/Users/filip/AppData/Local/Temp/vs770D.tmp/iPhone/Release/mtouch-cache/{Project Name Concatenated}.exe.arm64.s "/Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/C:/Users/filip/AppData/Local/Temp/vs770D.tmp/iPhone/Release/mtouch-cache/64/Build/{Project Name Concatenated}.exe" (TaskId:84)
1>  The assembly mscorlib.dll was not found or could not be loaded. (TaskId:84)
1>  It should have been installed in the `/Users/builder/data/lanes/3985/22d559f4/source/xamarin-macios/builds/install/cross64/lib/mono/4.5/mscorlib.dll' directory. (TaskId:84)
1>   (TaskId:84)
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(700,3): error : Could not AOT the assembly '/Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/C:/Users/filip/AppData/Local/Temp/vs770D.tmp/iPhone/Release/mtouch-cache/64/Build/System.Core.dll'
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(700,3): error : Could not AOT the assembly '/Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/C:/Users/filip/AppData/Local/Temp/vs770D.tmp/iPhone/Release/mtouch-cache/64/Build/{Project Name Concatenated}.exe'
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(700,3): error : Could not AOT the assembly '/Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/C:/Users/filip/AppData/Local/Temp/vs770D.tmp/iPhone/Release/mtouch-cache/64/Build/Xamarin.iOS.dll'
1>C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(700,3): error : Could not AOT the assembly '/Users/blagoja/Library/Caches/Xamarin/mtbs/builds/{Project Name}/9b8c43f07ec1e49f9aaf4175779f6fbc/C:/Users/filip/AppData/Local/Temp/vs770D.tmp/iPhone/Release/mtouch-cache/64/Build/System.Web.Services.dll'

So the problem is, as i may see, that mtouch could not find mscorlib.dll, because the path: '/Users/builder/data/lanes/3985/22d559f4/source/xamarin-macios/builds/install/cross64/lib/mono/4.5/' does not exist on my MAC, i don't know how that path should be spawned or created?

More details can be found in attached file
Comment 1 Vincent Dondain [MSFT] 2017-02-27 06:20:48 UTC
Hey,

Did you alter your logs? I see some {Project Name} and {Project Name Concatenated}.

Do you have a test case or project we can check?

It does not seem right to me that it's looking for mscorlib.dll at `/Users/builder/data/lanes/3985/22d559f4/source/xamarin-macios/builds/install/cross64/lib/mono/4.5/` maybe @rolf has an idea about that situation.

Also can you please give us your environment informations?

About Xamarin Studio > Show Details
Comment 2 Jovan Meshkov 2017-02-27 10:28:53 UTC
Hey Vincent thanks for the reply!

Yes, I did alter the logs, I attached new logs, these logs are created after:

- Getting Mac OS Sierra 10.12 image from my MacBook Air and installing it on my Window's (host) Virtual Box

- On Virtual Box's Mac OS, I installed 
     XCode 8.2.1, 
     Xamarin Studio 6.2, 
     Xamarin.Profiler 1.2.0,
     Xamarin.Inspector 1.1.2.0
     Xamarin.iOS 10.4.0.123

- On Virtual Box's Mac OS, I additionally downloaded and installed 'MonoFramework-MDK-4.8.0.495.macos.xamarin' package 
(I thought that Mono was wrongly configured on my MacBook Air and for that reason the path '/Users/builder/[..etc..]' does not exist, but still on Virtual Box's Mac OS this package didn't help)

- On my Windows 10 (host) machine I reinstalled Xamarin (i hope the uninstall was from scratch) and installed these versions:
    Xamarin 4.3.0.784
    Xamarin.iOS 10.4.0.123

- Project iOS Build Properties
    General
     Linker behavior: Link all assemblies
     Enable Debugging: Checked
     Enable incremental builds: Unchecked
     Enable device specific builds: Checked
    Advanced
     Supported architectures: ARMv7 + ARMv7s + ARM (64 I guess)
     Use LLVM optimizing compiler: Unchecked

I also see it weird that path '/Users/builder/[..etc..]' exists in the logs because when I tried to find it, it doesn't exist on Windows nor on Mac 

New Attachments
- Diagnostic Log Xamarin iOS Phone (VBox Machine as MAC Build Agent)
Comment 3 Jovan Meshkov 2017-02-27 10:30:21 UTC
Created attachment 19999 [details]
Diagnostic Log Xamarin iOS Phone (VBox Machine as MAC Build Agent)
Comment 4 Vincent Dondain [MSFT] 2017-02-28 19:14:26 UTC
Hi Jovan,

So this could be a VS specific issue (involving the mac build agent).

Any chance you can try that on Xamarin Studio / Visual Studio for Mac?

An other option would be to give us a test case which currently fails for you on windows and I'll try it on the Mac.

Thanks.
Comment 5 Jovan Meshkov 2017-03-01 22:39:44 UTC
Hello Vincent,

The problem obviously was that i was using IntermediateOutputPath, same thing was happening on Xamarin Studio. So I created new solution and compared the .csproj configurations and determined that was the problem.

This is workaround so i guess it should be declared as bug?

Thank you for your effort and helping.
Comment 6 Vincent Dondain [MSFT] 2017-03-02 22:25:42 UTC
I fail to see what the actual bug is I'm sorry (:

Can you explain in more details?

What was the non working csproj and what is working?

It's likely that if you solved this issue because your local configuration was incorrect we should just close this bug (maybe open a new one if some behavior is unclear or unexpected wrt IntermediateOutputPath).
Comment 7 Timothy Risi 2017-04-10 18:17:14 UTC
We have not received the requested information. If you are still experiencing this issue please provide all the requested information and re-open the bug report. Thanks!