cocoapods - 'pod install' takes forever

前端 未结 20 1343
面向向阳花
面向向阳花 2020-11-27 09:20

I was trying to update the existing pods with the pod install command, but it takes forever to run.

The verbose mode shows it was stuck at the following

20条回答
  •  孤街浪徒
    2020-11-27 09:38

    Just go through the below step-by-step:

    Download https://github.com/CocoaPods/Specs/archive/master.zip

    RUN the Below commands in terminal:

    pod setup --verbose

    Open new tab in the terminal and RUN

    mv ~/.cocoapods/repos/master/.git ~/tempSpecsGitFolder

    open master.zip (unzipping it)

    mv Specs-master ~/.cocoapods/repos/master

    mv ~/tempSpecsGitFolder ~/.cocoapods/repos/master/.git

    cd [project folder]

    pod install --no-repo-update

提交回复
热议问题