2
votes

I have a cross platform xamarin project running on Windows VS 2017. I have a mac which I am connected to with the latest version of Xcode and VS installed with the xamarin versions matching. When I go to build the project, I get an error: "The Xamarin Build Agent is not running on the Mac. An active Build Agent is required to perform the build".

I know for sure that I'm connected, and that the xamarin versions are the same on the mac and windows. I followed all the steps here: https://developer.xamarin.com/guides/ios/getting_started/installation/windows/connecting-to-mac/troubleshooting/

I'm at a loss here, and any help would be greatly appreciated.

2
Just a courtesy check, you do have xamarin studio and the correct sdk's installed on the mac right? In addition, I think that you should be running the mac with the latest OS (Sierra) for best results. Sometimes the mac agent can be a bit temperamental.Bennett Yeo
I have visual studio with latest version of xamarin installed on mac. I don't think it's possible to download xamarin studio anymore. It's been deprecated in favor of using VS. And the OS is Sierra.jdoyle1331
Strange, I have xamarin studio installed on a mac VM and I can't use my mac as a build agent without that installed. The visual studio on the non-mac side seems to communicate with the local mac's xamarin studio to build and run.Bennett Yeo
Hmm do you know where it's possible to get that download?jdoyle1331
@BennettYeo You have to install Mono and Xamarin.iOS on Mac build host, but not Xamarin Studio or Visual Studio for Mac. Once you setup remote login on the Mac, of course you have to keep the versions in sync between the machines ;-) otherwise the error in this question will be seen. As far as versions go, unless you are running the "old" Xamarin 3.x with Visual Studio 2010/13, Visual Studio (Windows) will take care of installing build agent...SushiHangover

2 Answers

0
votes

I have the same problem, i found this solution on xamarin forum https://forums.xamarin.com/discussion/100185/the-xamarin-build-agent-is-not-running-on-the-mac

I hope this of help

0
votes

I've got the error : "The Xamarin Build Agent is not running on the Mac. An active Build Agent is required to perform the build". Tools -> extension and updates Find Xamarin.Apple SDK Click Revert.

Everythings come back to normal. Thanks for solution

Benoist