react-native-version-number icon indicating copy to clipboard operation
react-native-version-number copied to clipboard

React/RCTDefines.h file not found

Open elitorres opened this issue 6 years ago • 3 comments

does any one have any clue why i'm getting this issue and how to fix it?

elitorres avatar May 15 '19 19:05 elitorres

I am also getting the same issue in version 0.3.6.

System: OS: macOS 10.14.6 CPU: (4) x64 Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz Memory: 1.06 GB / 16.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 10.15.3 - /usr/local/bin/node Yarn: 1.16.0 - /usr/local/bin/yarn npm: 6.10.1 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 12.4, macOS 10.14, tvOS 12.4, watchOS 5.3 IDEs: Android Studio: 3.4 AI-183.6156.11.34.5692245 Xcode: 10.3/10G8 - /usr/bin/xcodebuild npmPackages: react: 16.8.6 => 16.8.6 react-native: 0.60.4 => 0.60.4 npmGlobalPackages: react-native-cli: 2.0.1

shoryavaish avatar Aug 06 '19 07:08 shoryavaish

not sure if you found the solution but this totally fix my issue https://github.com/react-native-community/react-native-maps/issues/2324

the problem comes from having both the pod and the libraries in your app so follow this instructions and if you have any issues let me know

elitorres avatar Aug 10 '19 04:08 elitorres

This error happened to me after upgrading to the latest react native version from a version that did not support auto link. I removed all reference for this lib in my project: Removed .xcodeproj from Libraries, removed .a from Frameworks, Libraries, and Embedded Content, removed .a from Link Binary With Libraries from the Build Phases tab in Xcode. I just left this in my Podfile: pod 'react-native-version-number', :path => '../node_modules/react-native-version-number'

jbernhardt23 avatar Apr 07 '20 16:04 jbernhardt23