I have written a package that consumes Siesta, and I would like to be able to run automated tests for it on a linux platform using SwiftPM. I see that siesta has a Package.swift which declares the exclusion of SiestaUI, however I see that the AppKit/UIKit import for the standard transformers -> Image
type is used widely, and UIImage references failed to compile on linux.
Further, I would specifically like my consuming library to deal with images coming from Siesta. At a minimum, I would need to inject UIKit methods that are capable of consuming Siesta's types, from the consumer.
So, (1) is there any expectation that Siesta can be used with SwiftPM on linux? If so, what is the intended flow here? It seems like PureSwift/Cacao and Silica could be a shim to help me out here, but my experiments aren't wiring up right somehow, and the translation between the different domain types isn't obvious (i.e., I want to use Siesta to transmit a jpeg of an image, but Cacao does't offer an implementation of UIImageJPEGRepresentation
).
Any thoughts?