I always get the message Could not connect to the debugger on my iPaid Air. I use Visual Studio for Mac (17.6 build 402).

Kim Strasser 661 Reputation points
2023-02-26T19:29:57.3666667+00:00

I got this message today when I tried to debug my iOS project on my iPad Air, iOS version 16.3.1. A few days ago the same application worked on my iPad Air but now I always get Could not connect to the debugger. The developer mode is enabled on my iPad Air and my Apple certificates are not expired.

I updated Visual Studio for Mac a few days ago. But I'm not sure if this error came immediately after updating Visual Studio for Mac to version (17.6 build 402) or if it still worked some time with the new Visual Studio version.

Why is it not working?

Bildschirm­foto 2023-02-26 um 20.05.19

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,599 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Kim Strasser 661 Reputation points
    2023-02-27T13:02:01.9+00:00

    It works now. I deleted the obj and bin folders and cleaned the project. It's possible that this solved the issue.

    1 person found this answer helpful.
    0 comments No comments