Open indaos opened 4 months ago
I can't reproduce this using Xcode 15.2. Did it work for you with v1 ? I checked the diff but there was no changes for CHeaders from v1 -> v2.
I built my own XCFramework (not an app), which has a dependency on Livekit via SPM. Did you do the same? Because such errors are quite common in this specific case.
I just tried version 2.0.2 with 15.2, and the error still exists. Usually, it has nothing to do with "CHeaders" (or similar) itself but rather with the presence of "import CHeaders" in the "swiftinterface" file.
I'll retry this, thanks for the report.
There are no problems with Xcode 14.2 and version 2, but with version 15, issues arise, not just with CHeaders. When I added @_implementationOnly to import CHeaders just for checking purposes, other errors related to different issues appeared.
Can you create a minimal reproducible project and attach it here ?
LiveKitTest.zip Hi! use local_build.sh in the project directory
@indaos Can you try building using this branch ? https://github.com/livekit/client-sdk-swift/pull/356
things have changed, but I got the following errors:
I can build frameworks depending on LiveKit, can you try again with v2.0.6 ?
Have you seen the related issue I posted recently https://github.com/livekit/client-sdk-swift/issues/364#issue-2240095214 I still have the same thing. please explain in more detail how you did this, maybe I missed something...
Describe the bug While attempting to build an XCframework with LiveKit SDK as a dependency, I encountered the following errors.
SDK Version 2.0.1
iOS/macOS Version XCode 15.1