Unable to disable new architecture in iOS
See original GitHub issueDescription
I have recently enabled new architecture in iOS
by running following command
RCT_NEW_ARCH_ENABLED=1 pod install
I would like to disable new architecture now, But unable to figure out a way. I couldn’t find anything from official documentation as well.
Is there anyway to disable the new architecture or creating the new project is the only way?
Thank You.
Version
0.69.5
Output of npx react-native info
System:
OS: macOS 12.5
CPU: (8) x64 Apple M1
Memory: 24.20 MB / 8.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 14.0.0 - /usr/local/bin/node
Yarn: Not Found
npm: 6.14.4 - /usr/local/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.11.2 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5
Android SDK: Not Found
IDEs:
Android Studio: 4.2 AI-202.7660.26.42.7351085
Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild
Languages:
Java: 11.0.10 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: Not Found
react-native: Not Found
react-native-macos: Not Found
npmGlobalPackages:
*react-native*: Not Found
Steps to reproduce
Since it is not any error I cannot provide any reproducible steps. I am just looking for a way to disable the new architecture in iOS.
Snack, code example, screenshot, or link to a repository
I do not have any code snippet since I am not facing any errors.
Issue Analytics
- State:
- Created a year ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
How to disable new architecture in react-native - Stack Overflow
I have recently enabled new architecture in iOS by running following command. RCT_NEW_ARCH_ENABLED=1 pod install. I would like to disable it ...
Read more >TN3117: Resolving architecture build errors on Apple silicon
The first step in resolving the build error is to reset each of these build settings back to their default value for every...
Read more >An update on the New Architecture Rollout - React Native
On iOS, run RCT_NEW_ARCH_ENABLED=1 bundle exec pod install inside the ios folder. On Android, set the newArchEnabled property to true by either:.
Read more >Hands on with Apple's new HomeKit architecture in iOS 16.2
We can't run two instances of Apple Home side-by-side. Instead, we ran through several automations and repeated them after the architecture ...
Read more >New HomeKit Architecture is in iOS 16.2 betas - Reddit
If I update the one Apple TV and have issues will I still be able to use the other ATV on 16.1 on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @Yandamuri, thanks for opening the issue and I’m sorry you are incurring into it.
Could you try to:
ios
folder of your projectbuild
folderpod install
And see if it fixes the issue?It looks like that your
build
folder kept some dirty files from the previous build. Let me know if it works!If you run
RCT_NEW_ARCH_ENABLED=0 pod install
you’ll be effectively disabling the New Architecture.