Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'React/RCTAssert.h' file not found #91

Open
msert29 opened this issue Nov 7, 2018 · 6 comments
Open

'React/RCTAssert.h' file not found #91

msert29 opened this issue Nov 7, 2018 · 6 comments

Comments

@msert29
Copy link

msert29 commented Nov 7, 2018

I've successfully ejected from an EXPO app and but whenever I link the react-native-tcp package, I always get the following error:

'React/RCTAssert.h' file not found

Is anyone else facing the same issue? I've added Header Search path but no luck.

@marcusleeeugene
Copy link

Hey, just wondering if you managed to find a solution to this problem? I came across the same issue and spent the entire day trying all sorts of solution to find the missing header files but they all don't work for me...

@marcusleeeugene
Copy link

marcusleeeugene commented Jul 9, 2019

I just found the solution!!! Follow the marked answer in this SO link.
https://stackoverflow.com/questions/41663002/react-rctbridgemodule-h-file-not-found/51226962

@iinewmanii
Copy link

I also have this problem. The stackoverflow link did not solve it.

@OzkanAbdullahoglu
Copy link

OzkanAbdullahoglu commented Aug 18, 2019

this problem is obviously how to link the native module to the xcode after ejecting. I assume that you use cocoapods so try to add below path to your pod file ( after react-native link react-native-tcp)

pod 'TcpSockets', :path => '../node_modules/react-native-tcp'
Then try ,
pod deintegrate
pod install --repo-update

@592da
Copy link

592da commented Aug 20, 2019

@OzkanAbdullahoglu tried to do the exact thing,
it says no podspec found

@danilowoz
Copy link

@592da Did you run those command in ios folder?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants