Skip to content

Commit 4b5d451

Browse files
Build the iOS project without simulator and bundling (#601)
1 parent c5e3ef9 commit 4b5d451

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

.github/workflows/ReactNativeSlider-CI.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,7 @@ jobs:
180180

181181
- name: Build iOS
182182
run: |
183-
device_name='iPhone 13'
184-
device=$(xcrun simctl list devices "${device_name}" available | grep "${device_name} (")
185-
re='\(([-0-9A-Fa-f]+)\)'
186-
[[ $device =~ $re ]] || exit 1
187-
set -o pipefail && xcodebuild -workspace example.xcworkspace -scheme example -destination "platform=iOS Simulator,id=${BASH_REMATCH[1]}" CODE_SIGNING_ALLOWED=NO COMPILER_INDEX_STORE_ENABLE=NO build | xcbeautify --renderer github-actions
183+
xcodebuild -workspace example.xcworkspace -scheme example -destination "platform=iOS Simulator" CODE_SIGNING_ALLOWED=NO COMPILER_INDEX_STORE_ENABLE=NO SKIP_BUNDLING=TRUE build | xcbeautify --renderer github-actions
188184
working-directory: example/ios
189185

190186

@@ -232,11 +228,7 @@ jobs:
232228

233229
- name: Build iOS - Fabric
234230
run: |
235-
device_name='iPhone 13'
236-
device=$(xcrun simctl list devices "${device_name}" available | grep "${device_name} (")
237-
re='\(([-0-9A-Fa-f]+)\)'
238-
[[ $device =~ $re ]] || exit 1
239-
set -o pipefail && xcodebuild -workspace example.xcworkspace -scheme example -destination "platform=iOS Simulator,id=${BASH_REMATCH[1]}" CODE_SIGNING_ALLOWED=NO COMPILER_INDEX_STORE_ENABLE=NO build | xcbeautify --renderer github-actions
231+
xcodebuild -workspace example.xcworkspace -scheme example -destination "platform=iOS Simulator" CODE_SIGNING_ALLOWED=NO COMPILER_INDEX_STORE_ENABLE=NO SKIP_BUNDLING=TRUE build | xcbeautify --renderer github-actions
240232
working-directory: example/ios
241233

242234

0 commit comments

Comments
 (0)