Xamarin deploy to iPhone directly from Visual Studio - xamarin

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.
Any pointers would be helpful.

Your iPhone needs to be connected to the OS-X Host:
http://developer.xamarin.com/guides/ios/getting_started/installation/windows/

Related

How can connect VS2017 and Mac agent which are both on different machine for Xamrin IOS development?

I have installed VS2017 on a windows machine and Xamarin.ios on other MAC machines.
Is it possible to connect VS2017 from windows machin to Mac agent of MAC machine.
Yes. You can connect from visual studio to the mac agent as long as the 2 machine are on the same network. You can refer to HERE for the guide to setup the connection. It is for VS2015 but should be the same for VS2017.
As #Jason said, it is supported by Visual Studio.
You can refer to this Xamarin official documentation on how to connect them:
This guide explains the features provided Xamarin.iOS for Visual Studio and how the connection to the Mac build host is made.
Connecting to the Mac
If you are using Visual Studio Enterprise, you can enable "Remote Simulator to Windows" feature. Then iOS simulator will be showed directly on the PC and you don't need to move to the Mac when you debug apps. Refer to the following link for more details:
Remoted iOS Simulator (for Windows)

How to publish IOS version of xamarin app via visual studio in windows?

I need to publish my android app that make it with visual studio enterprise 2017 and get IOS version of My App.
How to do this?
If you wish to compile your Xamarin application on iOS, you must have a Mac machine and deploy your app through there. You are not able to deploy an iOS version of your application on Windows, unless you are tethering to a Mac device through LAN for example using Visual Studio 2017.
Chick this out too, hope it helps!

Xamarin - Connect to Mac

When developing with Visual Studio 2015, is it possible to use a Mac for both iPhone and Android builds?
A virtual machine would cope with Windows and Visual Studio.
The host system is an Apple Mac.
So can I connect from the virtual machine to the host system concerning Xamarin? (like 2 different computers, which is frequently stated in Xamarin tutorials)
Running Windows in a Virtual Machine on the Mac to run Visual Studio is possible. You would be able to connect to the build host on the host machine and build your iOS project.
However, you can also just run everything on the Mac and rely on Xamarin Studio or Visual Studio for Mac to build both iOS and Android.

the ios designer mac agent is not available

Hi am using visual studio 2015 community to create ios app.I am getting this error all time like the ios designer mac agent is not available.I am using win-7 64-bit os.
You have to have a Mac paired with your Windows OS in order to utilize the iOS Designer.
Xamarin.iOS Requirements:
Windows 7 or higher.
Visual Studio 2012 Professional or higher.
Xamarin for Visual Studio.
A Mac running OS X Yosemite (10.10) or higher (although we recommend the latest stable version).
Xamarin iOS SDK.
Apple’s Xcode(7+) IDE and iOS SDK (we recommend the latest version from the App Store).
The Windows computer must be able to reach the Mac via the network.
Xamarin.iOS for Visual Studio accomplishes an amazing feat: it lets you create, build, and debug iOS applications on a Windows computer using the Visual Studio IDE. It cannot do this alone – iOS applications cannot be created without Apple’s compiler, and they cannot be deployed without Apple’s certificates and code-signing tools. This means that your Xamarin.iOS for Visual Studio installation requires a connection to a networked Mac OS X computer in order to perform these tasks. Once configured, Xamarin’s tools will make the process as seamless as possible.
Ref: https://developer.xamarin.com/guides/ios/getting_started/installation/windows/#System_Requirement
This worked for me perhaps it might work for you
Delete the Xamarin folder in your %localappdata%\Local\Temp
If this fails reinstall/update mono on Mac

Visual Studio Deploy to device Stucked Universal App

I'm trying to deploy a universal app to a windows phone (development ready Lumia 520) device (I could deploy with Visual Studio 2015 RC).
Now that I'm using the latest visual studio and windows 10 sdk tools if I try to deploy to device (I'm using ARM) then the output just says:
Deploying started...
And gets stuck forever (I can still use visual studio) but it never ends.
Any suggestions?
Thanks in advance
I needed to change my phone device to developer mode.

Resources