Bug: failure to compile in Xcode 16.2 with Float16 type, missing @available
for >= ios 14.0
#589
Open
3 tasks done
Labels
bug
Something isn't working
Describe the bug
Tried updating my project’s package dependency on usearch from 2.17.1 to 2.17.6 — got compilation errors suggesting to mark all the
Float16
methods as@available
for only iOS 14 or later. I suppose an alternative could be declaring minimum supported OS versions in the Package.swift.Steps to reproduce
In my project targeting only iOS 17 or later, adding usearch 2.17.6 to package dependencies is enough to surface this compilation error.
Expected behavior
No problems compiling for a project which only targets OS versions supported by all types and interfaces used.
USearch version
2.17.6
Operating System
macOS 15.3.2, targeting >= ios 17.0
Hardware architecture
Arm
Which interface are you using?
Other bindings
Contact Details
[email protected]
Are you open to being tagged as a contributor?
.git
history as a contributorIs there an existing issue for this?
Code of Conduct
The text was updated successfully, but these errors were encountered: