How to launch iOS emulator from Xamarin Studio - xcode

Just beginning to use Xamarin Studio.
Purchased the indie addition
Uploaded all the certs and provisionning profiles
Compiled the entire solution
Now I would like to run the iOS part of the solution in iOS emulator. The problem is - I'm unable to find where in Xamarin Studio is the link or menu option to launch an iOS emulator. I also have the latest Xcode installed on the same Mac machine. So, how do I go about running the compiled iOS project in an emulator?
-Eugene

As it turns out, all I had to do was to switch the Project configuration from Debug to Debug iPhone Simulator: Project ->Active Configuration -> Debug iPhone Simulator.

Related

Flutter android studio in mac showing Please configure Android SDK in Logcat

I'm using mac os Mojave and android studio for flutter. whenever I create a new Flutter project in the android studio, it is showing that please configure Android SDK. Android SDK is already configured and flutter doctor checked it successfully. I invalidate the cache and restarted the android studio but nothing worked for me. I configured flutter using official flutter website
I had the same problem, the solution as follows :
Open a Flutter project in Android Studio.
Click on File -> Project Structure.
Select the Project tab, under Project Settings.
At the main screen, we should see No SDK in red under the Project SDK section.
Click on the dropdown menu and select an API version installed. Example: Android API 30 platform.
Click OK.
Restart Android Studio (I prefer to restart your mac)

Cannot test Xamarin ios App on device

I have just created an xamarin ios app 'TestApp' for testing on iphone device. The same app created on xcode and deployed succuessfully on both iphone and simulator.
I have created an Apple Id using this .Below image shows the the provisioning profile and signing identity i have created.
Bundle identifier of both mac and windows project are same also. i have followed this link for free provisioning. Appie Id is added to the visualstudio project using fastlane. But when i run this app on visualstudio2017, it just builds successfully; neither deploying to the iphone nor simulator; just builds and run button enables again .no more. How can i deploy the app on device?
Now its working...Tools -> Extensions and Updates-> 'Mono Debugging For Visual Studio' was disabled. I Enabled it and program now deploys to the device ..

Xamarin Forms iOS application always runs on simulator even if I choose a device

I ported my Xamarin Forms project from windows to Mac and I am trying to run it on a connected device which is added in the provisioning profile (provisioning profile and identity is setup accordingly in IOS Bundle Signing settings).
Whenever I try to run the App using Debug|iPhone > my Iphone:
It starts simulator runs on that instead of the device :
After stopping the build if I go back to Bundle Signing settings its changed back to simulator automatically:
I am using following setup:
Visual Studio 2017 Community on Mac 7.2 preview build 540.
XCode 8.3.3
Can anyone please help me with proper configuration to run the app on IPhone?
Many Thanks in advance :)
After hours of messing around I finally found the problem and solution.
In solution settings, iOS project (Debug-iPhone) configuration was mapped to (Debug|Simulator).
Simply changed it to Debug|iPhone and Its working fine now.

XS community 6.1.1 auto close apps on iOS simulator 8.1 after deploy

When I debug and deploy Xamarin.iOS native app to iOS simulator 8.1 through XS(in Mac), it installs app to simulator but it closes automatically after installation. Though app deployment on iOS simulator 10 works fine. This problem is occurred after updating XS to latest version and iOS SDK update to latest version. My iOS app deployment target is 8.0. Also I made sure that Entitlements.plist is empty.
NOTE: Xcode 8 does successful installation on iOS simulator 8.1 and works fine.
Anyone knows why this problem occurs and how to resolve it ?
Clean the project, recompile it and run on simulator.
Additionally, open simulator logs using Cmd + / hotkey and see what exactly is being printed to the simulator logs when you launch your app.
I've seen similar problems which were related to the app crash on launch actually.

Target iOS device drop down not shown in Visual Studio 2013 iOS toolbar

I use Visual Studio 2013 with Xamarin.VisualStudio 3.9.236. Also Mac 10.10 virtual machine in VMWare, with Xcode 6.3, Xamarin.iOS 8.6.0.51, Xamarin Build Host 3.9.0.234.
In Visual Studio, I select iOS project as startup project and set solution platform to iPhoneSimulator for debug mode, but in iOS toolbar there isn't Target iOS Device drop down to select simulator device.
I also check toolbar customization. How to display Target iOS Device drop down in iOS toolbar?
Note: Visual studio fully connected with Mac Build host, and simulator devices are works fine with Xcode and Xamarin studio inside Mac OS.
This problem solved after download and setup last version of Xamarin.
The cause of this error was iOS 8.3 was unsupported by used Xamarin.VisualStudio 3.9.236, that solved in last stable release.
After update Xamarin:
Use these links to download updates with download manager (links may not found in Xamarin website: Stable release: XamarinVS 3.9.547, iOS 8.3 API support and various bug fixes)
Windows:
Xamarin.VisualStudio_3.9.547.msi (20fd2f0)
Mac OS
1- XamarinStudio-5.8.3.1.dmg
2- monotouch-8.9.1.3.pkg
3- mono-android-4.20.2-1.pkg
OR may resolve problem by install older version of iOS Simulator on Mac than 8.3:
1- Open Xcode
2- Go to "Window" menu and click "Devices" menu
3- Follow steps in image:

Resources