Resolving cross platform error? - ios

I am attempting to build iOS apps in C# in Visual Studio with the help of the Xamarin software. My question is, is there any other solutions for resolving the build host connection between my Mac and PC? I have successfully downloaded the Xamarin software on the PC but on my mac i cant install Xamarin because it has the 10.6.8 software but Xamarin needs 10.7.0 at the least. I have already installed Xcode successfully as well.

Unfortunately you will need to update your Mac build host machine to 10.7 in order to use the cross platform building solution provided by Xamarin.
This is because one of the key requirements is that you have Xamarin.iOS installed on the Mac build host which, as you mentioned, requires 10.7.

Related

Xamarin App running in Ios simulator using visual studio

I am facing the issue to run the xamarin app in IOS simulator. Whenever i am trying to run this app it was asking me to add or pair the Mac. Since I dont own the Mac I tried to install Xamarin.Ios in windows. In this process i need to install the XCode in my windows 10 Os. First of all i am unable to download the Xcode tool from Apple portal with valid credentials. I followed the below 2 links but no luck to download and install the Xcode. Could you guys please help me the easiest solution to download install the Xcode to do the next level of run the App in windows.
https://learn.microsoft.com/en-us/xamarin/ios/get-started/installation/windows/?pivots=windows
https://apps.apple.com/us/app/xcode/id497799835?mt=12
Bottom line is that iOS apps must be build using a licensed Mac OS, period. Visual Studio for Windows does not actually build the iOS app, what it does do is connect to a Mac (which must have XCode installed) and facilitate a remote iOS build via XCode. However, if you have a Mac, you can build both iOS and Android code directly on your Mac using Visual Studio for Mac. Yes, it is frustrating that you must have access to a Mac OS to build iOS apps, but this is a requirement and there is no way around it.

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?

Debug IOS Application on the AMD notebook

I have notebook with the AMD FX 7500 processor and Windows 10 pro.
I also have installed VS 2015 Community and Xamarin. Is it possible to debug developed iOS application without iPhone? If yes, then how ?
You cannot build, run or test an iOS app without a Mac.
You may install Mac OS on VM on a PC but it's illegal (Apple does not allow this in the Mac OS TOS) and it often does not really work.
As Xamarin doc says:
There are a few requirements that must be adhered to when developing
for iOS in Visual Studio. As briefly mentioned in the overview, a Mac
is required to compile IPA files, and applications cannot be deployed
to a device without Appleā€™s certificates and code-signing tools. Also,
the iOS simulator can be used only on a Mac.
No. You have to have an OSX machine to act as a build host.

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