ios - CocoaPods - 无法找到 `MobileCenter` 的规范

标签 ios cocoapods mobile-center visual-studio-app-center

无法使用 CocoaPods 添加 MobileCenter。 CocoaPods 无法找到 MobileCenter 的规范。

播客文件

platform :ios, '8.0'

target 'VisualStudioMobileCenterDemo' do
    pod 'MobileCenter'
end

错误

enter image description here

最佳答案

如果您使用 Cocoapods 在您的应用程序中安装 Mobile Center 并遇到消息错误 - 无法找到 MobileCenter 的规范,请运行

$ pod repo update

在您的终端中。它将为您同步最新的 podspec 文件。然后尝试

$ pod install

应该在您的应用中安装 Mobile Center 模块。

enter image description here enter image description here

关于ios - CocoaPods - 无法找到 `MobileCenter` 的规范,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40785259/

相关文章:

ios - 没有这样的模块 'Firebase' ,无法将 Firebase 导入 Swift 4

android - 修复 VS Mobile Center 上的 "Error: Publish build artifacts failed with error: Not found PathtoPublish"

ios - 为什么这个带有 ARC 的简单应用程序会泄漏?

ios - 尝试使用 Swift 显示 Parse 中的图像时出现问题

iphone - UIScroll : enable touch event even when it is scrolling

Cocoapod : warning: URI. 转义已过时

ios - 使用 swift 运行 pod install 时出错

uwp - 使用 VSTS 任务将 UWP 应用分发到应用中心(又名移动中心)

uwp - 在 UWP 项目中使用 Akavache + Mobile Center 时生成错误

iphone - 将GLKVector3添加到NSMutableArray