Quantcast
Channel: Active questions tagged cocoapods - Stack Overflow
Viewing all articles
Browse latest Browse all 1024

Where does @react-native-community/cli-platform-ios/native_modules' come from?

$
0
0

I am trying to run an iOS app using React Native. I was running into this error:

Invalid `Podfile` file: cannot load such filerequire_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules

This pointed to @react-native-community/cli-platform-ios/native_modules. So I went into the node_modules folder and tried to find this particular package. It was not there.I have cli-platform-android but I do not have cli-platform-ios which I need.

In package.json I only have "@react-native-community/cli": "^7.0.4",. This does install only the android platform. Where does cli-platform-android come from? In order to resolve my issues do I need to separately install this package (the cli platform iOS) in order to run pod install without issues?

Any help is appreciated!

Edit: In order to get any additional feedback or logs or whatever on why your app is not running. Go to Xcode and try to find the experience.xcworks file. This is hidden and you can not see it with anything else besides Xcode(at least on my end).


Viewing all articles
Browse latest Browse all 1024

Latest Images

Trending Articles



Latest Images

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