: updated content available here.
Please select your preferred method for uploading your application in order to view the instructions:
- Log in to Sauce Labs and select LIVE from the options in the left-hand navigation.
- Select Mobile-App.
- You will see a list of previously uploaded apps.
- To the right of the page, select App Upload to upload a new application (Note: Live Testing on Real Devices only at the moment):
Here is an example of how to upload an application to Application Storage in the US West Data Center:
$ curl -F "payload=@/Users/$SAUCE_USERNAME/Downloads/$FILE_NAME.ipa" -F "name=$FILE_NAME.ipa" -u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" 'https://api.us-west-1.saucelabs.com/v1/storage/upload'
NOTE: Application Storage can be used for public and private real device cloud testing only. For examples of how to access the application in your automated test builds and more detailed information on how to use the Storage API, visit the Application Storage page.
Here is an example of how to upload an application to Sauce Storage:
$ curl -u $SAUCE_USERNAME:$SAUCE_ACCESS_KEY -X POST -H "Content-Type: application/octet-stream" \
"https://saucelabs.com/rest/v1/storage/$SAUCE_USERNAME/$APP_NAME?overwrite=true" --data-binary @path/to/your_file_name
NOTE: Sauce Storage can be used for emulator and simulator testing only. For more information, see Sauce Storage.