Skip to content

Commit

Permalink
ios simulator commands
Browse files Browse the repository at this point in the history
  • Loading branch information
fbartho committed Aug 20, 2019
1 parent ea59d4e commit bda5aae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .aliases.bash
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ alias versions="{ sw_vers; echo "---"; xcodebuild -version; }"
alias rmsvn="find ./ -name .svn -exec rm -rf {} \;"
alias rmnonsvn="svn status | grep ? | awk '{print $2}' | xargs rm -rf"

alias simshot="xcrun simctl io booted screenshot" # output-path
alias simaddmedia="xcrun simctl addmedia booted" # path-to-media
alias simopenurl="xcrun simctl openurl booted" # url
alias simappcontainer="xcrun simctl get_app_container booted" # com.bundle.identifier

# Open Xcodeworkspace but fallback to xcodeproj
# alias xcp="open *.xc*"
# alias xcp="if [ \"$(ls *.xcworkspace 2> /dev/null | wc -l)\" != \" 0\" ]; then open *.xcworkspace; else open *.xcodeproj; fi"
Expand Down

0 comments on commit bda5aae

Please sign in to comment.