client-sdk-swift
client-sdk-swift copied to clipboard
How to use SDK in 'cocoapods'.
hi, how to use SDK in 'cocoapods'.
we have not yet published the SDK to cocoapods. You should be able to use Swift packages in addition to Cocoapods.
A point was raised in #101 that if a Cocoapod library was to bundle this, they are not able to use Swift Packages. That's a good point.
@davidzhao any plans to support Cocoapods? We are also building a library for both pods and SPM but can't embed LiveKit in the pod version.
@davidzhao any plans to support Cocoapods? We are also building a library for both pods and SPM but can't embed
LiveKitin the pod version.
@tgyhlsb I rewrite this library to support Cocoapods, you can review it here: https://github.com/baveku/iOS_LiveKit My lib is out of date. Next month, I will refactor and rewrite new version to support iOS and Cocoapods. Based on this library
Update: Cocoapods support should be available from next version. 🙂
I've seen this commit https://github.com/livekit/client-sdk-swift/commit/d7a68b34af8ab2c5e6312458f75f0795ae9bd862 \o/
Maybe it's too early, but it does not seem to have been pushed to trunk, right?
Thanks for working on it (:
I think that because spec.source_files is commented out in https://github.com/livekit/client-sdk-swift/blob/main/LiveKit.podspec - the Pod does not actually contain any LiveKit source files - and does not produce the framework correctly.
Hi, the podspec is published to Cocoapods with name LiveKitClient.
This is a minimal example including LiveKit with Cocoapods: https://github.com/livekit/client-example-collection-swift/tree/main/using-cocoapods
I will close this for now.
Hi,
I've checked the LiveKitClient pod but I'm having some troubles when I try to archive a project while using it. It's related to a missing module.
Can you take a look?
Thanks