-
August 21st, 2019, 03:54 PM
#1
Importing Lightstreamer with Swift Package Manager
As you might heard Xcode 11 now allows us to use Swift Package Manager for iOS projects. This allows us move away from CocoaPods or Carthage. I am already converted our Lightstreamer internal wrapper into Swift Package but I was unable to build it. I am getting errors when trying to import the framework:
error: no such module 'Lightstreamer_iOS_Client'
import Lightstreamer_iOS_Client
I have also tried to wrap lightstreamer into its own SPM project and I am able to build it, but even if my package depends on it, it produces same error.
Quick research showed me that Swift packages do not support binary frameworks, however I think it is worked in Xcode beta 5, now I am using Xcode beta 6 and it doesn't work any more.
Ideally we would have Swift.package file into Lightstreamer client and this would allow us to import it, the code has to be open. Thank you.
Similar Threads
-
Replies: 4
Last Post: March 2nd, 2016, 05:58 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 12:35 AM.
Bookmarks