skip to Main Content

When trying to run my Xamarin.iOS from Visual Studio on my Windows machine, while paired to my Mac, I get the error

error HE0046: Failed to install the app ‘…’ on the device ‘iOS 15.4 (19E240) – iPad (9th generation)’: simctl returned exit code 72

2

Answers


  1. Chosen as BEST ANSWER

    Start XCode on the Mac. XCode will indicate that some tools are missing to enable debugging, and prompts you to allow it to automatically install them - allow it to do this, then try running again from Visual Studio - no restarts required.


  2. Another time, this was fixed by

    Xcode menu > Preferences… > Locations tab > Select Command Line Tools dropdown
    I was asked for a password, then it all worked again.

    Based on https://stackoverflow.com/a/54876998/270155

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search