【发布时间】:2019-02-19 14:50:15
【问题描述】:
我的 iOS 项目包含一些私有 pod。我已经在我的本地机器(以及团队成员)上完成了使用 here 概述的私有 pod 的步骤。
如何为 VS App Center 添加相同的流程来更新和检索 repo?
目前,我在构建输出中得到了这个:
[command]/usr/local/bin/pod install --repo-update
Updating local specs repositories
Cloning spec repo fooBar from git@github.com:fooBar/Podspec.git
[!] Unable to add a source with url git@github.fooBar/Podspec.git named fooBar.
You can try adding it manually in ~/.cocoapods/repos or via pod repo add.
[error]/usr/local/bin/pod failed with return code: 1
[error]The 'pod' command failed with error: /usr/local/bin/pod failed with return code: 1
【问题讨论】:
-
我对VS App Center一无所知,但如果它和其他CI环境一样,每次都以默认环境开始。您需要将
pod repo add...命令添加到 CI 脚本中
标签: ios build cocoapods visual-studio-app-center