Hello ladies and gentlemen!
I created a Swift Package that wraps the FreeType library as an Xcode framework - compatible with iOS, macOS, visionOS, tvOS and even watchOS and easy to install via SPM. You can use it directly in both Swift and C. Hope it's useful! Repo:
Can't add it to the Swift Package Registry for some bizarre reason. It says "The version specifier ' 5.9' in '/usr/src/package/Package.swift' is not valid". I can't lower the Swift version because the .visionOS target is available starting from Swift tools 5.9.
Looking forward for adding support for other OS like Windows, Android and Linux when it will be possible!