diff --git a/.gitignore b/.gitignore index 0efae0e..5938495 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ repos .claude deploy.yml claude.md +.env diff --git a/ios/.env b/ios/.env index 093a210..49e1b6a 100644 --- a/ios/.env +++ b/ios/.env @@ -1,5 +1,5 @@ APP_NAME="Aiat" -DEVICE_ID="xxx" +DEVICE_ID="00008110-001855EA36D0401E" REPO_DIR="../repos/social-app" APP_SLUG="aiat" APP_SCHEME="syui" diff --git a/ios/preview.zsh b/ios/preview.zsh index 398d535..c125b17 100755 --- a/ios/preview.zsh +++ b/ios/preview.zsh @@ -59,5 +59,12 @@ read # 5. Run echo "5. Building and Running..." # If user wants specific device ID, uncomment below, otherwise let Expo ask/pick boot simulator -# npx expo run:ios --device "$DEVICE_ID" --configuration Release -npx expo run:ios + +case $1 in + d|devicei) + npx expo run:ios --device "$DEVICE_ID" --configuration Release + ;; + *) + npx expo run:ios + ;; +esac