sindresorhus / Defaults

💾 Swifty and modern UserDefaults
https://swiftpackageindex.com/sindresorhus/Defaults/documentation/defaults
MIT License
1.93k stars 115 forks source link

Issue with adding the SPM package in a new project (Swift Tools Version 5.8) #134

Closed jordibruin closed 1 year ago

jordibruin commented 1 year ago

I'm getting this error saying that the package is using Swift Tools version 5.8. Ive never seen this before with any SPM packages, so not sure if this is something I should fix on my end, but wanted to drop a message in case it's something that should be adjusted on the Defaults side.

image
jordibruin commented 1 year ago

This only happens for 7.2.0

sindresorhus commented 1 year ago

Are you on Xcode 14.3?

The error makes no sense either as I bumped to 5.8 in the latest commit, but not in 7.2.0.

jordibruin commented 1 year ago

Ah I'm on 14.1, that's probably what the issue, sorry about that!