Skip to content

iOS minimum version metadata mismatch in 2.4.12 blocks Flutter builds #143

@woodyhayday

Description

@woodyhayday

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

  1. Use Flutter app with iOS deployment target >= 14 (mine is 17.0).
  2. Set dependency: superwallkit_flutter: 2.4.12
  3. flutter pub get
  4. 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions