React-native-app-auth: CocoaPods could not find compatible versions for pod "AppAuth"

Created on 24 Sep 2019  路  8Comments  路  Source: FormidableLabs/react-native-app-auth

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",

Most helpful comment

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'

All 8 comments

same error for me

I can't 100% vouch for Expo compatibility, but you could try using patch-package to change the version of AppAuth in the Podfile in your node_modules. I think you'd also need to make this change - it was a typo they fixed that caused a breaking change in v1.0.

Try pod update before pod install that worked for me.

Update version with yarn add react-native-app-auth@next
Worked for me

Closing as 0.60+ support has been added in expo sdk 36

Hi, i have the similar error but i don麓t use Expo
"react-native":"0.62.2"
"react-native-app-auth":"^6.0.2"
Error:

[!] CocoaPods could not find compatible versions for pod "react-native-app-auth":
In Podfile:
react-native-app-auth (from ../node_modules/react-native-app-auth)

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.

just install the library and when doing pod install the error appears :(

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'

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!

Was this page helpful?
0 / 5 - 0 ratings