You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
Changelog: [Internal] Update the documentation to disable fabric in RN Tester.
RNTester build would fail if you previously built with fabric_enabled. This documentation adds the instruction to clean up before runing pod install.
In the future, we'd want to detect and do the clean up so that it doesn't fail in an obscure way.
Reviewed By: cortinico, dmitryrykun
Differential Revision: D33173173
fbshipit-source-id: a396eb71edc7bf174d0eb392799f45ae74274b76
Copy file name to clipboardExpand all lines: packages/rn-tester/README.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,17 @@ If you are testing non-fabric component, modify [the fabric_enabled flag in RNTe
18
18
fabric_enabled =false
19
19
```
20
20
21
+
Also, if you previously built RNTester with fabric enabled, you might need to clean up the build files and Pods.
22
+
```sh
23
+
# Clean the generated files and folders to clean install RNTester
24
+
cd packages/rn-tester/
25
+
rm -rf build/generated/ios
26
+
rm -rf Pods
27
+
rm Podfile.lock
28
+
```
29
+
30
+
If you are still having a problem after doing the clean up (which can happen if you have built RNTester with older React Native versions where files were generated inside the react-native folder.), the best way might be to clean-install react-native (e.g. remove node_modules and yarn install).
31
+
21
32
Both macOS and Xcode are required.
22
33
-`cd packages/rn-tester`
23
34
- Install [Bundler](https://bundler.io/): `gem install bundler`. We use bundler to install the right version of [CocoaPods](https://cocoapods.org/) locally.
0 commit comments