question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CocoaPods could not find compatible versions for pod "AppAuth"

See original GitHub issue

Issue

We are using Expo 35 which depends on React Native 0.59.8. ExpoKit/Core depends on AppAuth (~> 1.2) while react-native-app-auth 4.4.0 depends on AppAuth (= 0.94.0)

Can’t update to react-native-app-auth 5 as it depends on React Native 0.60 which is not supported by the latest Expo version.

Any ideas how to overcome this issue?

[!] CocoaPods could not find compatible versions for pod "AppAuth":
  In Podfile:
    ExpoKit/Core (from `http://github.com/expo/expo.git`, tag `ios/2.13.0`) was resolved to 35.0.0, which depends on
      AppAuth (~> 1.2)

    RNAppAuth (from `../node_modules/react-native-app-auth/ios/`) was resolved to 1.0.0, which depends on
      AppAuth (= 0.94.0)

Specs satisfying the `AppAuth (~> 1.2), AppAuth (= 0.94.0)` dependency were found, but they required a higher minimum deployment target.

Environment

"expo": "^35.0.0",
"react-native": "https://github.com/expo/react-native/archive/sdk-35.0.0.tar.gz",
"react-native-app-auth": "^4.4.0",

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

6reactions
kadikramancommented, Jan 15, 2021

Sounds like you would need to use a higher deployment target.

Specs satisfying the react-native-app-auth (from …/node_modules/react-native-app-auth) dependency were found, but they required a higher minimum deployment target.

In /ios/Podfile this should be on 10 or higher based on our minimum.

platform :ios, '10.0'
0reactions
carlosfranzcommented, Jan 15, 2021

Sounds like you would need to use a higher deployment target.

Specs satisfying the react-native-app-auth (from …/node_modules/react-native-app-auth) dependency were found, but they required a higher minimum deployment target.

In /ios/Podfile this should be on 10 or higher based on our minimum.

platform :ios, '10.0'

Now it works! thank you very very much!

Read more comments on GitHub >

github_iconTop Results From Across the Web

CocoaPods could not find compatible versions for pod "Flutter ...
In the ios folder -> PodFile. You will see that the version of platform is 9 and is commented. Please uncomment it and...
Read more >
AppAuth on CocoaPods.org
AppAuth for iOS and macOS is a client SDK for communicating with OAuth 2.0 and OpenID Connect providers.
Read more >
[!] CocoaPods could not find compatible versions for pod ...
Solution · Go to ios/Pods/Local Podspevs directory in your project · Check every json file to find highest required ios version. Mine was...
Read more >
“[!] CocoaPods could not find compatible versions for pod ...
I had the same problem, but I solved it like this rm Podfile.lock pod install --repo-update.
Read more >
[iOS] CocoaPods could not find compatible versions for pod ...
CocoaPods could not find compatible versions for pod "GoogleMaps": In snapshot (Podfile.lock): GoogleMaps (= 3.1.0) In Podfile: GoogleMaps react ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found