'React/RCTUtils.h' file not found inRNDeviceinfo.m
See original GitHub issueBug
I did the update of react-native version 0.61.4 (starting from 0.60) and compiling IoS goes wrong. I don’t use Pod, i use autolinking. I tried to unlink react-native-device-info and manually linking it but nothing has changed.
Environment info
React native info output:
System:
OS: macOS Mojave 10.14.6
CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
Memory: 25.41 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.1.0 - /usr/local/bin/node
npm: 6.9.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
IDEs:
Android Studio: 3.3 AI-182.5107.16.33.5314842
Xcode: 11.2/11B52 - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.4 => 0.61.4
npmGlobalPackages:
react-native-cli: 2.0.1
Library version: 5.3.0
Steps To Reproduce
Warning: version react-native must be >= 0.61.x
- Add react-native-device to react native project
- Use manual linking or auto linking, it’s the same
- build for ios
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:9
Top Results From Across the Web
'React/RCTUtils.h' file not found inRNDeviceinfo.m · Issue #887
Bug I did the update of react-native version 0.61.4 (starting from 0.60) and compiling IoS goes wrong. I don't use Pod, i use...
Read more >'React/RCTUtils.h' file not found - Stack Overflow
The podfile you provided is missing the reference to react itself, here is one example of how you can fix it (with react-native...
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
No results found
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
For me, the fix was to remove the reference to react-native-device-info’s
xcodeproj
(RNDeviceInfo.xcodeproj) from my custom Xcode project. No need to remove anything on disk. I had to do this for a couple other dependencies I had in my project.This could happen if RNDeviceInfo project is not removed from the Libraries directory after upgrading to 0.61.