Skip to content

Adopt Swift Package Manager (Package.swift) for the iOS plugin #80

Description

@daohassane

Summary

Flutter now emits a build-time warning for plugins without Swift Package Manager (SPM) support, and states it "will become an error in a future version of Flutter":

The following plugins do not support Swift Package Manager for ios:
  - freerasp
This will become an error in a future version of Flutter.

freerasp (currently 8.0.0) ships iOS as CocoaPods-onlyios/freerasp.podspec + TalsecRuntime.xcframework, with no Package.swift. Projects that have enabled SPM (flutter config --enable-swift-package-manager) fall back to CocoaPods for freerasp today, but this will break once Flutter removes the fallback.

Request

Add a Package.swift for the iOS plugin (vendoring TalsecRuntime.xcframework as an SPM binaryTarget) so freerasp resolves under Swift Package Manager alongside CocoaPods.

Environment

  • freerasp: 8.0.0 (latest on pub.dev)
  • Flutter: SPM enabled (--enable-swift-package-manager)
  • Platform: iOS

Question

Is SPM adoption on the roadmap? Happy to test a pre-release build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions