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

Problem to start iOS Simulator from Visual Studio

$
0
0

When trying to run my code from Visual Studio on my Mac I get the following error:

_Mono.IOS.VisualStudio.MonoTouchPackage Error: 0 : Unable to connect to the remote server
Mono.IOS.VisualStudio.MonoTouchPackage Error: 0 : Failed to contact the build server.
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 192.168.2.104:49917
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at Mono.IOS.VisualStudio.Utilities.Helpers.RequestServerInfo(VSBuildServerClient server, Boolean suppressMacActivationDialog, Dictionary`2 queryVariables)
Mono.IOS.VisualStudio.MonoTouchPackage Error: 0 : Exception caught.
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 192.168.2.104:49917
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
   at System.Net.HttpWebRequest.GetRequestStream()
   at MonoTouch.Tools.Utilities.BuildServerClient.ServerIO.Server_Post[TResponse](String command, MemoryStream ms, IDictionary`2 queryVariables)
Mono.IOS.VisualStudio.MonoTouchPackage Error: 0 : Server command 'SdkStatus': unable to retrieve status of the Xamarin.iOS SDK on the server

No response received from the server

Then, when I go to Xamarin Build host log it shows:

_error MT1008: Failed to launch the simulator: Could not find a part of the path "/Users/gustavomonteirocastro/Library/Caches/Xamarin/mtbs/builds/CemigPocketAgencyiOS/e863bb9e-a209-4c41-aa04-6a66fbe92096/output/Debug/iPhoneSimulator/simulator-config"._

Did anyone have this problem before? Does anyone know how to fix it?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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