livekit / client-sdk-swift

LiveKit Swift Client SDK. Easily build live audio or video experiences into your mobile app, game or website.
https://livekit.io
Apache License 2.0
174 stars 84 forks source link

Error build project with 2.0.4 version with LiveKit on Xcode 15.2 #345

Closed Viktorianec closed 3 months ago

Viktorianec commented 4 months ago

Describe the bug Xcode 15.2 compiling error as SPM dependency. Duplicate interface definition for class 'Sid' etc.

SDK Version 2\\\\.0.4

Screenshots

Example — LiveKit-Swift h 2024-02-22 12-43-04

hiroshihorie commented 4 months ago

I think there's an issue with nested symbols, can you try this branch ? https://github.com/livekit/client-sdk-swift/tree/rename-objc-nested-symbols

Viktorianec commented 4 months ago

@hiroshihorie Thank you, solution from https://github.com/livekit/client-sdk-swift/tree/rename-objc-nested-symbols worked. I linked it to needed targets and now everything's fine.

hiroshihorie commented 3 months ago

This is in v2.0.5

Viktorianec commented 3 months ago

I'm getting another error: Missing required module 'CHeaders' 2024-03-11 10 17 42

hiroshihorie commented 3 months ago

I can't reproduce that, can you try resetting package cache ?

Viktorianec commented 3 months ago

You were right, after resetting the cache everything is fine. Thank you for your hard work