'React/RCTDefines.h' file not found
See original GitHub issueHi,
Installed Versions:
- “react-native”: “0.61.2”
- “rn-fetch-blob”: “^0.11.2”
we recently upgraded from react-native version 0.59 to 0.61 and now the rn-fetch-blob
library no longer works with XCode, we get the following errors when trying to build the project:
In the error stack trace it says that the error originates from node_modules/rn-fetch-blob/ios/RNFetchBlob/RNFetchBlob.h:22
Any ideas or pointers on how we can solve this issue?
Thanks in advance for your support.
Best regards, Thomas
Issue Analytics
- State:
- Created 4 years ago
- Reactions:8
- Comments:14
Top Results From Across the Web
'React/RCTDefines.h' file not found from ... - GitHub
I upgraded react-native to version 0.61.2, and did rm -rf Pods, rm -rf Podfile.lock and then pod install, then open xcode with ...
Read more ><React/RCTDefines.h> file not found - Stack Overflow
When I add one library, it imports "RCTBridgeModule.h" and that imports React/RCTDefines.h that is not found. I am stuck... – iiro. Jan 9 ......
Read more >React Native SDK Troubleshooting - Visual Studio App Center
'React/RCTDefines.h' file not found. This error appears when RN core libraries aren't referenced correctly, which can be caused by different ...
Read more >iOS : React/RCTDefines.h file not found - YouTube
iOS : React / RCTDefines. h file not found [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] iOS : React/RCTDefines.h file ...
Read more >[iOS] Build is failing with 'React/RCTDefines.h' file not found
We have a successful build of an app using ExpoKit. Trying to add this module had various issues we have solved, but we...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, I managed to fix it (for me, at least). What you do is the following:
${SRCROOT}/../../../ios/Pods/Headers
. Make sure to set it torecursive
.Repeat for other libraries that complain about missing
React/<whatever>.h
files, perhaps with differing amounts of../
before theios/Pods/Headers/
@josectobar Where are you adding that workaround? If I replace the error line in the OP with that, I just get new errors (
'React/RCTAssert.h' file not found
).