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

Wrong minimum deployment target in docs for sdk v. 4 #196

Open
ospaarmann opened this issue Jul 8, 2024 · 2 comments
Open

Wrong minimum deployment target in docs for sdk v. 4 #196

ospaarmann opened this issue Jul 8, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ospaarmann
Copy link

Expected Behavior

Following the installation or migration guide in the official docs should allow me to install the Amplitude Flutter SDK 4.0

Current Behavior

  • The docs specify iOS 10.0 as the minimum deployment target.
  • The amplitude podspecs specify iOS 13 as the minimum deployment target.
  • On pod install I received this error:
🤷 ❯ pod install
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "amplitude_flutter":
  In Podfile:
    amplitude_flutter (from `.symlinks/plugins/amplitude_flutter/ios`)

Specs satisfying the `amplitude_flutter (from `.symlinks/plugins/amplitude_flutter/ios`)` dependency were found, but they required a higher minimum deployment target.

Possible Solution

Update the docs to include

Add platform :ios, '13.0' to your Podfile.

Steps to Reproduce

  1. Follow the steps in the installation guide
  2. Set platform :ios, '10.0' in the podfile
  3. Run pod install
  4. No further steps

Environment

  • SDK Version: 4.0.0-beta.5
  • Flutter Version: 3.22.2
@ospaarmann ospaarmann added the bug Something isn't working label Jul 8, 2024
@izaaz
Copy link

izaaz commented Jul 8, 2024

Thank you for creating this issue @ospaarmann . YOu're right, the min version should be 13 and not 10. We'll update the docs soon.

@Mercy811
Copy link
Contributor

Hi @ospaarmann, both the Flutter 4.x installation and migration docs are updated.

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