Connect several PC to the same Xamarin Mac Agent on Apple - ios

Any info on this:
Just to clarify, with Xamarin 4, The Xamarin Mac Agent supports multiple instances of Visual Studio to connect to one Apple Mac machine for build.
But: can you connect 2 PC to the one Apple mac for build?

Got info on twitter from #JamesMontemagno
Its multiple VS to 1 Mac. It is based on logged in users
From: https://twitter.com/JamesMontemagno/status/669940265101070336?s=09

Related

Xamarin iOS App deployment

The docs from Xamarin aren't explicit as to where an iOS device needs to be attached. I'm using VS to build a Xamarin app through a remote Mac Builder (connected via VPN) but my iphone is attached to my PC with Visual Studio. Its completely unclear as to whether or not you can deploy a compiled to from the PC you're running Visual Studio on or whether the iOS device needs to be USB'd to the remote Mac running the build.
Even though Xamarin offers developers the way to use C# creating native iOS applications, we also need to pair to a Mac which is required for compiling native iOS applications. So of course if you want to deploy on a real device, you need to connect it to the Mac.
It seems you have already known how to create a provisioning profile. This documentation tells you how to pair to a Mac to deploy applications. Also before doing that you also need to complete the following steps:
On a Windows machine, install Visual Studio 2017
On a Mac, install Xcode and Visual Studio for 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?

Xamarin iOS | Error Connecting Xamarin Build Host from Visual Studio on Windows

We are attempting to connect to a Xamarin build host running on a Mac Mini (OS X 10.11 Yosemite) to a Visual Studio running on a Windows 8.1 Machine. We have updated Xamarin.iOS to same version on both system.
The issue:
My Visual Studio can detect the build host and asks for PIN to pair with the build host. But even if I'm entering the same PIN, it never accepts, and keeps giving this error(PFA Screenshots):
The PIN you entered was invalid.
Please ensure you have entered the correct PIN.
You may have to close this dialog and retry from Visual Studio.
I've restarted both systems and tried to unpair and pair again with new PIN, but no success.
Needless to say, but both systems are on same network and VS can detect the build host.
My Mac Details are in attached image –
Visual Studio Details:
Microsoft Visual Studio Professional 2013
Version 12.0.31101.00 Update 4
Connecting to your build host via telnet you should not be receiving any response until you enter HELO.
The response that you are getting before the HELO MTBSERVERPORTS:62592;62595 is incorrect (a Xamarin bug).
objc[66118]: Class WebAnimationController is implemented in both /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebKitLegacy.f‌​ramework/Versions/A/WebKitLegacy and /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit. One of the two will be used. Which one is undefined.
If you are running any thing older that the Xamarin 3.9 release, you need to upgrade. If that does not help, either contact Xamarin Support to help troubleshoot why this is happening or upgrade to the Xamarin 4.0 for Visual Studio.
Personally, I would upgrade to the Xamarin 4.0 for Visual Studio (currently an alpha release) as it replaces the PIN pairing with a SSH tunnel that avoids all of the older issues with 3.0 Build Host connection problems.
Re: http://developer.xamarin.com/releases/vs/xamarin.vs_4/xamarin.vs_4.0/
This version also introduces the new Xamarin Mac Agent which replaces
the old Xamarin Build Host with a new approach taking advantage of the
built-in MacOS Remote Login feature based on SSH for a faster and more
reliable connectivity.
First check firewall rule on your both machines if the port (5000) is not blocked.
Second read this link
https://kb.xamarin.com/customer/portal/articles/1733609-additional-build-host-connection-troubleshooting-steps
Try to connect manually by telnet.

WinObjC in Macbook

The prerequisite to work with BridgeiOS is to have windows 10 and latest visual studio.
Is there a way we can develop it in Macbook?
Yes, you can develop Windows 10 apps on a Mac Book, but you will need to have Windows installed. I use a Mac Book pro, and I have three ways of running windows:
1) Installed via Bootcamp, which Apple provides
2) Installed via a virtualized piece of software, like Parallels, which allows me to boot into OS X, then into a Windows environment.
3) If you have an Azure subscription, you can create an Azure VM with Visual Studio already installed, and that way you can do development from any machine. Here is a tutorial on how to do that.
If you need a free Azure account, you may be eligible for BizSpark. This can pay for the bill for your Azure VM running Visual Studio.
Just as you need a Mac to build for iOS, you need a Windows Machine to build for Windows (even with the iOS Bridge).
However, unlike with Apple, Microsoft will let you use a virtual machine.
I have a MacBook running Windows via Parallels. There's also a free version of Visual Studio available. So it's definitely possible to build for Windows 10 on a Mac.

A Mac build host was not automatically detected, Windows 8

I've Windows 8 and I'm trying to develop iphone application. I've downloaded and installed xamarin with ios development tools, started the visual studio 2012. So when I'am trying to create ios project, the window appears with message: "A Mac build host was not automatically detected". Can anybody help me? I searched the answer for a long time but did not succeed, thank's in advance!
Xamarin for Visual Studio still requires a Mac on the same network in order to build the app itself. iOS apps can't be built on Windows, currently.
From: http://xamarin.com/visual-studio
[...] with a networked Mac providing the build and deployment services.

Resources