I can't run my Xamarin.iOS application.
Application starts on the iPad Mini connected to the Mac Mini that I connected to.
Build hangs for a bit and then nothing happens.
Works fine on the Mac Mini in Visual Studio for Mac.
Since this appears to be a communication problem I figure this warning is relevant:
Xamarin.Messaging.targets(41, 3): [null] C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Xamarin\iOS\Xamarin.Messaging.targets(41,3): warning : Failed to execute 'which mono64': ExitStatus = 1
If I set ContinueOnDisconnected in my project file to false I get this error:
Xamarin.Messaging.targets(41, 3): [null] No enough information has been provided to MSBuild in order to establish a connection to a Remote Server. The build can't continue without a connection
Here's the device log for the Mac Mini for the duration of an attempted build: device.log
Here's the build log from the Windows machine: BuildLog.zip
%LOCALAPPDATA%\Xamarin\Logs\15.0\2019-04-03_16-23-35.22016.Ide.log
Okay I fixed it in Rider by recreating the run config .xml file. It seems that the TargetiOSDevice
value wasn't being sent to the Mac as a result, although that's just speculation on my part. Visual Studio is still broken since it doesn't use the run config file that Rider does.
/cc @spouliot
Hi @AceCoderLaura,
It looks like your build is succeeding, but there's no information to identify why the app is failing to launch on attached logs.
Could you report this issue on Visual Studio*? That way we'll get more logs that can help us identify the problem you're facing. It'd be great if you can report it after reproducing it (in the same VS session) while you remain connected to your Mac, so we also get the Mac side logs with a full repro.
*How to report a problem from Visual Studio
Thanks!
I'll go ahead and close this issue, since it seems to be outside the scope of Xamarin.Forms. Thanks!!
Reported it to Visual Studio.
Most helpful comment
Reported it to Visual Studio.