-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.iosalias
36 lines (29 loc) · 1.12 KB
/
.iosalias
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[ -f ~/.fastlane/completions/completion.sh ] && source ~/.fastlane/completions/completion.sh
alias rcp='killall Xcode; reset; clean; pod install --repo-update; openx'
alias pi='pod install'
alias bi='bundle install'
alias ds='rmdir ~/Library/Application\ Support/iPhone\ Simulator/'
alias openx='open -a Xcode.app *.xcworkspace || open -a Xcode.app *.xcodeproj'
alias undo_schemes="git checkout -- *.xcodeproj/xcshareddata/xcschemes"
alias clean_build="xcodebuild -workspace *.xcworkspace/ clean"
function non-retina {
convert -scale 50% $1 ${1/@2x/}
}
function uuid {
# uuid *.mobileprovision
/usr/libexec/PlistBuddy -c 'Print :UUID' 2> /dev/null /dev/stdin <<< $(security cms -D -i "$1")
}
function bundle-identifier {
/usr/libexec/PlistBuddy -c 'Print :Entitlements:application-identifier' 2> /dev/null /dev/stdin <<< $(security cms -D -i "$1")
}
function find-mobileprovision {
grep -al "$1" ~/Library/MobileDevice/Provisioning\ Profiles/*
}
function repod {
killall Xcode
(cd $IDCDir; clean;)
(cd $IDCWorkspace; bi; podi; clean_build;)
openidc
}
#PATH=/Users/mark/Projects/xcodeenv/bin/:$PATH
#eval "$(xcenv init -)