facebookarchive / react-native-fbsdk

A React Native wrapper around the Facebook SDKs for Android and iOS. Provides access to Facebook login, sharing, graph requests, app events etc.
https://developers.facebook.com/docs/react-native
Other
2.99k stars 908 forks source link

Pod install fails in example app (iOS) #655

Closed friederbluemle closed 4 years ago

friederbluemle commented 4 years ago

🐛 Bug Report

pod install fails with the following error message making it impossible to run the example on iOS:

$ pod install
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "FBSDKLoginKit":
  In snapshot (Podfile.lock):
    FBSDKLoginKit (= 5.0.2, ~> 5.0.0)

  In Podfile:
    react-native-fbsdk (from `../../`) was resolved to 1.0.4, which depends on
      react-native-fbsdk/Login (= 1.0.4) was resolved to 1.0.4, which depends on
        FBSDKLoginKit (~> 5.5)

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * changed the constraints of dependency `FBSDKLoginKit` inside your development pod `react-native-fbsdk`.
   You should run `pod update FBSDKLoginKit` to apply changes you've made.

[!] Automatically assigning platform `iOS` with version `9.0` on target `RNFBSDKExample` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

To Reproduce

Follow setup instructions here: https://github.com/facebook/react-native-fbsdk#ios

Expected Behavior

It does not fail. ;)

Code Example

No code changes involved.

Environment

info Fetching system and libraries information...
System:
    OS: macOS 10.15
    CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
    Memory: 4.43 GB / 32.00 GB
    Shell: 5.7.1 - /usr/local/bin/zsh
  Binaries:
    Node: 12.12.0 - /usr/local/bin/node
    Yarn: 1.19.1 - /usr/local/bin/yarn
    npm: 6.11.3 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.0, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0
    Android SDK:
      API Levels: 23, 25, 26, 27, 28, 29
      Build Tools: 23.0.1, 26.0.2, 26.0.3, 27.0.3, 28.0.0, 28.0.3, 29.0.0, 29.0.1, 29.0.2
      System Images: android-21 | Google APIs Intel x86 Atom, android-25 | Google APIs Intel x86 Atom, android-27 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom
      Android NDK: 20.0.5594570
  IDEs:
    Android Studio: 3.5 AI-191.8026.42.35.5900203
    Xcode: 11.0/11A420a - /usr/bin/xcodebuild
  npmPackages:
    react: 16.8.6 => 16.8.6
    react-native: 0.60.0-rc.1 => 0.60.0-rc.1