add bar, gestures for switching between images

This commit is contained in:
2025-07-07 19:56:42 +02:00
parent d8e5cb2370
commit 6d541f9798
5 changed files with 269 additions and 56 deletions

4
run.sh
View File

@@ -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