iOS Designer Error with RegisterServicePort

PDF for offline use

Let us know how you feel about this

Translation Quality


iOS Designer Error with RegisterServicePort

Sample Error

System.AggregateException: One or more errors occured ---> System.SystemException: RegisterServicePort(com.xamarin.MTHosting.2a0b1, Kernel returned: -308 (-308): (ipc/mig) server died


Errors with RegisterServicePort and similar error messages like above are commonly an issue with spyware/malware on the computer. Please consider the comment on this bug report for more information, along with the link to the Apple forum discussion on how to remove a possible infection.

To assist in diagnosing the issue, open up the macOS application Console and delete every file inside the User diagnostic reports section Then start Visual Studio for Mac and try to use the designer. If any new log files appear in this section after the designer has failed to initialize, please save these for us to analyze.

Please note the most important thing to check for is this file:


No matter the above results, if that file exists, the aforementioned spyware/malware issue is present on your computer.

The following link has the steps to remove this spyware/malware:

Xamarin Workbook

If it's not already installed, install the Xamarin Workbooks app first. The workbook file should download automatically, but if it doesn't, just click to start the workbook download manually.