Cocoapods error

  • Error

[!] CocoaPods could not find compatible versions for pod "Nativebrik":
  In Podfile:
    nativebrik_bridge (from `.symlinks/plugins/nativebrik_bridge/ios`) was resolved to 0.0.1, which depends on
      Nativebrik (~> 0.10.1)

None of your spec sources contain a spec satisfying the dependency: `Nativebrik (~> 0.10.1)`.

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.
  • Solution

  1. Update cocoapods spec repository cloned in your local disk.

$ pod repo update
  1. Remove Podfile.lock if necessary

$ rm ./Podfile.lock
  1. Install pod

$ pod install

Last updated