Skip to content
This repository was archived by the owner on Feb 8, 2023. It is now read-only.
This repository was archived by the owner on Feb 8, 2023. It is now read-only.

RNiTunes.h:11:9: 'React/RCTBridgeModule.h' file not found #22

@sgeier

Description

@sgeier

Hello, I have been struggling with this one for 2 days now.

Here is a list of my config:
"dependencies": {
"@expo/samples": "2.1.1",
"expo": "^31.0.2",
"expokit": "31.0.2",
"react": "16.5.0",
"react-native": "https://github.com/expo/react-native/archive/sdk-31.0.0.tar.gz",
"react-native-itunes": "^0.5.0",
"react-navigation": "^2.18.2"
},
CocoaPods 1.5.3, also tried with latest version.

I ejected Expo (from a fresh project with nothin else added) and trying to build the iOS project in Xcode 10.1.. Of course I did pod install before.
I keep getting the same error message.
image

I tried a number of things:

  • Added the Scheme for RNiTunes to include React as Build Target.
    image

  • Followed all of your steps outlined as outlined on your project page (search headers path, pull xproject under libraries, link binary with libraries etc)

  • Built React as a separate Scheme successfully, even then RNiTunes doesn't find it
    image

  • Updated the search header path with additional paths
    image

I was able to see some progress when changed the code of the include included the from
#import <React/RCTBridgeModule.h> to just #import "RCTBridgeModule.h" but then it consequently failed at later include e.g. /react-native/React/Base/RCTBridgeModule.h:10:9: 'React/RCTDefines.h' file not found, which is included by RCTBridgeModule.

I don't know what else to do. Do you have any more advise what I can try?
Thank you in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions