IndoorAtlasWayfinding Pod安装错误

时间:2019-01-08 13:13:11

标签: ios swift cocoapods

运行/安装我的pod文件时

use_frameworks!
target 'IndoorNav' do
 source 'git@github.com:IndoorAtlas/CocoaPods-Specs.git'
 pod 'IndoorAtlas', '2.8.1'
 pod 'IndoorAtlasWayfinding', '2.8.0'
end

我收到以下错误

Analyzing dependencies
Cloning spec repo `indooratlas` from `git@github.com:IndoorAtlas/CocoaPods-Specs.git`
[!] Unable to add a source with url `git@github.com:IndoorAtlas/CocoaPods-Specs.git` named `indooratlas`.
You can try adding it manually in `~/.cocoapods/repos` or via `pod repo add`.

我也尝试过在https://github.com/CocoaPods/CocoaPods/issues/4293上讨论过的许多解决方案,但找不到答案。谁能帮忙吗?

1 个答案:

答案 0 :(得分:0)

我认为podfile应该是:

use_frameworks!
target 'IndoorNav' do
 source 'https://github.com/IndoorAtlas/CocoaPods-Specs.git'
 pod 'IndoorAtlas', '2.8.1'
 pod 'IndoorAtlasWayfinding', '2.8.0'
end