Skip to content

popei69/BPSauceLabsScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

BPSauceLabsScript

A Xcode friendly shell script to automate upload to SauceLabs Storage.

Installion

To be able to automatically upload your app to SauceLabs services, copy this script file at the root of your XCode project. Then add a run script phase to your target project

SCRIPT=`/usr/bin/find "${SRCROOT}" -name upload-ios-app-to-saucelabs.sh | head -n 1`
 
if [ "${CONFIGURATION}" = "Debug" ]
then
echo "[info] Build for Debug ${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app"
/bin/sh "${SCRIPT}" "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app" "MY_SAUCELAB_USERNAME" "MY_ACCESS_KEY"

This script is related to an UI automation testing blog here : https://benoitpasquier.fr/xcode-saucelabs/

With love.

About

A Xcode friendly shell script to automate upload to SauceLabs Storage.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages