I am trying to set up a simple iOS UI test for a xamarin forms project based on the following references:
https://docs.microsoft.com/en-us/appcenter/test-cloud/uitest/get-started-xamarin-forms
https://docs.microsoft.com/en-us/appcenter/test-cloud/uitest/index
For the second reference, there is a section titled Initialize IApp for "iOS applications" that contains the line:
IApp app = ConfigureApp.iOS.AppBundle("/path/to/iosapp.app").StartApp();
My questions are:
1. I can't seem to even step into the test case unless I use VS Mac. Is Xamarin Forms iOS debugging not supported in VS Community 2017?
2. To get the app file, I have used a relative path to my project:
.AppBundle("../../../MyApp.iOS/bin/iPhone/Release/MyApp.iOS.App")
except there is no MyApp.iOS.App at that location. There is an MyApp.iOS.ipa (which doesn't work -app bundle is not valid for running on simulator). There are MyApp.iOS.app.dSYM and .mSYM files at that location.
Under my iOS IPA Options, I have specified for both debug and release for the** iPhone** (can't seem to set it for simulator) platform, the check box to build iTunes Package Archive, but have not specified any IPA Packaging Options. Do I need to set a specific ITunes Metadata option to create an app file?
While I am able to step into the test case, I have been trying to use REPL. The second reference above provides an example of the setup to use REPL for an android bundle, and I can seem to get it to work with iOS.
Doesn't iOS support REPL?
Does it require the ConfigureApp.iOS.AppBundle("../../../MyApp.iOS/bin/iPhone/Release/MyApp.iOS.App")
I would like to do this in VS Community 2017 (or 2019), is it possible?
Could really use some help with this setup.
Thanks