Cocoapods 无法通过 Artifactory 解析
Cocoapods not resolving through Artifactory
Cocoapods 未通过 Artifactory 解析 - 项目未显示在远程缓存中
我一直在按照 screencat 中的所有说明进行操作 - 设置我 - https://www.youtube.com/watch?v=6eiL3IaQG3Q
我 gem 安装了 cocoapods 和 cocopods-art.
添加了 'Custom Base URL' = http://localhost:8081/artifactory
添加了以下行以使 Cocoapods 解析为 artifactory:
pod repo-art add c-remote "http://localhost:8081/artifactory/api/pods/c-remote"
在我的 Podfile 中添加了以下内容:```
vi Podfile
plugin 'cocoapods-art', :sources => [
'c-remote'
]
target 'Pods Updater' do
use_frameworks!
pod 'RxSwift', '4.4.2'
pod 'RxCocoa', '4.4.2'
pod 'Highlightr', '2.1.0'
end
运行: pod 安装
Pod安装完成! Podfile 中有 3 个依赖项,总共安装了 4 个 pods。
但是我没有在 Artifactory 中看到项目。我试了几次。见下图。
Project not showing up
尝试在 Mac(本地主机)上使用 Artifactory 运行 并在同一台机器上安装 Cocoapods (Mac)。
Cocoapods 未通过 Artifactory 解析 - 项目未显示在远程缓存中
我一直在按照 screencat 中的所有说明进行操作 - 设置我 - https://www.youtube.com/watch?v=6eiL3IaQG3Q
我 gem 安装了 cocoapods 和 cocopods-art.
添加了 'Custom Base URL' = http://localhost:8081/artifactory
添加了以下行以使 Cocoapods 解析为 artifactory:
pod repo-art add c-remote "http://localhost:8081/artifactory/api/pods/c-remote"
在我的 Podfile 中添加了以下内容:``` vi Podfile
plugin 'cocoapods-art', :sources => [
'c-remote'
]
target 'Pods Updater' do
use_frameworks!
pod 'RxSwift', '4.4.2'
pod 'RxCocoa', '4.4.2'
pod 'Highlightr', '2.1.0'
end
运行: pod 安装 Pod安装完成! Podfile 中有 3 个依赖项,总共安装了 4 个 pods。
但是我没有在 Artifactory 中看到项目。我试了几次。见下图。
Project not showing up
尝试在 Mac(本地主机)上使用 Artifactory 运行 并在同一台机器上安装 Cocoapods (Mac)。