I loaded Visual Studio Professional 2015
Version 14.0.25123.00 Update 2
Xamarin 4.0.3.214 (0dd817c)
Xamarin.Android 6.0.3.5 (a94a03b)
Xamarin.iOS 9.6.1.8 (3a25bf1)
However, when I bring up Visual Studio, the Tools/iOS menus items are disabled. The Android menu items ARE enabled.
Do you have installed Xamarin on a Mac and paired it to your Windows machine
Requirements & Installation
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.
Introduction to Xamarin.iOS for Visual Studio
Patience is a virtue. Eventually, the menu enabled itself while I was looking at a training video.
I got the same issue. When I installed Visual Studio 2017, first thing I did was to download an existing Xamarin project. When I checked the 'iOS' menu item in Tools it was all disabled.
After a restart of the system, I tried to create a new Cross Platform App (Xamarin). Once the solution is created, I got the following message and the iOS menu has Mac Agent option enabled.
Related
Good morning and thank you for your time,
I am maintaining a mobile App made in Xamarin classic IOS with the Visual Studio Mac IDE. Recently Apple told me that I had to increase the SDK of this application to 15 to be able to upload my new version to the App Store, for this I had to update the operating system to MacOS Monterey Version 12.3.1, to later update Xcode 13.4 and to update the SDK of my project, once this change was made in Visual Studio Mac debugging options were disabled and the debug icon was changed to compile. When I access Run in the top menu of visual studio mac, the options to start debugging are disabled and no matter how much I change the debug project options remains the same.
Regards
enter image description here
It is very likely that you have some other Debug configuration that works (in Xamarin it could be Debug|iPhone).
I used to create my apps using visual studio 2019 but for some reason I had to downgrade to vs 2017. my apps used to work properly and I had no problem compiling them on my physical device that has android 10 on it. now i'm getting an error when I open my old apps using vs 2017 that target framework version 9 is not supported. and when I try to create new apps, they won't run on my phone. I tried to change my target framework version but there is only versions up till android 6. i'm trying to install version 9 using the sdk manager but it's not working. I would like to know how to solve this issue. should I reinstall vs 2019. thanks in advance.
I attached a photo to show you what i'm doing to install api 29.
What is Xamarin version? I suspect that your version of Xamarin.Android is 6.x which means that you won't be able to target Android 7.0 or 7.1 even if they are installed through the SDK manager.
You can check the version from Help > About Microsoft Visual Studio.
If you're using Visual Studio 2017 or newer, Xamarin updates are delivered as part of Visual Studio updates. To manually check for updates, go to Tools > Extensions and Updates... In the left hand menu, open Updates and select Product Updates. If there are updates available, they will be shown on this list.
Visual Studio 2017 v15.9 on Windows 10 has apparently a new bug: the storyboard designer cannot connect to Mac. Previously in 15.8, the storyboard could connect and many features are working fine, however the ImageView could not work properly. After upgrading to to VS 2017 v15.9, the storyboard editor could not connect to Mac thus could not be opened, while VS is actually connecting to Mac and is able to compile and debug and deploy iOS app to simulators and devices.
I am having Mac Mini and xcode 10.1, but no VS for Mac. It is easy to replicate: just create a new Xamarin app with iOS project. After compiling and testing in simulators running in mac to prove things are OK, then double click on either LaunchScreen.storyboard or Main.storyboard created by scaffolding, then the designer tries to connect to Mac and end up with error message: "The iOS Designer requires an active connection to a Mac server. Please connect to a Mac to enable the designer.".
Now all my iOS apps work however I could not alter any storyboard. I don't like modifying the XML directly in a text editor.
I had spent hours researching solutions or hacks, so far no luck. Do you have some ideas? Cheers.
Here is a problem report that matches your bug description.
Visual Studio 15.9.2 has just been released, so try updating Visual Studio.
Here is a snippet of the Visual Studio 15.9.2 release notes:
Issues Fixed in 15.9.2
Xamarin iOS designer not working with 15.9 and Xamarin.iOS 12.2.1.10.
I recently downloaded the Xamarin profiler from here:
https://www.xamarin.com/profiler
and have been attempting to run performance testing for my iOS app.
However according to the Xamarin documents here:
https://developer.xamarin.com/guides/cross-platform/profiler/
I should be able to launch the Xamarin profiler by selecting it under the Analyze tab. Unfortunately it does not appear. This post stated they found it under their tools section:
https://forums.xamarin.com/discussion/95093/no-option-for-xamarin-profiler-in-visual-studio-2017
but it does not appear their either. From the start menu I can open the Xamarin profiler so I know it is installed properly on my machine. Also I have VS Professional 2017 on my machine as well.
How do I get the Xamarin profiler to appear under the Analyze or Tools Tab in VS? If not, is their a way I can launch the Xamarin Profiler from the start menu and run performance test for the iOS application?
Right click on Android solution > Select Android Options > Check the Enable developer instrumentation(debugging & profiling)
In Visual Studio Enterprise edition
The reason this would not work is because I have VS Professional installed not VS Enterprise :(
I have recently installed Win10, VS2017 Community and Xamarin Studio on my computer. My project is written in VS2017, and when I compile and run it on the device from VS2017 it all works fine, but when I open it in Xamarin studio, I get error "this project type requires Xamarin.Android to be installed". I installed monodevelop, gtk sharp, build tools fool. In Android SDK Manager I installed all I needed. Also, when I press "New solution" in Xamarin studio, it does not offer "Android project". None of the answers I found doesn't works for me. All of the above mentioned worked perfectly on Win7, except that that project was written in VS2015 Community! Need help. Thanks in advance!
I ran into this issue as well. I had been developing in Visual Studio 2017 and wanted to switch to Xamarin Studio for working on layouts, since the designer and AXML intellisense is so much better.
What I discovered is that I needed to install a seperate Xamarin.Android package. I downloaded it from this link https://store.xamarin.com/account/my/subscription/downloads. The universal installer didn't work for me; it only offered to install a remote iOS emulator, Xamarin Profiler, and Xamarin Workbooks, so I downloaded the separate installer and it cleared the issue up.
I came across this same error, and the search results brought me here. Unfortunately, the solutions above are now out of date.
I eventually solved my problem, by going to Preferences -> Projects -> SDK Locations -> Android. Where it immediately showed a popup "SDK needs repair". I had to leave it to download the necessary components.
FYI, Xamarin Studio is now Visual Studio for Mac.