ios - IndoorAtlasWayfinding Pod 安装错误
问题描述
运行/安装我的 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上讨论的解决方案,但找不到答案。有人可以在这里帮忙吗?
解决方案
我认为 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
推荐阅读
- javascript - 为什么我收到此警告 159:35 警告预计将在箭头函数数组回调返回的末尾返回一个值?
- python - 在 Pony ORM 查询中使用枚举
- snowflake-cloud-data-platform - Snowflake JDBC 驱动程序内部错误:无法检索第一个箭头块的行数:null -- 仅发生在 SELECT 语句上
- behat - 更新到 Drupal 8.9.15 时,我在 Probo 上收到以下 Behat JS 错误。不知道这意味着什么。想法?
- javascript - 使用条件更新对象中的特定值
- python - 为什么 if 语句中的“或”运算符不起作用?
- excel - 这些条不会在我的 Excel 图表中排列是否有原因?
- javascript - 如何为 React Bootstrap 表单自动设置高度
- wpf - ObservabaleCollection 添加/删除不会更新 xaml 端的 ItemsControl
- python - 清除所有数据和画布以重绘底图