Forum Cross Platform with Xamarin

The Xamarin Mac Agent could not be fully started

I have this error, any suggestions?

Starting Broker 4.0.0.1689 in port 57243...
SSH Connection established with the Mac 192.168.1.144:22:57243
Starting agents on Mac iMac-de-DEV.local (192.168.1.144)
Activating the Mac...
Starting Agent IDB 4.0.0.1689...
Connected to the Mac iMac-de-DEV.local (192.168.1.144) with Limited support.
Agent IDB 4.0.0.1689 is running
Starting Agent Build 4.0.0.1689...
Agent Build 4.0.0.1689 is running
Disconnected from Mac iMac-de-DEV.local (192.168.1.144)
An error occured starting the Designer 4.0.0.1689 agent: Value cannot be null.
Parameter name: At least one element in the specified array was null.

The Xamarin Mac Agent could not be fully started. Agents not started: IDB 4.0.0.1689, Designer 4.0.0.1689, Build 4.0.0.1689. Please check the logs for more details.
Starting Broker 4.0.0.1689 in port 54013...
SSH Connection established with the Mac 192.168.1.144:22:54013
Starting agents on Mac iMac-de-DEV.local (192.168.1.144)
Activating the Mac...
Starting Agent IDB 4.0.0.1689...
Connected to the Mac iMac-de-DEV.local (192.168.1.144) with Limited support.
Agent IDB 4.0.0.1689 is running
Starting Agent Build 4.0.0.1689...
Agent Build 4.0.0.1689 is running
Starting Agent Designer 4.0.0.1689...
An error occured starting the Designer 4.0.0.1689 agent: The operation has timed out.

The Xamarin Mac Agent could not be fully started. Agents not started: Designer 4.0.0.1689. Please check the logs for more details.
Disconnected from Mac iMac-de-DEV.local (192.168.1.144)
The project AMCMobilePOSiOS was built while disconnected from a Mac agent, so only the main assembly was compiled. Connect to a Xamarin Mac build agent to build the full application.

The project AMCMobilePOSiOS was built while disconnected from a Mac agent, so only the main assembly was compiled. Connect to a Xamarin Mac build agent to build the full application.

Starting Broker 4.0.0.1689 in port 54625...
SSH Connection established with the Mac 192.168.1.144:22:54625
Starting agents on Mac iMac-de-DEV.local (192.168.1.144)
Activating the Mac...
Starting Agent IDB 4.0.0.1689...
Connected to the Mac iMac-de-DEV.local (192.168.1.144) with Limited support.
Agent IDB 4.0.0.1689 is running
Starting Agent Build 4.0.0.1689...
Agent Build 4.0.0.1689 is running
Starting Agent Designer 4.0.0.1689...
An error occured starting the Designer 4.0.0.1689 agent: The operation has timed out.

The Xamarin Mac Agent could not be fully started. Agents not started: Designer 4.0.0.1689. Please check the logs for more details.
Disconnected from Mac iMac-de-DEV.local (192.168.1.144)
Show simulator failed. You are not currently connected to a Xamarin Mac Agent server. Please use the Xamarin iOS configuration page to connect to one.

