无法找到`ARCore(〜> 1.2.1)的规范

时间:2018-05-31 19:58:58

标签: ios objective-c cocoapods arcore

我正在尝试编译和构建此处提供的ARCore示例:

https://github.com/google-ar/arcore-ios-sdk

我的Podfile如下所示

`=> cat Podfile 
target 'MyTarget'
platform :ios, '11.0'
pod 'ARCore', '~> 1.2.1'
pod 'Firebase/Core', '~> 4.11'
pod 'Firebase/Database', '~> 4.11'`

当我运行pod安装时,我收到以下错误:

==> pod install Analyzing dependencies [!] Unable to find a specification for ARCore(〜> 1.2.1)``

1 个答案:

答案 0 :(得分:3)

运行pod updatepod install --repo-update

你的podspec回购可能还不包括1.2.1。