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 :(
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 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.
Remote Simulator to Windows option is not exists in Tools / Options / Xamarin / IOS Settings.
Its seen like this :
What I have done so far :
I have installed the simulator from here that is from this resource.
I have already restarted both my PC and MAC Mini.
I have activated the remote login on MAC Mini by reading the manuel.
I have checked if the PC is connected.
What can I do to fix this?
Thanks.
It will work only on enterprise
https://developer.xamarin.com/guides/cross-platform/windows/ios-simulator/
Remoted iOS Simulator requires a Visual Studio Enterprise license
Check for Visual Studio updates. I had the same problem and I solved it updating Visual Studio.
I hope it works.
Let your voice be heard if you feel iOS Simulator should be included in other levels of VS.
https://xamarin.uservoice.com/forums/144858-xamarin-platform-suggestions/suggestions/17194163-allow-use-of-remoted-ios-simulator-from-all-editio
it will also work in Visual Studio Community 2017, Enterprise is not necessary.
Just Go to tools>Extentions and Updates and update your VS. Then you should be able to see "Remote Simulator to Windows" in tools > option > Xamarin > iOS Settings. Enjoy...
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.
I am following the steps in the Windows Hello,iOS example at
https://developer.xamarin.com/guides/ios/getting_started/hello,_iOS/hello,iOS_quickstart/
When I get to step 18, there is no iOS class to choose from. See my screen (https://imgur.com/xrYID31). Look at the image in step 18 and you will see I am missing iOS. All other steps work without issues (connecting to Xmarin, selecting an iPhone project, choosing iPhone6 format etc). The tools to connect to my Mac work, I can launch the simulator etc.
I have uninstalled Xamarin 3 times now and rebooted in between. I am at a complete loss here. I followed all of the instructions on how to do a complete removal and clean install. Still no luck. How can I add iOS to this menu?
I am running Windows 10 latest updates and VS 2015 Pro inside a Parallels VM under OS X 10.11.2. Downloaded the latest Xamarin from website.
Someone from Xamarin support got back to me. It appears to be a documentation issue and they are notifying the docs group. When I click "Add Item", I do not see an iOS section but you don't need to have one. The C# Class template under code will do just fine. In step 18, you can ignore the iOS tree and just go straight to Code and then C# Class. See the attached image to see the differences.
I haven't used Xamarin on Visual Studio for a while now, Mac seems to have a lot less issues.
But you need to do 3 things :
Install Xamarin.iOS on Mac host, and activate
Configure your Mac host ( I recommend trying a sample iOS app using Xamarin studio at this point )
If all goes well, Install Xamarin for Visual Studio, and activate, and connect to your mac host
For more detailed instructions, you can see this :
Xamarin Getting Started with visual studio