Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

No such module 'React' - Integrating React Native into existing apps

$
0
0

I'm trying to add React Native into an existing iOS app developed in Swift.

I created a new Swift project and followed the instructions at the official documentation:

At the "Code Integration" step of this documentation, when I try to "import React" it gives me the following error:

enter image description here

I can "Jump to Definition":

enter image description here

Everything is installed either via yarn or pods.

Tech stack versions are:

MacOS: 10.15.4Xcode: 11.4React-Native: 0.62.2React: 16.11.0RN Cli: 4.8.0

I've been looking around for an answer but couldn't find anything related to this. I'm new to React-Native and I've just started to learn Xcode and its underlying principles. So it is possible that I'm missing something very fundamental here. Yet I couldn't figured it out.

Could you point me in the right direction?


Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>