CocoaPods - Unable to find a specification for `MobileCenter`

2.1k Views Asked by At

Unable to add MobileCenter with CocoaPods. CocoaPods unable to find a specification for MobileCenter.

Podfile

platform :ios, '8.0'

target 'VisualStudioMobileCenterDemo' do
    pod 'MobileCenter'
end

Error

enter image description here

1

There are 1 best solutions below

2
On BEST ANSWER

If you are using Cocoapods to install Mobile Center in your app and run into an error with the message - Unable to find a specification for MobileCenter, run

$ pod repo update

in your terminal. It will sync the latest podspec files for you. Then try

$ pod install

which should install Mobile Center modules in your app.

enter image description here enter image description here