Skip to content

Commit 3af6fa6

Browse files
committed
ci: ios build
1 parent 1b2e1f2 commit 3af6fa6

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/pull_request.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,5 +112,10 @@ jobs:
112112
- name: Create Secrets.xcconfig
113113
run: echo MAPS_API_KEY="API_KEY" >> example/ios/Secrets.xcconfig
114114

115+
- name: Install iOS Simulator runtime
116+
run: |
117+
sudo xcodebuild -runFirstLaunch
118+
sudo xcodebuild -downloadPlatform iOS
119+
115120
- name: Build example for iOS
116121
run: yarn build:ios

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"start": "watchman watch-del-all && react-native start",
99
"ios:pods": "rm -f ios/Podfile.lock && rm -rf ios/Pods && cd ios && bundle install && bundle exec pod install --repo-update",
1010
"build:android": "react-native build-android",
11-
"build:ios": "react-native build-ios --mode Debug --extra-params 'CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY=\"-\" EXPANDED_CODE_SIGN_IDENTITY=\"-\" DEVELOPMENT_TEAM=\"\" PROVISIONING_PROFILE_SPECIFIER=\"\" COCOAPODS_PARALLEL_CODE_SIGN=false -destination generic/platform=iOS'"
11+
"build:ios": "react-native build-ios --mode Debug --extra-params 'CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO'"
1212
},
1313
"dependencies": {
1414
"@react-navigation/native": "7.1.19",

0 commit comments

Comments
 (0)