Search code examples
ioscocoapodsmobile-centervisual-studio-app-center

CocoaPods - Unable to find a specification for `MobileCenter`


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


Solution

  • 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