question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

React/UIView+React.h file not found

See original GitHub issue

Installed latest version using yarn add react-native-svg. Using React v15.3.1 and RN v0.39.2. Ran react-native link react-native-svg and everything seemed to be working.

When building in XCode I’m getting the following error: Lexical or Preprocessor Issue: React/UIView+React.h file not found

I checked and libRNSVG.a is in Link Binary With Libraries

Any ideas what i’m doing wrong? Thanks

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:17
  • Comments:40

github_iconTop GitHub Comments

8reactions
lhangcommented, Aug 22, 2018

my version is correct, but had same problem. and I solve this by:

1. react-native unlink react-native-svg
2. add pod 'RNSVG', :path => '../node_modules/react-native-svg' to my pod file
6reactions
uriklarcommented, Jan 7, 2017

Using react-native-svg@4.4.1 worked for me (with RN@0.39.2)

Read more comments on GitHub >

github_iconTop Results From Across the Web

React/UIView+React.h file not found · Issue #217 - GitHub
I solved this issue like following. ... Include the lines to the RNSVG.xcodeproject, TARGETS: RNSVG, BuildSettings/ header search path with ...
Read more >
'React/UIView+React.h' file not found | AIRGMSMarker.h
Intro. Hi there! I'm working on my first react-native app. · What I have done: 1)Ejected ExpoKit. 2)Run npm install · The Error:...
Read more >
Developers - UIView+React.h' file not found - - Bountysource
I have followed all the steps to link the twilio webrtc library in ios but when i try to install the pods it...
Read more >
EAS build fails SDK 47 iOS - File not found in react-native-maps
Hi, Before the update to SDK 47 our builds were running ok on both iOS and Android. However, since then, iOS builds are...
Read more >
[Solved]-'React/RCTUtils.h' file not found - appsloveworld
Coding example for the question 'React/RCTUtils.h' file not found. ... The podfile you provided is missing the reference to react itself, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found