Skip to content

Commit

Permalink
chore: flip the RCT_NEW_ARCH_ENABLED flag
Browse files Browse the repository at this point in the history
  • Loading branch information
maciekstosio committed Oct 17, 2024
1 parent c684550 commit 868b3f2
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ios-build-test-fabric.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
id: install_pods
continue-on-error: true
working-directory: ${{ env.WORKING_DIRECTORY }}/ios
run: RCT_NEW_ARCH_ENABLED=1 pod install
run: pod install

- if: steps.install_pods.outcome == 'failure'
id: remove_pods
Expand All @@ -66,7 +66,7 @@ jobs:
id: reinstall_pods
name: Reinstall pods
working-directory: ${{ env.WORKING_DIRECTORY }}/ios
run: RCT_NEW_ARCH_ENABLED=1 pod install
run: pod install

- name: Build app
working-directory: ${{ env.WORKING_DIRECTORY }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ios-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
id: install_pods
continue-on-error: true
working-directory: ${{ env.WORKING_DIRECTORY }}/ios
run: pod install
run: RCT_NEW_ARCH_ENABLED=0 pod install
- if: steps.install_pods.outcome == 'failure'
id: remove_pods
name: Remove pods
Expand All @@ -60,7 +60,7 @@ jobs:
id: reinstall_pods
name: Reinstall pods
working-directory: ${{ env.WORKING_DIRECTORY }}/ios
run: pod install
run: RCT_NEW_ARCH_ENABLED=0 pod install
- name: Build app
working-directory: ${{ env.WORKING_DIRECTORY }}
run: npx react-native run-ios --no-packager --simulator="iPhone 15"
1 change: 1 addition & 0 deletions Example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ require Pod::Executable.execute_command('node', ['-p',

platform :ios, min_ios_version_supported
prepare_react_native_project!
ENV['RCT_NEW_ARCH_ENABLED'] = '0'

linkage = ENV['USE_FRAMEWORKS']
if linkage != nil
Expand Down
1 change: 0 additions & 1 deletion FabricExample/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ require Pod::Executable.execute_command('node', ['-p',

platform :ios, min_ios_version_supported
prepare_react_native_project!
ENV['RCT_NEW_ARCH_ENABLED'] = '1'

linkage = ENV['USE_FRAMEWORKS']
if linkage != nil
Expand Down
2 changes: 1 addition & 1 deletion TVOSExample/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"start": "expo start",
"postinstall": "patch-package",
"clean-ios": "rm -rf ios/build ios/Pods ios/Podfile.lock",
"setup-ios": "RCT_NEW_ARCH_ENABLED=1 npx pod-install",
"setup-ios": "npx pod-install",
"tvos": "expo run:ios --scheme TVOSExample-tvOS --device \"Apple TV\"",
"lint": "eslint .",
"test": "jest"
Expand Down

0 comments on commit 868b3f2

Please sign in to comment.