I have downloaded the latest Xamarin Studio for Mac. Surprisingly it's not showing up the iOS Project.
What I am missing?
1. Ensure Xamarin.iOS Installed
Download the Xamarin Universal Installer, and run it again. The universal installer will automatically detect if you don't have Xamarin.iOS installed and it will automatically install it for you.
2. Ensure Xcode is Updated, Installed & Configured
a. Download/Update Xcode
Open the App Store app on macOS and search for Xcode. From this screen, download/update and install Xcode.
b. Run Xcode Once
In order for Xamarin Studio to connect to Xcode, you have to open and run Xcode at least once after installing/updating Xcode.
Open and run Xcode, accept all of the prompts, and wait for Xcode to finish initializing.
3. Ensure Xamarin Studio Is Pointed to Xcode
Open Xamarin Studio Preferences and ensure that Xamarin Studio is pointed to the correct version of Xcode on your machine
Related
I want to develop a Mac app using Xamarin. However, when I open the New Project wizard, the Mac templates are nowhere to be found.
I saw "Missing Project Templates for Mac Apps" on the Xamarin forum, but I could not find much else about this topic online, although the answer in that thread did clear up that I don't have the SDK, but (thankfully) my Xcode path is valid.
How can I install Xamarin.Mac (or any other Xamarin SDK) for an existing installation of Visual Studio for Mac?
After some more searching online, I found Install Visual Studio 2017 for Mac in the Visual Studio docs, which finally cleared everything up:
Note
If you chose not to install a platform or tool during the original installation [...] you must run the installer again if you wish to add the components later.
(The installer itself is around 30 MB, so, not too bad.)
I get this when I want to create a new Android project.
Make sure Android Studio is not installed on your computer. If it is, uninstall it and run the Visual Studio installer again until all Android SDK errors go away.
Make sure Visual Studio is closed and install the most recent stable version of Xamarin for Visual Studio . I found it here: https://store.xamarin.com/account/my/subscription/downloads. (Trying to install it through VS didn't work for me under Tools -> Android -> Settings -> Xamarin for Visual Studio Updates.)
Make sure you have Java SDK version 7 installed on your machine. You also must use the 32-bit version even if you have a 64-bit machine. This was key!
Install the Android SDK. Standalone version, not Android Studio + Android SDK.
Install the Android NDK.
Restart your computer and open Visual Studio. Go to Tools -> Android -> Settings and set the correct paths to Android SDK, NDK and Java SDK.
You should be good to go with creating a new project.
Even with all lastest tools installed on Both Visual studio (on windows) and XCode on Mac, I am receiving following error when tried to connect from visual studio 2017 through Xamarin agent. Any hint how to solve it?
"The installed Xamarin.iOS (version not specified) on the Mac 192.168.186.128 is not compatible with the local Xamarin.iOS (version 11.2.1.0). Please select a new server or install the correct Xamarin.iOS versions.
Even with all lastest tools installed on Both Visual studio (on windows) and XCode on Mac
In order to build Xamarin.iOS apps, Xamarin Tools and SDKs are needed on the Mac, too. You should have Visual Studio for Mac installed, it comes with all the necessary tools and SDKs.
If Xamarin is outdated on your Mac (disregarding of the Xcode version) you will see the message that Xamarin.iOS is outdated. Please follow these instructions to update your Xamarin components. (Anyway, avoid the beta channel and stick to stable unless you have a good reason not to.)
I have installed 2 simulator versions in XCode (10.3 and 8.1). However, from Visual Studio, I am not able to use the 8.1 simulator.
Using Xamarin iOS from Visual Studio in Windows how do I choose to debug using the 8.1 simulator installed on the Mac side?
Here are the available simulators I have in Visual Studio 2017...
I have XCode 8.3.3 installed and added the iOS 8.1 simulator...
I would make sure that your simulators are listed as devices inside xcode a guide to this can be found here. That link relates to calabash testing, but disregard that, it's an apt guide for double checking that the simulators exist on the mac. The terminal check is especially worth while doing to make sure that the device simulators are infact available. (Infact it's THE best way to confirm fully that this isn't an issue with something on the Mac.)
In regards to visual studio, honestly as it pulls the list from the Mac, the only thing you can do is to restart your PC, and your Mac. There are occassions where this genuinely fixes an annoying nonsensical xamarin issue.
After installing Xamarin Studio, I've found it to miss Android related items such as Android SDK Manager under Tools menu:
Additionally I cannot run the application on an actual device, nor see any emulator:
Please note that I've developed Android app using Eclipse prior to this so I have everything properly setup (including device driver, ADB, Android SDK/NDK, etc), and have also made Xamarin Studio work on another computer. The problem is that it refuses to work on this particular computer, and uninstall/install it didn't help.
How do I fix it so that Android tools are shown in Tools menu and I can run Xamarin applications on an emulator/actual device?
The following steps resolved the issue for me:
Uninstall Xamarin Studio
Uninstall x86 JRE/JDK 1.6 installed by Xamarin Installer
Run Xamarin Installer and let it reinstall both JRE/JDK & Xamarin Studio
Don't know why the Xamarin installation wasn't working correctly the first time, nor why the above steps work, but it worked.