Skip to content

Commit 4fd8d47

Browse files
committed
move iosruntime
1 parent 808ae37 commit 4fd8d47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

devbox.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"shell": {
1414
"init_hook": [
1515
"echo 'Welcome to analytics-react-native devbox!' > /dev/null",
16-
"export IOS_RUNTIME=$(xcrun simctl list runtimes --json | jq -r '.runtimes[0] | .identifier')",
1716
],
1817
"scripts": {
1918
"clean": [
@@ -30,12 +29,13 @@
3029
"yarn test --coverage",
3130
],
3231
"setup-ios-devices": [
32+
"IOS_RUNTIME=$(xcrun simctl list runtimes --json | jq -r '.runtimes[0] | .identifier')",
3333
"xcodebuild -downloadPlatform iOS",
3434
"xcrun simctl list devicetypes",
3535
"xcrun simctl list runtimes",
3636
"xcrun simctl create 'iPhone 14' 'iPhone 14' $IOS_RUNTIME",
3737
"xcrun simctl create 'iPhone 17' 'iPhone 17' $IOS_RUNTIME",
38-
"xcrun simctl list devices",
38+
"xcrun simctl list devices"
3939
],
4040
"test-android": [
4141
"yarn install",

0 commit comments

Comments
 (0)