Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MacOS] dependency were found, but they required a higher minimum deployment target. #125

Closed
edeuss opened this issue Oct 29, 2020 · 9 comments
Labels
bug Something isn't working

Comments

@edeuss
Copy link

edeuss commented Oct 29, 2020

Getting this error when trying to update the podfile with pod update

Error:

[!] CocoaPods could not find compatible versions for pod "purchases_flutter":
  In Podfile:
    purchases_flutter (from `Flutter/ephemeral/.symlinks/plugins/purchases_flutter/macos`)

Specs satisfying the `purchases_flutter (from `Flutter/ephemeral/.symlinks/plugins/purchases_flutter/macos`)` dependency were found, but they required a higher minimum deployment target.

Flutter doctor -v:

[✓] Flutter (Channel dev, 1.24.0-3.0.pre, on Mac OS X 10.15.7 19H2 darwin-x64, locale en-US)
    • Flutter version 1.24.0-3.0.pre at /Users/eliasdeuss/flutter
    • Framework revision 2783f8e2e1 (7 days ago), 2020-10-22 09:36:06 -0700
    • Engine revision defa8be2b1
    • Dart version 2.11.0 (build 2.11.0-242.0.dev)

[✓] Xcode - develop for iOS and macOS (Xcode 12.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0, Build version 12A7209
    • CocoaPods version 1.10.0
@edeuss edeuss added the bug Something isn't working label Oct 29, 2020
@aboedo
Copy link
Member

aboedo commented Oct 30, 2020

what do you have set as the deployment target for macOS?
The plugin needs it to be at least 10.12, as defined here: https://github.com/RevenueCat/purchases-flutter/blob/develop/macos/purchases_flutter.podspec#L20.

@edeuss
Copy link
Author

edeuss commented Oct 30, 2020

what do you have set as the deployment target for macOS?

The plugin needs it to be at least 10.12, as defined here: https://github.com/RevenueCat/purchases-flutter/blob/develop/macos/purchases_flutter.podspec#L20.

@aboedo I have it set to 10.13.

@aboedo
Copy link
Member

aboedo commented Oct 30, 2020

Make sure that you have the value set in the podfile itself https://docs.revenuecat.com/docs/flutter#ios-deployment-target

@edeuss
Copy link
Author

edeuss commented Oct 30, 2020

Screenshot_9

@aboedo I have it also set to 10.13

@edeuss
Copy link
Author

edeuss commented Oct 30, 2020

Nevermind it was set in the package to .14 when I was going through it.

@edeuss edeuss closed this as completed Oct 30, 2020
@manel00
Copy link

manel00 commented Mar 17, 2021

How to solve this problem? Thank you

It never ends with Capacitor Local Notifications

@aboedo
Copy link
Member

aboedo commented Mar 17, 2021

@manel00 as mentioned before, make sure that the deployment target is correctly set, both in the Podfile and in the project.

@manel00
Copy link

manel00 commented Mar 17, 2021

The problem I have, It is changing to default (11.0) where is the source where it gets it? Ionic 5 + Capacitor 2

@aboedo
Copy link
Member

aboedo commented Mar 17, 2021

@manel00 you should follow up with our support team at https://support.revenuecat.com so they can help you get set up. We reserve Github Issues for bug reports.
I believe that you can configure the value through config.xml, as demonstrated here https://stackoverflow.com/a/36806063/5074358. But if you struggle with that, I recommend again that you follow up with our support team who can better assist you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants