Cocoanetics / DTCoreText

Methods to allow using HTML code with CoreText
BSD 2-Clause "Simplified" License
6.35k stars 1.18k forks source link

Fix warnings and SPM build issues #1271

Closed daniel-muhra-cw closed 1 year ago

daniel-muhra-cw commented 1 year ago

We are using DTCoreText in combination with Swift Package Manager. We have a zero warnings policy and noticed issues with DTCoreText due to missing declarations in DTCompatiblity.h

While fixing the warnings, we also noticed that the SPM version of the project currently doesn't work correctly when opening the Package.swift in Xcode (in particular the unit tests didn't neither compile nor run successfully). Therefore we fixed this as well.

This should not have any implications on other build systems

odrobnik commented 1 year ago

Thanks for the PR!