Posts

  • rmahaffeyrmahaffey USUniversity ✭✭

    Don't have and answer for you but experiencing similar issues. I manually connect the agent, but as soon as the build starts the agent is disconnected:

    Starting Broker 4.0.0.1697 in port 56961...
    SSH Connection established with the Mac 15.29.183.16:22:56961
    Starting agents on Mac 15.29.183.16 (15.29.183.16)
    Activating the Mac...
    Starting Agent IDB 4.0.0.1697...
    Connected to the Mac 15.29.183.16 (15.29.183.16) with Limited support.
    Agent IDB 4.0.0.1697 is running
    Starting Agent Build 4.0.0.1697...
    Agent Build 4.0.0.1697 is running
    Starting Agent Designer 4.0.0.1697...
    There is a mismatch between the installed Xamarin.iOS (version 9.2.1.54) on the Mac 15.29.183.16 (15.29.183.16) and the local Xamarin.iOS 9.2.1.51. While this is not necessary an issue, it might cause unexpected behaviors. When applying updates, make sure to keep both the Mac and Windows in sync.
    There is a mismatch between the installed Xamarin.iOS (version 9.2.1.54) on the Mac 15.29.183.16 (15.29.183.16) and the local Xamarin.iOS 9.2.1.51. While this is not necessary an issue, it might cause unexpected behaviors. When applying updates, make sure to keep both the Mac and Windows in sync.
    Agent Designer 4.0.0.1697 is running
    Connected to the Mac 15.29.183.16 (15.29.183.16) with Full support.
    Disconnected from Mac 15.29.183.16 (15.29.183.16)
    The project x was built while disconnected from a Mac agent, so only the main assembly was compiled. Connect to a Xamarin Mac build agent to build the full application.

    The project x was built while disconnected from a Mac agent, so only the main assembly was compiled. Connect to a Xamarin Mac build agent to build the full application.

  • BrendanZagaeskiBrendanZagaeski USForum Administrator, Xamarin Team Xamurai

    Just to add a quick link to a document that might be helpful in locating the additional log files to check, there is this guide:

    http://developer.xamarin.com/guides/ios/getting_started/installation/windows/xamarin-mac-agent/xma-troubleshooting/

    If you end up stuck on this issue even after running through that guide, you can write to [email protected] (if using the Starter or Trial editions) or "Business & Enterprise Support" for additional help with these initial setup and connection steps. (To save a little back and forth, you can attach the log files mentioned in that troubleshooting guide to your email.)

  • VictorArce.8951VictorArce.8951 MXMember ✭✭

    To everyone having the connection problem or the provisioning files, simulators, etc not getting loaded,
    the workaround is:
    1) Click on the green/yellow/gray monitor for the xamarin mac agent connection config.
    2) Right click and Disconnect
    3) Wait and try to reconnect again

    Sometimes it can take 2-3 tries to get it to work and to get list of simulators loaded

    Its painful but the intellisense bug is way more painful than this.

    Thanks :smile:

  • AndrewNikAndrewNik UAMember ✭✭

    @BrendanZagaeski Hello! I have a student subscription and I've got problems with Designer agent as well. I've sent e-mail to [email protected](as you mentioned), but got a reply that I'm not eligible to contact support that way. I've attached Xamarin logs to this post

  • Got the same problem. For me the solution was: Make sure the same user is logged in into the Mac as the credentials filled in into the Visual Studio MAc Agent credentials

  • MichavanBredaMichavanBreda USMember

    I got the same problem after locking my screen on my Windows device.
    Solution: Restart Visual Studio and connect the the Mac device again.

  • JordanMaxJordanMax USMember ✭✭

    @AaronBrooks said:
    I had previously been pointing to an explicit older version of Xcode, which was later deleted. This caused the error in Visual Studio -- it can be fixed in Xamarin Studio -> Preferences -> Projects -> SDK Locations -> Apple. Pointing it back to the latest Xcode, restarting Xamarin Studio, then disconnecting/reconnecting Visual Studio Agent fixed it for me.

    See this bug listing for details. https://bugzilla.xamarin.com/show_bug.cgi?id=44240

    This (appears) to be the issue with me, thanks!

  • MelquiMelqui BRMember

    I was able to solve this problem by alternating the compilation between debug and release, then it worked again.

  • Hi All ,

    Just Check where Xcode was installed from mac (Application or download ) .

    Verify mac and windows SDK path

    Windows

    Visual Studio ==> Tools ==> Options ==> Xamarin==> Ios(Check xcode path)

    Mac

    Xamarin studio ==> preferences ==> Apple ==> verify xcode path

    after changing xcode path and restart Visual Studio and xamarin studio .

    re connect device

    Thanks
    Suthahar.J

  • Arun_Robinson_AArun_Robinson_A USMember ✭✭

    If you are using Visual Studio, Please Update Xamarin in both Windows System and Mac System. Also update your XCode in MAC.

  • MahibaRajaseelanMahibaRajaseelan USMember ✭✭
    edited June 2017

    @AaronBrooks said:
    I had previously been pointing to an explicit older version of Xcode, which was later deleted. This caused the error in Visual Studio -- it can be fixed in Xamarin Studio -> Preferences -> Projects -> SDK Locations -> Apple. Pointing it back to the latest Xcode, restarting Xamarin Studio, then disconnecting/reconnecting Visual Studio Agent fixed it for me.

    See this bug listing for details. https://bugzilla.xamarin.com/show_bug.cgi?id=44240

    This works for me. Thanks @AaronBrooks

Sign In or Register to comment.