superwallkit_flutter: 2.4.12 fails to build on iOS with Flutter error:
The pod "SuperwallKit" required by the plugin "superwallkit_flutter" requires a higher minimum iOS deployment version than the plugin's reported minimum version.
My app target is already >= iOS 13 (in my case 17.0), so this is not an app deployment-target issue.
What I found
In 2.4.12:
ios/superwallkit_flutter.podspec sets:
s.platform = :ios, '14.0'
s.dependency 'SuperwallKit', '4.14.2'
- Flutter appears to detect a mismatch between plugin-reported iOS minimum metadata and podspec requirement, and fails before/at pod install.
Downgrading plugin to 2.4.2 works for the same app/project setup.
Steps to reproduce
- Use Flutter app with iOS deployment target >= 14 (mine is 17.0).
- Set dependency:
superwallkit_flutter: 2.4.12
flutter pub get
flutter run (or cd ios && pod install during Flutter build flow)
Expected
Plugin installs/builds normally on iOS when app deployment target satisfies podspec requirement.
Actual
Flutter throws the minimum-version mismatch error for plugin metadata vs pod requirement.
Request
Could you publish a patch release that aligns plugin-reported iOS minimum metadata with the podspec requirements so Flutter validation passes (or otherwise restore compatibility)?
Happy to test a pre-release/fix branch if useful.
(Similar to this old issue, but fix there does not resolve for me)
superwallkit_flutter: 2.4.12fails to build on iOS with Flutter error:My app target is already >= iOS 13 (in my case 17.0), so this is not an app deployment-target issue.
What I found
In
2.4.12:ios/superwallkit_flutter.podspecsets:s.platform = :ios, '14.0's.dependency 'SuperwallKit', '4.14.2'Downgrading plugin to
2.4.2works for the same app/project setup.Steps to reproduce
superwallkit_flutter: 2.4.12flutter pub getflutter run(orcd ios && pod installduring Flutter build flow)Expected
Plugin installs/builds normally on iOS when app deployment target satisfies podspec requirement.
Actual
Flutter throws the minimum-version mismatch error for plugin metadata vs pod requirement.
Request
Could you publish a patch release that aligns plugin-reported iOS minimum metadata with the podspec requirements so Flutter validation passes (or otherwise restore compatibility)?
Happy to test a pre-release/fix branch if useful.
(Similar to this old issue, but fix there does not resolve for me)