amplitude / Amplitude-Flutter

Official Amplitude Flutter SDK
https://developers.amplitude.com/docs/flutter-setup
MIT License
112 stars 67 forks source link

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

Open ospaarmann opened 2 weeks ago

ospaarmann commented 2 weeks ago

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

🤷 ❯ 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

izaaz commented 2 weeks ago

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.