Created
November 15, 2018 10:46
-
-
Save kishikawakatsumi/157ea34bb32aaa25ffe45ff40262e3bc to your computer and use it in GitHub Desktop.
Script for live coding
This file contains 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
#!/usr/bin/env bash | |
git reset --hard | |
git checkout $1 | |
xcodebuild build -scheme Demo -sdk iphonesimulator -derivedDataPath build | |
xcrun simctl install 89955894-3580-47CE-86FD-5C3E41850418 ~/work/Demo/build/Build/Products/Debug-iphonesimulator/Demo.app | |
xcrun simctl install F28EC412-2D31-4F56-9705-670823B8B554 ~/work/Demo/build/Build/Products/Debug-iphonesimulator/Demo.app | |
xcrun simctl launch 89955894-3580-47CE-86FD-5C3E41850418 com.folio-sec.Demo | |
xcrun simctl launch F28EC412-2D31-4F56-9705-670823B8B554 com.folio-sec.Demo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment