Xamarin build agent not running on mac error - ios

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.

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

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

Related

Building iOS app with Xamarin and Visual Studio 2019 - Error Wrong Version of Xcode installed when it isnt

I am trying out Xamarin on the Mac. I have an oldish Mac that DID have Xcode 10.1 on it.
I tried to build the iOS app and got the following error:
Severity Code Description Project File Line Suppression State
Error The Xcode version installed on the Mac (10.1) is not compatible with this version of Visual Studio. This may cause unexpected warnings or errors when building and deploying iOS projects. Please install Xcode '11.3' or visit the documentation to learn more. 0
I upgraded the Mac to Caitlin and upgraded Xcode to 11.3.
I can connect to the Mac and actually can run the iPhone simulator with the app, however, if I run the build, I STILL get the same error, like its not figured out how to update itself?
I have done the 'forget this Mac' and even renamed it on the network in case there was some legacy in a file somewhere.
I have dumped the solution and created a new one from the templates and still get the same error ... hair being torn out...
It might be one of those things that just goes away after a while I don't know. Any ideas?
Thanks.
EDIT * I realised that I wasnt clear. I am running VS2019 on a PC connecting to my Mac.

Xamarin Build agent not running

When I am trying to build my Xamarin iOS project, I am facing this issue:
The Xamarin Build Agent is not running on the Mac. An active Build Agent is required to perform the build.
In order to use Visual Studio to compile iOS project, you will need to have a Mac setup with Xamarin for your Visual Studio to connect with (Physical mac or cloud services like mac in cloud). Refer to the xamarin guide HERE.
You say you uninstalled & reinstalled Xamarin... do you mean on the Mac?

Delphi iOS Simulator error message 'Session ended'

I am trying to run iOS Simulator from Delphi having setup the following needed configurations:
I am using mac with Parallel Desktop for my RAD Studio virtual machine.
I am using Delphi 10.1 Berlin.
Already installed an XCode and running.
I have my command line tools.
I have platform assistant and running in my mac.
I already created my connection profile using the IPAddress and port given by PAServer.
Installed SDK for OSX and iOS in the SDK Manager.
I have no problem running my OSX on my Mac.
The only issue I have is my iOS Simulator is not working. Here'sscreenshot of the error message.
I swear I checked the recommended troubleshoot procedures several times but no avail.
I hope someone help me get through with this. I already spent the whole day searching/troubleshooting this connection.
Many thanks and cheers!
There is a Hotfix for 10.1 Berlin called "30680_rad_studio_10.1_berlin_hotfix_11_jan_2017". It should be available for download from your EDN account under "My registered user downloads".
You need to copy the files from this zip archive onto your Mac in the PAServer-18.0 application folder /Applications/PAServer-18.0.app/Contents/MacOS. There is a readme_en.txt with a detailed description.

Xamarin downloading and updating error on MacOs Sierra VM

I have a MacOS Sierra VM on VMWare and I'am having problems to download from the Xamarin repositories.
When I first installed Xamarin on Mac, I did the manual install of all downloads from xamarin because the installer gave me an error.
I need to update to Xamarin.IOS 10.4.0 but it gives me an error on automatic installer and I cant download anything.
The manual installer on this page: https://store.xamarin.com/account/my/subscription/downloads
don't show the Xamarin.IOS 10.4.0 version that I need, the last it shows its 10.3.1
Im new on Mac Os but I have internet on my VM and I don't know what to do.
Any ideas?
Any help is worth. Thank you.
I found a manual installer on this url:
https://dl.xamarin.com/MonoTouch/Mac/xamarin.ios-10.4.0.123.pkg
I installed it whitout problems. I dont understand why this link isn't on: https://store.xamarin.com/account/my/subscription/downloads
i found it by myself.
The automatic installer of updates still dont working but this resolve my problem of the Xamarin.IOS 10.4.0.123 version.
Use Xamarin Studio for updates. Even if it fails to complete downloads, you can find all those URLs later in ~/Library/Caches/XamarinStudio-6.0/TempDownload/index.xml.
I also have problems with automatic updates and all the links to the latest versions are almost always missing on Xamarin's Downloads page.

Visual Studio 2015 hangs on deploying cordova application

I'm trying to build a blank cordova application into my iPad Air 2 with Visual Studio 2015 Enterprise edition as i've already done it with success with the release candidate version.
I've got node.js v 4.2.2 on both machines since version 5.2.0 was hanging the build indefinitely, i've also got latest version of iTunes (12.3.1) as well as iOS 9.2 on the mobile device.
I've got the remote MAC set up and everything works fine for the building part, infact i've checked and the .ipa file is there at the end of the build into the folder ...\Documents\Visual Studio 2015\Projects\BlankCordovaApp1\BlankCordovaApp1\bin\iOS\Debug and if i launch that it will correctly install into iTunes and the iPad itself.
The problem is that the build action with Configuration "iOS" and "Local Device" with the iPad connected to the windows 7 PC will hang indefinitely after copying back said .ipa file after writing this line into the Build Output:
2>------ Deploy started: Project: BlankCordovaApp1, Configuration: Debug iOS ------
No matter how much time i wait it wont start the debug session even if i authorized the pc onto the iPad and have my web Inspector turned on onto the safari options. At this point i have to interrupt the build to be able to work again.
What really gets me is that if i connect the iPad to the MAC machine and build with "Remote Device" option the build works fine and i can debug remotely from my windows pc, unfortunately working like that isn't an option since the Apple machine isn't in the same room of my developing machine.
Any insight about this issue would be really appreciate, thanks in advance.
You are using a recent version of node and thus will also need to use a recent version of Cordova.
Specifically, you need to use Cordova 5.3.3 to be able to use Node.js 4.x.x+. The hang you are experiencing is exactly why. It's an incompatibility with a down stream node module and Node 4.x.x. You can downgrade to Node 0.12.x or upgrade your Cordova project to 5.3.3.
http://cordova.apache.org/news/2015/09/22/tools-release.html
Note that Node 5.x.x is only supported in Cordova 5.4.1.
This should be addressed in the latest VS Tools for Cordova Update 6. Deploying to local device is now available.
Take a look at http://microsoft.github.io/vstacoblog/2016/02/04/announcing-update-6.html.

Resources