运行/安装我的Pod文件时

use_frameworks!
target 'IndoorNav' do
 source '[email protected]:IndoorAtlas/CocoaPods-Specs.git'
 pod 'IndoorAtlas', '2.8.1'
 pod 'IndoorAtlasWayfinding', '2.8.0'
end


我收到以下错误

Analyzing dependencies
Cloning spec repo `indooratlas` from `[email protected]:IndoorAtlas/CocoaPods-Specs.git`
[!] Unable to add a source with url `[email protected]: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上讨论过的许多解决方案,但找不到答案。谁能帮忙吗?

最佳答案

我认为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

09-04 11:42