You need to enable JavaScript to run this app.
导航

执行pod install / pod update 出错:Unable to add a source ...

最近更新时间2024.01.08 16:31:19

首次发布时间2022.08.09 16:02:59

问题描述

[!] Unable to add a source with url `https://github.com/bytedance/cocoapods_sdk_source_repo.git` named `bytedance`.

解决方案

  1. 在命令行执行以下命令。

    pod repo add bytedance https://github.com/bytedance/cocoapods_sdk_source_repo.git
    
  2. 执行 pod setup

  3. 如果出现 "[!] The bytedancerepo is not a git repo.",进入 "/users/你的用户名/.cocoapods/repos" ,删除master文件夹,然后执行pod setup