CocoaPods 无法更新 `mapbox-mapbox-maps-ios` 存储库

问题描述 投票:0回答:1

pod搜索‘MapboxMaps’可以找到这个库。 然后,执行“pod repo update”。 然后,执行“pod install”。 遇到以下问题。

[!] Unable to find a specification for `MapboxMaps`

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

pod --版本 1.15.0

宝石-v 3.5.5

红宝石-v 红宝石 3.2.2

尝试升级 Ruby、更新 CocoaPods 并刷新存储库,但问题仍然存在。

cocoapods mapbox-ios
1个回答
0
投票
platform :ios, '11.0'
source 'https://github.com/mapbox/mapbox-maps-ios.git'
target 'mapboxDemo' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  # Pods for mapboxDemo
  pod 'MapboxMaps'

end

pod 文件信息

© www.soinside.com 2019 - 2024. All rights reserved.