Hi,
I’m trying to build my React Native project (RN 0.77.2) with react-native-navigation 8.2.1 on iOS, but the build keeps failing in Xcode with the following error:
'ReactCommon/RCTHost.h' file not found
What I did
Using react-native-navigation 8.2.1
iOS build through Xcode (also fails via npx react-native run-ios)
Followed existing fixes for import paths
Manually edited the library to point to the correct RCTHost paths (based on React Native 0.66.1 structure)
Ran pod deintegrate && pod install --repo-update
Cleaned DerivedData and reinstalled node_modules
Tried patch-package to persist the fix
But after doing all of this, the build still fails with the same RCTHost.h not found error.
Hi,
I’m trying to build my React Native project (RN 0.77.2) with react-native-navigation 8.2.1 on iOS, but the build keeps failing in Xcode with the following error:
'ReactCommon/RCTHost.h' file not found
What I did
Using react-native-navigation 8.2.1
iOS build through Xcode (also fails via npx react-native run-ios)
Followed existing fixes for import paths
Manually edited the library to point to the correct RCTHost paths (based on React Native 0.66.1 structure)
Ran pod deintegrate && pod install --repo-update
Cleaned DerivedData and reinstalled node_modules
Tried patch-package to persist the fix
But after doing all of this, the build still fails with the same RCTHost.h not found error.