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.
Related
I switched to MAC from windows and my experience with android studio on MAC sucks. I wonder if I am missing something or the bug is with new version of android 3.0.1.
Android studio doesn't even gradle some apps which work perfectly on my windows machine. The gradle takes forever and I wasn't successful in running the apps. And one more issue is that Android studio doesn't quit, and I can't shutdown my laptop, it says android studio is open, I tried to quit android studio is stuck. Freezes I don't know my Mac specs are better than windows laptop.
What version of android studio do you use and how do you overcome this problem, do you prefer Mac over windows? or do you think I should switch back. But I invested a lot on this MacBook.
Ok i figured out what was causing the issue, Firewall was stopping android studio from connecting to internet.
Solution is simple, just add android studio to firewall
Go to System Preferences -> Security & Privacy -> Firewall -> Firewall Options, Click on "+" and add android studio.
I'm building a UWP app and want to test it out on a mobile emulator.
I've installed the newest SDK and Mobile Emulator found here:
https://developer.microsoft.com/en-us/windows/downloads/sdk-archive
I've also installed all the packages I would assume needed in Visual Studio 2017, but no emulator options are showing up in my run menu.. I have updated to the newest version of Visual Studio and even tried the same things in the preview, but with no luck.
I believe I have the right settings enabled in my BIOS and I'm currently running VS2017 on a Windows 10 Educational PC updated to the newest version.
I don't get why I'm not seeing any emulator options??
run visual studio installer
Select individual components
Uninstall all emulator in the emulators(this step is option, but I've found out few times I nee uninstall first before install the emulator)
Install necessary emulator which you need.
Make sure you are on dev mode in windows 10 and switch on hyper-V
In my case I had to select the correct build platforms. When ARM is selected there no Simulator available in the Run sub menu. But when I selected Any CPU, x86 or x64, the Simulator appeared.
As Miao say, you need to install the simulator from the Visual Studio Installer
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.)
Hi am using visual studio 2015 community to create ios app.I am getting this error all time like the ios designer mac agent is not available.I am using win-7 64-bit os.
You have to have a Mac paired with your Windows OS in order to utilize the iOS Designer.
Xamarin.iOS Requirements:
Windows 7 or higher.
Visual Studio 2012 Professional or higher.
Xamarin for Visual Studio.
A Mac running OS X Yosemite (10.10) or higher (although we recommend the latest stable version).
Xamarin iOS SDK.
Apple’s Xcode(7+) IDE and iOS SDK (we recommend the latest version from the App Store).
The Windows computer must be able to reach the Mac via the network.
Xamarin.iOS for Visual Studio accomplishes an amazing feat: it lets you create, build, and debug iOS applications on a Windows computer using the Visual Studio IDE. It cannot do this alone – iOS applications cannot be created without Apple’s compiler, and they cannot be deployed without Apple’s certificates and code-signing tools. This means that your Xamarin.iOS for Visual Studio installation requires a connection to a networked Mac OS X computer in order to perform these tasks. Once configured, Xamarin’s tools will make the process as seamless as possible.
Ref: https://developer.xamarin.com/guides/ios/getting_started/installation/windows/#System_Requirement
This worked for me perhaps it might work for you
Delete the Xamarin folder in your %localappdata%\Local\Temp
If this fails reinstall/update mono on Mac
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.