Skip to content

SPM version #1

@SzGajdzica

Description

@SzGajdzica

Currently, mediation adapter packages are tagged with version numbers such as 7.4.1.1.0 or 7.7.9.0.

These tags do not follow the Semantic Versioning (SemVer) format expected by Swift Package Manager. SwiftPM only supports versions in the form MAJOR.MINOR.PATCH (optionally with pre-release or build metadata). As a result, tags like 7.4.1.1.0 are not recognized as valid versions and cannot be used with normal from: or exact: version requirements. Developers are forced to either:

Depend on unstable branches or specific revisions, or

Fork the repo and re-tag the code with SemVer-compatible versions.

This makes integration much harder and prevents using stable dependency resolution in SwiftPM.

Proposed solution
Use SemVer-compatible tags for mediation adapters. For example:

Instead of 7.4.1.1.0, use 7.4.1 (or 7.4.1+1.0 if the last digits must be preserved).

Instead of 7.7.9.0, use 7.7.9.

This would allow developers to integrate the adapters directly with normal version constraints (from: "7.4.1"), without needing forks or revision pins.

Environment
– SwiftPM 5.9 / 6.0
– Xcode 15 / 16
– iOS deployment target 12+

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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