A Mac build host was not automatically detected, Windows 8 - ios

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.

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

Appcelerator ios & windows bridge

I read recently, that MS launched public beta of Windows Bridge - tool that can convert existing iOS application to Universal Windows app. I tried it on Hyper-V virual machine(Win10 required) and it converted my app, but when I try to build it, it throws error:
'AvailabilityInternal.h' file not found # myApp_Prefix.ch Line 12
Have you anybody tried this out? I think this can be good solution to port iOS apps created with Appcelerator Studio to WP without complete recoding.
Thank you.
I've no experience with using Windows Bridge, but why not just build your Titanium app for Windows Phone directly? Titanium supports Windows Phone 8.1 since Titanium 5.0 and the release in Q2 (5.3) will add support for Windows 10 Universal.
See this guide:
http://docs.appcelerator.com/platform/latest/#!/guide/Installing_the_Windows_Phone_SDK

Cordova Visual Studio 2015 RC Community : Remote Device iOS

I'm currently discovering Visual Studio 2015 RC Community to develop mobile applications with Cordova.
I have a Mac (OS X Yosemite) with the necessary tools to use the iOS Remote Agent from within Visual Studio. I have an iPad connected to my Mac to deploy a basic Cordova application on this device.
Unfortunately I don't understand why in the list of iOS devices, I have no "remote device" (as shown in the screenshot tutorial https://msdn.microsoft.com/fr-fr/library/dn757056.aspx ) to deploy the application on the iPad connected to my Mac.
How can I resolve this problem?
Thank you for your answsers ;-).
Are you using a localized VS version as this is a known issue in localized version? If so, then as a workaround, can you try copying %PROGRAMFILES(X86)%\MSBuild\Microsoft\VisualStudio\v14.0\ApacheCordovaTools\vs-mda-targets\iOSRemotEDevice.xml into the fr-FR folder. The string wont be localized though.

Resolving cross platform error?

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.

Resources