Cannot test Xamarin ios App on device - xamarin

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 ..

Related

Build process for Xamarin.iOS when in Windows

I am doing a project in Xamarin for cross platforms, I am doing this on my Windows machine. What would be the best way for me to get the project to an iOS development in the future? Do i just open the project in an iOS environment then compile & deploy it?
Yes, you need and iOS environment for you to build and compile the iOS project. If for deployment of the app itself to the appstore, you can check how to deploy to appstore since Apple has different set of rules when deploying, but if it's just for build/test yes, you can just use an iOS environment to deploy/test your app, just make sure that your VS on windows or Xcode/vs on mac is compatible. You just need to connect your windows Xamarin Agent to your Mac device IP address in order for them to communicate
You can check this link for iOS deployment
Yes,your ios app compile/debug/run on ios simulator must use mac.You only need to configure the connection with MAC on visual studio.

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.

Deploying cordova to Xcode in vmware

I have just started using cordova and ionic with vs2015. I am running this on a windows 10 machine. I have built the android side and put to store.
I have a version of mac running via vmware on the windows machine. I have tried copying the xcode project file across manually and building, butrun into bui;d errors. Is there a way of linking vs2015 ios build directly to the xcode on the vmmachine.
If not may some guidance on building and copying the correct parts for xcode.
Cheers
Sounds like you need to run your app on the iOS Simulator
Make sure that you have installed the remote agent on a Mac that meets all system requirements, and that you have started the remote agent.
Make sure that you have specified iOS processing, the host name or IP address, port, and security PIN in Visual Studio.
With your app open in Visual Studio, choose iOS from the Solution
Platforms list. If you don’t see this list, choose Solution
Platforms from the Add/Remove Buttons list to display it.
In the simulator list, choose Simulator – iPhone or another iOS
simulator.
Selecting the iOS Simulator Press F5 to start the app.
If the remote agent is set up correctly, Visual Studio deploys the app to the iOS Simulator on your Mac.
iOS Simulator running on a Mac
Tip If you are running a version of the iOS Simulator with a Retina display on a lower-resolution Mac with a non-Retina display, you may need to scale the emulator to 50% so the app will fit on the screen (choose Window, Scale).
If you have configured the remote build agent on your Mac as described in the article Install tools for iOS, you can build and run your app on an iOS device that is connected to your Mac or PC.

Creating NativeScript app with Teleriks AppBuilder

I am writing hello world on nativeScript at AppBuilder platform. I created new project from template. It works perfetct with companion app (Run->Build->NativeScript) but i can't:
1) run it on iOS or android emulator
2) build app package (Run->Build->App Package)
Thanks much
From the browser you can't run on native emulators, but you can deploy to the NativeScript companion app for Android/iOS, and you can also build app packages for Android/iOS.
To build iOS app packages you need to register for the iOS developer program and register your provisioning profiles and certificates with AppBuilder before you can create app packages. If you have any other questions related to this let me know.

How to launch iOS emulator from Xamarin Studio

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.

Resources