Issues making a wrapper Swift Package for Tidy-HTML5

Viewed 9

So I'm trying to include Tidy-HTML5 into an app I'm making. I've run into some issue lately that I don't really know how to solve.

I created this wrapper package, since Tidy-HTML5 is a pure C library and does not support Swift Package Manager.

When I add this package as a dependency in my main project it works fine. That is I need to do the following:

import SwiftTidyHTML
import tidy

But this only works if I build for macOS, if I build for iOS I get an error that tidy cannot be found.

Any help would be really appreciated.

Thanks in advance.

0 Answers
Related