Skip to content

Current Package.swift config does not work #1147

@kaulex99

Description

@kaulex99

The current Package.swift config is not working. When Xcode tries to resolve the ObjectMapper version 4.4.2 it ends up in following error.

/Package.swift:7:43: error: 'v12' is unavailable
                      platforms: [.macOS(.v12),
                                          ^~~
PackageDescription.SupportedPlatform:21:27: note: 'v12' was introduced in PackageDescription 5.5
        public static let v12: PackageDescription.SupportedPlatform.MacOSVersion
                          ^ in https://github.com/tristanhimmelman/ObjectMapper.git

So the first line of the package file need to be changed to version 5.5

// swift-tools-version:5.5

@tristanhimmelman

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions