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

Failed to run react-native run-ios in new project?

$
0
0

I'm tired to run a new react native app, I'm using CLI to init the project

but after running "react-native init new app" I got this message

Error: Failed to install CocoaPods dependencies for the iOS project, which is required by this template. Please try again manually: "cd ./firstApp/ios && pod install".

and I'm doing that, but I can't solve it cuz when I run pod install I Got this Error

[!] Unable to find a specification for boost-for-react-native depended upon by Folly You have either: * out-of-date source repos which you can update with pod repo update or with pod install --repo-update. * mistyped the name or version. * not added the source repo that hosts the Podspec to your Podfile.

Note: as of CocoaPods 1.0, pod repo update does not happen on pod install by default.

and following all these commands "pod install --repo-update OR pod repo update" and still the error

[!] CocoaPods was not able to update the master repo. If this is an unexpected issue and persists you can inspect it running pod repo update --verbose

So how can I solve it?


Viewing all articles
Browse latest Browse all 16750

Trending Articles



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