Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Pod spec error on pod install #37

Closed
ospfranco opened this issue Jan 27, 2020 · 1 comment
Closed

Pod spec error on pod install #37

ospfranco opened this issue Jan 27, 2020 · 1 comment

Comments

@ospfranco
Copy link

Describe the bug
Tried to integrate the sdk into react-native app, did a yarn add of the library, later moved to the ios directory and tried to do a pod install, got greeted with different errors, first it stated that the LaunchDarkly dependency was not available, so I added it following the documentation:

pod 'LaunchDarkly', '4.3.2'

Tried pod install again, this time got a version error:

[!] CocoaPods could not find compatible versions for pod "LaunchDarkly":
  In Podfile:
    LaunchdarklyReactNativeClient (from `../node_modules/launchdarkly-react-native-client-sdk/ios`) was resolved to 2.2.0, which depends on
      LaunchDarkly (= 4.4.0)

None of your spec sources contain a spec satisfying the dependency: `LaunchDarkly (= 4.4.0)`.

Updated the dependecy to 4.4.0, still not working...

SDK version

"launchdarkly-react-native-client-sdk": "^2.2.0"

Versions
System:
OS: macOS 10.15.2
CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 5.63 GB / 32.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 12.10.0 - ~/.volta/tools/image/node/12.10.0/6.10.3/bin/node
Yarn: 1.19.2 - ~/.volta/tools/image/yarn/1.19.2/bin/yarn
npm: 6.10.3 - ~/.volta/tools/image/node/12.10.0/6.10.3/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
Android SDK:
API Levels: 27, 28, 29
Build Tools: 27.0.3, 28.0.3, 29.0.0
System Images: android-28 | Google Play Intel x86 Atom
IDEs:
Android Studio: 3.4 AI-183.6156.11.34.5522156
Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.4 => 0.61.4

@ospfranco
Copy link
Author

Oops, sorry my bad, did not have updated repos

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant