add bar, gestures for switching between images
This commit is contained in:
4
run.sh
4
run.sh
@@ -7,6 +7,8 @@ DERIVED_DATA="./build"
|
||||
SIMULATOR='iOS Simulator'
|
||||
COMPANY='ImageViewer'
|
||||
|
||||
sudo bash -c "echo '127.0.0.1 developerservices2.apple.com' >>/etc/hosts"
|
||||
|
||||
# Boot and launch simulator
|
||||
xcrun simctl boot "$SIM_DEVICE"
|
||||
open -a Simulator
|
||||
@@ -18,3 +20,5 @@ xcodebuild -scheme "$SCHEME" -derivedDataPath "$DERIVED_DATA" -destination "plat
|
||||
APP_PATH="$DERIVED_DATA/Build/Products/Debug-iphonesimulator/$APP_NAME.app"
|
||||
xcrun simctl install booted "$APP_PATH"
|
||||
xcrun simctl launch booted "$COMPANY.$APP_NAME"
|
||||
|
||||
sudo sed -i '' '/developerservices2\.apple\.com/d' /etc/hosts
|
||||
|
||||
Reference in New Issue
Block a user