Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

React-native installing required CocoaPods dependencies stuck

i cant finish react-native init as the process keep stuck at instaling required cocoapods dependencies please help

this is a few part what shown in terminal:

[4/4] πŸ“ƒ  Building fresh packages...
success Saved lockfile.
success Saved 48 new dependencies.
β”œβ”€ @babel/[email protected]
β”œβ”€ @babel/[email protected]
β”œβ”€ @react-native-community/[email protected]
β”œβ”€ @types/[email protected]
β”œβ”€ @typescript-eslint/[email protected]
β”œβ”€ @typescript-eslint/[email protected]
β”œβ”€ @typescript-eslint/[email protected]
β”œβ”€ @typescript-eslint/[email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
└─ [email protected]
✨  Done in 19.41s.
info Installing required CocoaPods dependencies
like image 465
victorxu2 Avatar asked Jul 05 '19 03:07

victorxu2


4 Answers

Installing required CocoaPods dependencies takes time. Waiting for about 30mins worked for me.

like image 162
otoloye Avatar answered Oct 16 '22 18:10

otoloye


Waiting for about 40mins worked for me. Installing required CocoaPods dependencies takes time. See my screenshot. enter image description here

like image 20
David S Lee Avatar answered Oct 16 '22 20:10

David S Lee


Break with Ctrl-C.


Enter cd ios


Run pod install --repo-update


But anyway it is not fast. Need wait because big repo cloned into fs under the hood.

like image 10
basil Avatar answered Oct 16 '22 19:10

basil


Fixed with this - Open Xcode and go to Xcode β†’ Preferences β†’ Locations, and make sure the command line tools is set to the version of Xcode you’re using.

like image 6
Ryan Avatar answered Oct 16 '22 20:10

Ryan