analytics-react-native: CocoaPods could not find compatible versions for pod "RNAnalytics"

Error when trying to install latest version of SDK

  In Podfile:
    RNAnalytics (from `../node_modules/@segment/analytics-react-native`)

Specs satisfying the `RNAnalytics (from `../node_modules/@segment/analytics-react-native`)` dependency were found, but they required a higher minimum deployment target.

Aborting run
An unexpected error was encountered. Please report it as a bug:

I’m on latest version of Xcode 12.0 (12A7209). The current deployment target is iOS 10.0.

"@segment/analytics-react-native": "^1.3.1",
"react": "16.13.1",
 "react-native": "0.63.2",

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 1
  • Comments: 17 (8 by maintainers)

Most upvoted comments

No problem! It has no bearing on reality, it’s just used for cocoapods to identify deps and versions.

From what I can tell it looks like your minimum target is still < 11.0. Edit your podfile to specify.

Also of note for all of you… iOS minimum deployment is 11. So check that too.

@bsneed Thanks for clarifying. Please add this in the documentation to avoid future confusion and looking through podfile.lock is a non trivial task.