tunnelkit icon indicating copy to clipboard operation
tunnelkit copied to clipboard

SPM does not allow a use of unstable version of wireguard-apple package

Open tomasjablonskis opened this issue 2 years ago • 0 comments

Summary

SPM does not like 6.3.X version of the library on Xcode 15.2 because of "wireguard-apple" package pointing to specific "revision" instead of version tag/release.

Steps to reproduce

Add 6.3.X version to your SPM dependency list and trigger Xcode to resolve SPM package versions.

What is the current bug behavior?

Impossible to use the library.

What is the expected correct behavior?

SPM resolve package versions correctly without an error.

Relevant logs and/or screenshots

image

Possible fixes suggested remediation

In Package.swift point to stable version of "wireguard-apple" package instead of pointing to a specific commit hash. SPM considers "stable" version to be a version with a version tag/release.

Screenshot 2024-02-09 at 10 41 22

tomasjablonskis avatar Feb 09 '24 08:02 tomasjablonskis