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

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

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

Podfile

platform :ios, '8.0'

target 'VisualStudioMobileCenterDemo' do
    pod 'MobileCenter'
end

错误

enter image description here

ios cocoapods mobile-center visual-studio-app-center
1个回答
14
投票

如果您使用的CocoaPods安装移动中心在您的应用程序和运行与消息的错误 - 无法找到MobileCenter规范,运行

$ pod repo update

在你的终端。它将同步的最新podspec文件给你。然后尝试

$ pod install

这应该在你的应用程序安装移动中心模块。

enter image description here enter image description here

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