-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Draft ios.yml * Fix indentation * Update ios.yml * Build app for release * Fix prod build error w Flipper, set env flag Issue - reactwg/react-native-releases#21 (comment) - facebook/react-native#33764 PR - facebook/react-native#33882 * Remove stale comment * Temporarily add `npx react-native info` * Move `npx react-native info` after `yarn` * Add release bundle step before build * Update bundle script * Update bundle script * Update RN CLI from next (8.0.0-alpha.0) to 9.0.0-alpha.5 * Remove devDep @react-native-community/cli No luck with 9.0.0-alpha.5 Should now use npm:9.0.0-alpha.4 (via npm:^9.0.0-alpha.3) * Try bundling also to ios/MyApp/main.jsbundle * Add debug before release bundle/build * Fix yarn lockfile/cache conflict res * Add normal pod install before debug * Comment debug pod install and build, working fine * Update pbxproj and xcscheme Follow-up: - facebook/react-native#34274 (comment) Also update parts in-line with current main - https://github.com/facebook/react-native/tree/main/template * Disable Metro experimentalImportSupport * Resolve Yarn lockfile From conflict res * Rename xcode.env prefix _ to . * Remove react-native-flipper * Revert "Remove react-native-flipper" This reverts commit 646dd74. * Revert "Rename xcode.env prefix _ to ." This reverts commit 8f15810. * Revert "Disable Metro experimentalImportSupport" This reverts commit 41ed14b. * Add index.js for iOS Release bundling * Add back @react-native-community/cli 9.0.0-alpha.5 * Revert "Try bundling also to ios/MyApp/main.jsbundle" This reverts commit 80e7354. * Revert "Comment debug pod install and build, working fine" This reverts commit 0ea4d01. * Update workflow comments
- Loading branch information
Showing
56 changed files
with
119 additions
and
728 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: iOS CI with Xcode | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build-ios: | ||
|
||
runs-on: macos-12 | ||
|
||
# ruby: 2.7.6, 3.0.4, 3.1.2 (../.ruby-version: 2.7.5) | ||
# CocoaPods: 1.11.3 | ||
|
||
steps: | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
# - uses: mikehardy/buildcache-action@v1 | ||
|
||
# yarn cache | ||
# node_modules cache | ||
|
||
- name: Install all project dependencies | ||
run: yarn | ||
|
||
- name: npx react-native info | ||
run: npx react-native info | ||
|
||
# - uses: ruby/setup-ruby@v1 | ||
# with: | ||
# bundler-cache: true # bundle install and cache installed gems automatically | ||
# - run: bundle exec rake | ||
|
||
# - uses: setup/cocoapods # cache | ||
|
||
- name: Install pods | ||
run: cd ios && pod install && cd .. | ||
|
||
- name: Build app for Debug | ||
run: npx react-native run-ios --configuration Debug | ||
|
||
# - name: Xcode clean | ||
# run: xcodebuild clean | ||
|
||
- name: Install pods (prod) | ||
run: cd ios && PRODUCTION=1 pod install && cd .. | ||
# --repo-update | ||
# --clean-install | ||
|
||
- name: Bundle app for release | ||
run: npx react-native bundle --entry-file='index.ts' --bundle-output='./ios/main.jsbundle' --dev=false --platform='ios' --assets-dest='./ios' | ||
|
||
- name: Build app for release | ||
run: npx react-native run-ios --configuration Release |
Binary file removed
BIN
-31.5 KB
.yarn/cache/@react-native-community-cli-config-npm-8.0.2-6252ee93b6-a470ac3118.zip
Binary file not shown.
Binary file renamed
BIN
+31.8 KB
...m-9.0.0-alpha.5-a7f911090d-4017d1424b.zip β ...m-9.0.0-alpha.6-8dfebd84a0-149d98f53e.zip
Binary file not shown.
Binary file removed
BIN
-57.4 KB
.yarn/cache/@react-native-community-cli-debugger-ui-npm-8.0.0-6da530adc2-926dcbf55d.zip
Binary file not shown.
Binary file removed
BIN
-125 KB
.yarn/cache/@react-native-community-cli-doctor-npm-8.0.2-836f757c6b-8c72909692.zip
Binary file not shown.
Binary file renamed
BIN
+125 KB
...m-9.0.0-alpha.5-a20437ce0a-cbd74a432e.zip β ...m-9.0.0-alpha.8-601562cd3a-841a3b7b9d.zip
Binary file not shown.
Binary file removed
BIN
-17.6 KB
.yarn/cache/@react-native-community-cli-hermes-npm-9.0.0-alpha.5-3e67430dda-5b9dc3f732.zip
Binary file not shown.
Binary file renamed
BIN
+17.6 KB
...ermes-npm-8.0.2-33c9fde14e-933146351b.zip β ...m-9.0.0-alpha.7-2ff2a35b77-21eab18746.zip
Binary file not shown.
Binary file removed
BIN
-148 KB
.yarn/cache/@react-native-community-cli-npm-8.0.0-alpha.0-457b6d855a-7b53ff7ed0.zip
Binary file not shown.
Binary file removed
BIN
-67.6 KB
.yarn/cache/@react-native-community-cli-platform-android-npm-8.0.2-94dcd781cc-1e3ea384d2.zip
Binary file not shown.
Binary file renamed
BIN
+77.2 KB
...m-9.0.0-alpha.5-dccf75fc4f-165310ffbb.zip β ...m-9.0.0-alpha.7-2a25b13cc3-7d90378b99.zip
Binary file not shown.
Binary file removed
BIN
-57.8 KB
...ache/@react-native-community-cli-platform-ios-npm-9.0.0-alpha.5-bb45771ce7-1e9e287cd1.zip
Binary file not shown.
Binary file renamed
BIN
+57.8 KB
...m-ios-npm-8.0.2-8341c3e240-10c9904757.zip β ...m-9.0.0-alpha.8-63f7a7a874-e58968b971.zip
Binary file not shown.
Binary file removed
BIN
-66.4 KB
...ache/@react-native-community-cli-plugin-metro-npm-9.0.0-alpha.5-8cb0c03a4f-bdcbcfcdab.zip
Binary file not shown.
Binary file renamed
BIN
+66.4 KB
...metro-npm-8.0.0-07435b50cb-c651b19078.zip β ...m-9.0.0-alpha.6-b98f098984-6b538f8baa.zip
Binary file not shown.
Binary file removed
BIN
-48.6 KB
.yarn/cache/@react-native-community-cli-server-api-npm-8.0.0-07113ec3b0-b77d27b0c5.zip
Binary file not shown.
Binary file renamed
BIN
+48.6 KB
...m-9.0.0-alpha.5-02270cc64a-a370d4a438.zip β ...m-9.0.0-alpha.6-65aa46cb3a-870f84fdbf.zip
Binary file not shown.
Binary file removed
BIN
-66.2 KB
.yarn/cache/@react-native-community-cli-tools-npm-8.0.0-7454cacdfb-e57127dd53.zip
Binary file not shown.
Binary file renamed
BIN
+74.2 KB
...m-9.0.0-alpha.5-444736a4c8-e25dae03f9.zip β ...m-9.0.0-alpha.6-a49b7b08c0-ba031860bc.zip
Binary file not shown.
Binary file removed
BIN
-8.58 KB
.yarn/cache/@react-native-community-cli-types-npm-8.0.0-ea7096f5c3-536cdaf7de.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-2.92 KB
.yarn/cache/metro-babel-transformer-npm-0.70.2-9b441c74b9-1cd94b3aec.zip
Binary file not shown.
Binary file removed
BIN
-2.92 KB
.yarn/cache/metro-babel-transformer-npm-0.70.3-9a87b70302-9bb4d9c9f5.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-467 KB
.yarn/cache/metro-hermes-compiler-npm-0.70.2-2973b71d5d-1a9e863ccd.zip
Binary file not shown.
Binary file removed
BIN
-20.3 KB
.yarn/cache/metro-inspector-proxy-npm-0.70.2-a7743ce720-f2b914764a.zip
Binary file not shown.
Binary file removed
BIN
-3.14 KB
.yarn/cache/metro-minify-uglify-npm-0.70.2-b42b892000-b504958336.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-7.08 KB
.yarn/cache/metro-react-native-babel-preset-npm-0.70.2-9967c89de1-fd79bb7f6e.zip
Binary file not shown.
Binary file removed
BIN
-7.08 KB
.yarn/cache/metro-react-native-babel-preset-npm-0.70.3-af4ec5f177-9abd3d811a.zip
Binary file not shown.
Binary file removed
BIN
-6.09 KB
.yarn/cache/metro-react-native-babel-transformer-npm-0.70.3-bad48e6fcd-454ece281e.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-22.2 KB
.yarn/cache/metro-transform-plugins-npm-0.70.2-9cd6485580-36f4209755.zip
Binary file not shown.
Binary file removed
BIN
-27.5 KB
.yarn/cache/metro-transform-worker-npm-0.70.2-3cae3b9b69-e1446a87c6.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/** | ||
* Use index.ts | ||
* Only here for iOS Release build bundling | ||
*/ | ||
|
||
import { AppRegistry } from 'react-native' | ||
|
||
import { name } from './app.json' | ||
import Root from './src' | ||
|
||
AppRegistry.registerComponent(name, () => Root) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.