Xamarin.forms: Failed to execute 'which mono64': ExitStatus = 1

Created on 3 Apr 2019  路  9Comments  路  Source: xamarin/Xamarin.Forms

Description

I can't run my Xamarin.iOS application.

Steps to Reproduce

  1. Run the application from the IDE.

Expected Behavior

Application starts on the iPad Mini connected to the Mac Mini that I connected to.

Actual Behavior

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

Basic Information

  • Version with issue: 3.4.0.1009999
  • Last known good version: There's never been a good version
  • IDE: Rider, Visual Studio 2017
  • Platform Target Frameworks:

    • iOS: 8.0.30703

  • Nuget Packages:

    • Esri.ArcGISRuntime.Xamarin.Forms/100.2.1

    • Esri.ArcGISRuntime.Xamarin.iOS/100.2.1

    • Xamarin.Forms/3.4.0.1009999

  • Affected Devices:

    • iPad Mini

bug

Most helpful comment

Reported it to Visual Studio.

VS Bugs

All 9 comments

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.

VS Bugs

Was this page helpful?
0 / 5 - 0 ratings