Skip to content

iOS Build failing: ReactCommon/RCTHost.h file not found with react-native-navigation 8.2.1 on React Native 0.77.2 #8093

@adeelSkills

Description

@adeelSkills

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions