add ios patch
This commit is contained in:
@@ -3,7 +3,7 @@ set -e
|
||||
d=${0:a:h}
|
||||
cd $d
|
||||
|
||||
source $d/config.zsh
|
||||
source $d/.env
|
||||
|
||||
echo "Running iOS preview workflow..."
|
||||
cd "$REPO_DIR"
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user