Search code examples
xamarinxamarin.iosrider

The selected device was disconnected and cannot be accessed anymore from this machine


I am trying to run my Xamarin app in debug mode on an iPhone 11. But I'm getting a "cannot be accessed" error.

iPhone 11 connection error message

And when I attempt to open the simulator I get the following error.

Simulator error message

I've upgraded to the latest version of Rider (2020.2.3) but I'm still getting the issue. Why can't I run my app on iPhone?


Solution

  • You need to install additional XCode components—likely because of a recent MacOS update. Do the following:

    1. Open XCode

    enter image description here

    1. Click "Install" when prompted

    enter image description here

    Once the components have been installed, you should be able to run your app on an iPhone.

    enter image description here