Quote Originally Posted by gianluca.bertani View Post
Hello again,

we investigated the matter, and I’m afraid we have bad news. As reported even at the very beginning of the official documentation, a Swift package can't contain binaries.
Hi, thanks for your answer. I understand the limitation.

Xcode 11 supports distributing binary libraries with new XCFrameworks format. https://developer.apple.com/videos/play/wwdc2019/416/
Just out of curiosity, I have tried to run

cd lightstreameriosclientxcodebuild
-create-xcframework -framework Lightstreamer_iOS_Client.framework -output lightstreamer.xcframework

And I am getting error:
error: binaries with multiple platforms are not supported

Is this because your binary contains Java? Only Swift and "C based code" is supported.

If you decide to rewrite your client in Swift — XCFrameworks is wonderful tool for distribution with official support. It's great alternative to SPM if you don't want to go open source. I wish you all the best.