Amplitude-Flutter
Amplitude-Flutter copied to clipboard
Wrong minimum deployment target in docs for sdk v. 4
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 installI 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
- Follow the steps in the installation guide
- Set
platform :ios, '10.0'in the podfile - Run
pod install - No further steps
Environment
- SDK Version: 4.0.0-beta.5
- Flutter Version: 3.22.2
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.
Hi @ospaarmann, both the Flutter 4.x installation and migration docs are updated.