Search code examples
react-nativecocoapods

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/core@7.5.0
ā”œā”€ @babel/runtime@7.5.0
ā”œā”€ @react-native-community/eslint-config@0.0.5
ā”œā”€ @types/eslint-visitor-keys@1.0.0
ā”œā”€ @typescript-eslint/eslint-plugin@1.11.0
ā”œā”€ @typescript-eslint/experimental-utils@1.11.0
ā”œā”€ @typescript-eslint/parser@1.11.0
ā”œā”€ @typescript-eslint/typescript-estree@1.11.0
ā”œā”€ acorn-jsx@5.0.1
ā”œā”€ acorn@6.2.0
ā”œā”€ ajv@6.10.0
ā”œā”€ babel-jest@24.8.0
ā”œā”€ chardet@0.7.0
ā”œā”€ doctrine@3.0.0
ā”œā”€ emoji-regex@7.0.3
ā”œā”€ eslint-scope@4.0.3
ā”œā”€ eslint-utils@1.3.1
ā”œā”€ eslint@6.0.1
ā”œā”€ espree@6.0.0
ā”œā”€ esquery@1.0.1
ā”œā”€ external-editor@3.0.3
ā”œā”€ file-entry-cache@5.0.1
ā”œā”€ flat-cache@2.0.1
ā”œā”€ flatted@2.0.1
ā”œā”€ functional-red-black-tree@1.0.1
ā”œā”€ glob-parent@3.1.0
ā”œā”€ ignore@4.0.6
ā”œā”€ import-fresh@3.1.0
ā”œā”€ inquirer@6.4.1
ā”œā”€ is-extglob@2.1.1
ā”œā”€ is-glob@4.0.1
ā”œā”€ jest@24.8.0
ā”œā”€ json-stable-stringify-without-jsonify@1.0.1
ā”œā”€ levn@0.3.0
ā”œā”€ lodash.unescape@4.0.1
ā”œā”€ metro-react-native-babel-preset@0.55.0
ā”œā”€ optionator@0.8.2
ā”œā”€ parent-module@1.0.1
ā”œā”€ path-dirname@1.0.2
ā”œā”€ progress@2.0.3
ā”œā”€ react-refresh@0.2.0
ā”œā”€ regexpp@2.0.1
ā”œā”€ rxjs@6.5.2
ā”œā”€ table@5.4.1
ā”œā”€ text-table@0.2.0
ā”œā”€ tslib@1.10.0
ā”œā”€ tsutils@3.14.0
ā””ā”€ write@1.0.3
āœØ  Done in 19.41s.
info Installing required CocoaPods dependencies

Solution

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