passepartoutvpn / tunnelkit

VPN client library for Apple platforms.
GNU General Public License v3.0
9 stars 8 forks source link

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

Open tomasjablonskis opened 9 months ago

tomasjablonskis commented 9 months ago

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