-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When the Livekit SDK is included as a dependency in another framework, the framework fails to build. #337
Comments
I can't reproduce this using Xcode 15.2. Did it work for you with v1 ? |
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 |
I can build frameworks depending on LiveKit, can you try again with v2.0.6 ? |
Have you seen the related issue I posted recently #364 (comment) |
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
The text was updated successfully, but these errors were encountered: