Created
April 27, 2013 13:11
-
-
Save lxcid/5473077 to your computer and use it in GitHub Desktop.
Xcode's Build Phases' Run Script: Test with UIAutomation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo dscl . append /Groups/_developer GroupMembership $USER | |
sudo DevToolsSecurity -enable | |
sudo -S su $USER -l -c "instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate \"$BUILT_PRODUCTS_DIR/$PRODUCT_NAME.$WRAPPER_EXTENSION\" -e UIASCRIPT \"$PROJECT_DIR/UIAutomations/uia_tap_on_unit_conversion.js\" -e UIARESULTSPATH \"$PROJECT_DIR/logs/\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment