From 51721387afbed78f4c10b2bb23cfea808b2b6e72 Mon Sep 17 00:00:00 2001 From: Oscar Franco Date: Tue, 26 Nov 2024 14:25:10 +0100 Subject: [PATCH] Do not use a specific simulator to avoid CI breakage --- example/package.json | 2 +- scripts/test-ios.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/example/package.json b/example/package.json index 4c20633b..e3a9e2c0 100644 --- a/example/package.json +++ b/example/package.json @@ -6,7 +6,7 @@ "android": "react-native run-android", "ios": "react-native run-ios --scheme='debug' --simulator='iPhone 16 Pro'", "run:ios:unused": "xcodebuild -workspace ios/OPSQLiteExample.xcworkspace -scheme release -configuration Release -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 16 Pro' clean build", - "run:ios": "react-native run-ios --scheme='release' --simulator='iPhone 16 Pro' --no-packager", + "run:ios": "react-native run-ios --scheme='release' --no-packager", "start": "react-native start", "pods": "cd ios && bundle exec pod install", "pods:nuke": "cd ios && rm -rf Pods && rm -rf Podfile.lock && bundle exec pod install", diff --git a/scripts/test-ios.sh b/scripts/test-ios.sh index 913744f0..7d1b2933 100755 --- a/scripts/test-ios.sh +++ b/scripts/test-ios.sh @@ -1,4 +1,5 @@ -# xcrun simctl boot "iPhone 15 Pro" +#!/bin/bash + yarn turbo run run:ios --cache-dir=.turbo/ios echo "Polling in-app server..." node ./scripts/poll-in-app-server.js \ No newline at end of file