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

Implicit use of "self" error in Xcodebuild 14.2 #336

Closed indaos closed 4 months ago

indaos commented 5 months ago

Describe the bug I get an error when I try to build a project with a LiveKit dependency.

Library/Developer/Xcode/DerivedData/.../SourcePackages/checkouts/client-sdk-swift/Sources/LiveKit/Track/AudioManager.swift:228:69: error: implicit use of 'self' in closure; use 'self.' to make capture semantics explicit let configureFunc = newState.customConfigureFunc ?? defaultConfigureAudioSessionFunc

SDK Version 2.0.1

iOS/macOS Version Xcodebuild 14.2

hiroshihorie commented 4 months ago

Hello can you try v2.0.2 ? Thanks for the report.