4

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

Brandon Minnick
  • 13,342
  • 15
  • 65
  • 123
Vineet Choudhary
  • 7,433
  • 4
  • 45
  • 72

1 Answers1

14

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

Abraham
  • 8,525
  • 5
  • 47
  • 53
Vineet Choudhary
  • 7,433
  • 4
  • 45
  • 72