Compiling the Application
- PDF for offline use
Let us know how you feel about this
last updated: 2016-10
Regardless of the platform, it is necessary to first build and package the application before running the test. Ensure that the compiled application targets a CPU architecture that is appropriate for the device running the tests:
|Android Device||Typically armeabi-v7a|
|Google Emulator||Depends on the Android Virtual Device|
Building the APK
For Android applications, the Xamarin Test Cloud Agent cannot interact with APK’s that are built using the Shared mono runtime. The Shared mono runtime is enabled by default in Debug builds and it is disabled by default in Release builds. If you wish to use a Debug build of your APK, ensure that you turn off the Shared mono runtime:
You must first build the APK before running the tests.
Building the IPA
For iOS applications, ensure that you create an ad-hoc IPA using the Debug configuration. A Release build will not work because UIAutomation is disabled and the Xamarin Test Cloud Agent will be stripped out of the IPA by the linker.
The guide IPA Support for Ad Hoc And Enterprise Deployment contains more details on this topic.