Skip to end of metadata
Go to start of metadata

Both iOS and Android have specific requirements for being able to run mobile native and hybrid application testing on Sauce. 

iOS Requirements

iOS Simulators: Zip it up!

Before you upload your iOS app to the location you want to test it from, you must package it as a .zip file.

  • After you've compiled your application, zip it into a .zip archive and make sure that the zip archive only contains your app directory
  • Before the test starts, upload the zip archive to a public location or Sauce Storage.
    • If you're using Sauce Storage, get the returned location, which will look something like sauce-storage:myApplication.zip
  • In the test capabilities, specify the app as the location of the zip file

Android Requirements

Apk it up!

Before you upload your Android app to the location you want to test it from, you must package it as a .apk file.

  1. After you've compiled your application, export the Android project from your development environment to create the .apk file. This StackOverflow article contains instructions on how to build an .apk file in Eclipse.
  2. Before the test starts, upload the .apk file to a public location or Sauce Storage.
  3. In the test capabilities, specify the location of the .apk file, or the sauce-storage:app.apk URL as described in the topic on Temporary Sauce Storage .

Requirements for Testing Mobile Applications on Real Devices

You can also test mobile applications on real devices with Sauce Labs. Check out the topics under Real Device Testing for general information about the Sauce Labs Real Device Cloud, and Creating a Real Device Project for information on uploading and testing your Android and iOS applications.