Forum Workbooks & Inspector


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

unable to connect to ios agent

Whenever I create an iOS workbook, I get an error that it is unable to connect to the agent.

I checked Visual Studio settings at "Preferences > Project > SDK Locations > Apple", and see that it successfully found XCode at it's default path in /Applications/
I checked xcode-select -p and found that it was instead pointing to /Library/Developer/CommandLineTools.

I ran xcode-select -r, which reset it to /Applications/
Now it matches what is shown in VisualStudio, but after restarting workbooks, it still will not connect.

Does anyone know of any further troubleshooting steps I should try?


  • kcochrankcochran USMember

    Sorry, I should note that I am using Version 1.3 Alpha 2 because I needed the increased NuGet support in that version, but this also did not work when I was on the latest stable release, so I don't believe it's an alpha issue.

  • SandyArmstrongSandyArmstrong USXamarin Team, Insider Xamurai

    @kcochran Hello! Can you attach the log file found at ~/Library/Logs/Xamarin/Inspector/Xamarin Inspector {date}.log?

    Have you launched Xcode since you installed it? Xcode may need to be run once before the simulator is available for use.

    Also, are you able to build and debug a simple iOS app from Visual Studio for Mac?

Sign In or Register to comment.