This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of AgoraUIKit_macOS with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 114

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

    |               `- note: add 'nonisolated' to 'rtcEngine(_:audioQualityOfUid:quality:delay:lost:)' to make this instance method not isolated to the actor
205 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, audioQualityOfUid: uid, quality: quality, delay: delay, lost: lost)
206 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:68:19: note: 'rtcEngine(_:audioQualityOfUid:quality:delay:lost:)' declared here
 66 |     optional func rtcEngineRemoteAudioMixingDidStart(_ engine: AgoraRtcEngineKit)
 67 |     optional func rtcEngineRemoteAudioMixingDidFinish(_ engine: AgoraRtcEngineKit)
 68 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, audioQualityOfUid uid: UInt, quality: AgoraNetworkQuality, delay: UInt, lost: UInt)
    |                   `- note: 'rtcEngine(_:audioQualityOfUid:quality:delay:lost:)' declared here
 69 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, audioTransportStatsOfUid uid: UInt, delay: UInt, lost: UInt, rxKBitRate: UInt)
 70 |     optional func rtcEngineIntraRequestReceived(_ engine: AgoraRtcEngineKit)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:198:15: warning: main actor-isolated instance method 'rtcEngine(_:audioTransportStatsOfUid:delay:lost:rxKBitRate:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
196 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didProxyConnected: channel, withUid: uid, proxyType: proxyType, localProxyIp: localProxyIp, elapsed: elapsed)
197 |     }
198 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, audioTransportStatsOfUid uid: UInt, delay: UInt, lost: UInt, rxKBitRate: UInt) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:audioTransportStatsOfUid:delay:lost:rxKBitRate:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:audioTransportStatsOfUid:delay:lost:rxKBitRate:)' to make this instance method not isolated to the actor
199 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, audioTransportStatsOfUid: uid, delay: delay, lost: lost, rxKBitRate: rxKBitRate)
200 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:69:19: note: 'rtcEngine(_:audioTransportStatsOfUid:delay:lost:rxKBitRate:)' declared here
 67 |     optional func rtcEngineRemoteAudioMixingDidFinish(_ engine: AgoraRtcEngineKit)
 68 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, audioQualityOfUid uid: UInt, quality: AgoraNetworkQuality, delay: UInt, lost: UInt)
 69 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, audioTransportStatsOfUid uid: UInt, delay: UInt, lost: UInt, rxKBitRate: UInt)
    |                   `- note: 'rtcEngine(_:audioTransportStatsOfUid:delay:lost:rxKBitRate:)' declared here
 70 |     optional func rtcEngineIntraRequestReceived(_ engine: AgoraRtcEngineKit)
 71 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, uplinkNetworkInfoUpdate networkInfo: AgoraUplinkNetworkInfo)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:207:15: warning: main actor-isolated instance method 'rtcEngineIntraRequestReceived' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
205 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, audioQualityOfUid: uid, quality: quality, delay: delay, lost: lost)
206 |     }
207 |     open func rtcEngineIntraRequestReceived(_ engine: AgoraRtcEngineKit) {
    |               |- warning: main actor-isolated instance method 'rtcEngineIntraRequestReceived' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngineIntraRequestReceived' to make this instance method not isolated to the actor
208 |         self.agoraSettings.rtcDelegate?.rtcEngineIntraRequestReceived?(engine)
209 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:70:19: note: 'rtcEngineIntraRequestReceived' declared here
 68 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, audioQualityOfUid uid: UInt, quality: AgoraNetworkQuality, delay: UInt, lost: UInt)
 69 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, audioTransportStatsOfUid uid: UInt, delay: UInt, lost: UInt, rxKBitRate: UInt)
 70 |     optional func rtcEngineIntraRequestReceived(_ engine: AgoraRtcEngineKit)
    |                   `- note: 'rtcEngineIntraRequestReceived' declared here
 71 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, uplinkNetworkInfoUpdate networkInfo: AgoraUplinkNetworkInfo)
 72 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, downlinkNetworkInfoUpdate networkInfo: AgoraDownlinkNetworkInfo)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:216:15: warning: main actor-isolated instance method 'rtcEngine(_:uplinkNetworkInfoUpdate:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
214 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, permissionError: type)
215 |     }
216 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, uplinkNetworkInfoUpdate networkInfo: AgoraUplinkNetworkInfo) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:uplinkNetworkInfoUpdate:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:uplinkNetworkInfoUpdate:)' to make this instance method not isolated to the actor
217 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, uplinkNetworkInfoUpdate: networkInfo)
218 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:71:19: note: 'rtcEngine(_:uplinkNetworkInfoUpdate:)' declared here
 69 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, audioTransportStatsOfUid uid: UInt, delay: UInt, lost: UInt, rxKBitRate: UInt)
 70 |     optional func rtcEngineIntraRequestReceived(_ engine: AgoraRtcEngineKit)
 71 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, uplinkNetworkInfoUpdate networkInfo: AgoraUplinkNetworkInfo)
    |                   `- note: 'rtcEngine(_:uplinkNetworkInfoUpdate:)' declared here
 72 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, downlinkNetworkInfoUpdate networkInfo: AgoraDownlinkNetworkInfo)
 73 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didAudioSubscribeStateChange channelId: String, uid: UInt32, oldState: AgoraStreamSubscribeState, newState: AgoraStreamSubscribeState, elapseSinceLastState: Int32)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:219:15: warning: main actor-isolated instance method 'rtcEngine(_:downlinkNetworkInfoUpdate:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
217 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, uplinkNetworkInfoUpdate: networkInfo)
218 |     }
219 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, downlinkNetworkInfoUpdate networkInfo: AgoraDownlinkNetworkInfo) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:downlinkNetworkInfoUpdate:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:downlinkNetworkInfoUpdate:)' to make this instance method not isolated to the actor
220 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, downlinkNetworkInfoUpdate: networkInfo)
221 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:72:19: note: 'rtcEngine(_:downlinkNetworkInfoUpdate:)' declared here
 70 |     optional func rtcEngineIntraRequestReceived(_ engine: AgoraRtcEngineKit)
 71 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, uplinkNetworkInfoUpdate networkInfo: AgoraUplinkNetworkInfo)
 72 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, downlinkNetworkInfoUpdate networkInfo: AgoraDownlinkNetworkInfo)
    |                   `- note: 'rtcEngine(_:downlinkNetworkInfoUpdate:)' declared here
 73 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didAudioSubscribeStateChange channelId: String, uid: UInt32, oldState: AgoraStreamSubscribeState, newState: AgoraStreamSubscribeState, elapseSinceLastState: Int32)
 74 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didAudioPublishStateChange channelId: String, oldState: AgoraStreamPublishState, newState: AgoraStreamPublishState, elapseSinceLastState: Int32)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:228:15: warning: main actor-isolated instance method 'rtcEngine(_:didAudioSubscribeStateChange:uid:oldState:newState:elapseSinceLastState:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
226 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didVideoPublishStateChange: channelId, sourceType: sourceType, oldState: oldState, newState: newState, elapseSinceLastState: elapseSinceLastState)
227 |     }
228 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, didAudioSubscribeStateChange channelId: String, uid: UInt32, oldState: AgoraStreamSubscribeState, newState: AgoraStreamSubscribeState, elapseSinceLastState: Int32) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didAudioSubscribeStateChange:uid:oldState:newState:elapseSinceLastState:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didAudioSubscribeStateChange:uid:oldState:newState:elapseSinceLastState:)' to make this instance method not isolated to the actor
229 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didAudioSubscribeStateChange: channelId, uid: uid, oldState: oldState, newState: newState, elapseSinceLastState: elapseSinceLastState)
230 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:73:19: note: 'rtcEngine(_:didAudioSubscribeStateChange:uid:oldState:newState:elapseSinceLastState:)' declared here
 71 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, uplinkNetworkInfoUpdate networkInfo: AgoraUplinkNetworkInfo)
 72 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, downlinkNetworkInfoUpdate networkInfo: AgoraDownlinkNetworkInfo)
 73 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didAudioSubscribeStateChange channelId: String, uid: UInt32, oldState: AgoraStreamSubscribeState, newState: AgoraStreamSubscribeState, elapseSinceLastState: Int32)
    |                   `- note: 'rtcEngine(_:didAudioSubscribeStateChange:uid:oldState:newState:elapseSinceLastState:)' declared here
 74 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didAudioPublishStateChange channelId: String, oldState: AgoraStreamPublishState, newState: AgoraStreamPublishState, elapseSinceLastState: Int32)
 75 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didLocalUserRegisteredWithUserId uid: UInt, userAccount: String)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:222:15: warning: main actor-isolated instance method 'rtcEngine(_:didAudioPublishStateChange:oldState:newState:elapseSinceLastState:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
220 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, downlinkNetworkInfoUpdate: networkInfo)
221 |     }
222 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, didAudioPublishStateChange channelId: String, oldState: AgoraStreamPublishState, newState: AgoraStreamPublishState, elapseSinceLastState: Int32) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didAudioPublishStateChange:oldState:newState:elapseSinceLastState:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didAudioPublishStateChange:oldState:newState:elapseSinceLastState:)' to make this instance method not isolated to the actor
223 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didAudioPublishStateChange: channelId, oldState: oldState, newState: newState, elapseSinceLastState: elapseSinceLastState)
224 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:74:19: note: 'rtcEngine(_:didAudioPublishStateChange:oldState:newState:elapseSinceLastState:)' declared here
 72 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, downlinkNetworkInfoUpdate networkInfo: AgoraDownlinkNetworkInfo)
 73 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didAudioSubscribeStateChange channelId: String, uid: UInt32, oldState: AgoraStreamSubscribeState, newState: AgoraStreamSubscribeState, elapseSinceLastState: Int32)
 74 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didAudioPublishStateChange channelId: String, oldState: AgoraStreamPublishState, newState: AgoraStreamPublishState, elapseSinceLastState: Int32)
    |                   `- note: 'rtcEngine(_:didAudioPublishStateChange:oldState:newState:elapseSinceLastState:)' declared here
 75 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didLocalUserRegisteredWithUserId uid: UInt, userAccount: String)
 76 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didUserInfoUpdatedWithUserId uid: UInt, userInfo: AgoraUserInfo)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:111:15: warning: main actor-isolated instance method 'rtcEngine(_:didLocalUserRegisteredWithUserId:userAccount:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
109 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, reportAudioVolumeIndicationOfSpeakers: speakers, totalVolume: totalVolume)
110 |     }
111 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, didLocalUserRegisteredWithUserId uid: UInt, userAccount: String) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didLocalUserRegisteredWithUserId:userAccount:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didLocalUserRegisteredWithUserId:userAccount:)' to make this instance method not isolated to the actor
112 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didLocalUserRegisteredWithUserId: uid, userAccount: userAccount)
113 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:75:19: note: 'rtcEngine(_:didLocalUserRegisteredWithUserId:userAccount:)' declared here
 73 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didAudioSubscribeStateChange channelId: String, uid: UInt32, oldState: AgoraStreamSubscribeState, newState: AgoraStreamSubscribeState, elapseSinceLastState: Int32)
 74 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didAudioPublishStateChange channelId: String, oldState: AgoraStreamPublishState, newState: AgoraStreamPublishState, elapseSinceLastState: Int32)
 75 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didLocalUserRegisteredWithUserId uid: UInt, userAccount: String)
    |                   `- note: 'rtcEngine(_:didLocalUserRegisteredWithUserId:userAccount:)' declared here
 76 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didUserInfoUpdatedWithUserId uid: UInt, userInfo: AgoraUserInfo)
 77 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didRhythmPlayerStateChanged state: AgoraRhythmPlayerState, errorCode: AgoraRhythmPlayerError)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:114:15: warning: main actor-isolated instance method 'rtcEngine(_:didUserInfoUpdatedWithUserId:userInfo:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
112 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didLocalUserRegisteredWithUserId: uid, userAccount: userAccount)
113 |     }
114 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, didUserInfoUpdatedWithUserId uid: UInt, userInfo: AgoraUserInfo) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didUserInfoUpdatedWithUserId:userInfo:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didUserInfoUpdatedWithUserId:userInfo:)' to make this instance method not isolated to the actor
115 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didUserInfoUpdatedWithUserId: uid, userInfo: userInfo)
116 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:76:19: note: 'rtcEngine(_:didUserInfoUpdatedWithUserId:userInfo:)' declared here
 74 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didAudioPublishStateChange channelId: String, oldState: AgoraStreamPublishState, newState: AgoraStreamPublishState, elapseSinceLastState: Int32)
 75 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didLocalUserRegisteredWithUserId uid: UInt, userAccount: String)
 76 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didUserInfoUpdatedWithUserId uid: UInt, userInfo: AgoraUserInfo)
    |                   `- note: 'rtcEngine(_:didUserInfoUpdatedWithUserId:userInfo:)' declared here
 77 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didRhythmPlayerStateChanged state: AgoraRhythmPlayerState, errorCode: AgoraRhythmPlayerError)
 78 |     @available(*, deprecated)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:186:15: warning: main actor-isolated instance method 'rtcEngine(_:didRhythmPlayerStateChanged:errorCode:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
184 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didClientRoleChangeFailed: reason, currentRole: currentRole)
185 |     }
186 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, didRhythmPlayerStateChanged state: AgoraRhythmPlayerState, errorCode: AgoraRhythmPlayerError) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didRhythmPlayerStateChanged:errorCode:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didRhythmPlayerStateChanged:errorCode:)' to make this instance method not isolated to the actor
187 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didRhythmPlayerStateChanged: state, errorCode: errorCode)
188 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:77:19: note: 'rtcEngine(_:didRhythmPlayerStateChanged:errorCode:)' declared here
 75 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didLocalUserRegisteredWithUserId uid: UInt, userAccount: String)
 76 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didUserInfoUpdatedWithUserId uid: UInt, userInfo: AgoraUserInfo)
 77 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didRhythmPlayerStateChanged state: AgoraRhythmPlayerState, errorCode: AgoraRhythmPlayerError)
    |                   `- note: 'rtcEngine(_:didRhythmPlayerStateChanged:errorCode:)' declared here
 78 |     @available(*, deprecated)
 79 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, firstRemoteVideoDecodedOfUid uid: UInt, size: CGSize, elapsed: Int)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:165:15: warning: main actor-isolated instance method 'rtcEngine(_:firstRemoteVideoFrameOfUid:size:elapsed:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
163 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, receiveStreamMessageFromUid: uid, streamId: streamId, data: data)
164 |     }
165 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, firstRemoteVideoFrameOfUid uid: UInt, size: CGSize, elapsed: Int) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:firstRemoteVideoFrameOfUid:size:elapsed:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:firstRemoteVideoFrameOfUid:size:elapsed:)' to make this instance method not isolated to the actor
166 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, firstRemoteVideoFrameOfUid: uid, size: size, elapsed: elapsed)
167 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:80:19: note: 'rtcEngine(_:firstRemoteVideoFrameOfUid:size:elapsed:)' declared here
 78 |     @available(*, deprecated)
 79 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, firstRemoteVideoDecodedOfUid uid: UInt, size: CGSize, elapsed: Int)
 80 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, firstRemoteVideoFrameOfUid uid: UInt, size: CGSize, elapsed: Int)
    |                   `- note: 'rtcEngine(_:firstRemoteVideoFrameOfUid:size:elapsed:)' declared here
 81 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, videoSizeChangedOf sourceType: AgoraVideoSourceType, uid: UInt, size: CGSize, rotation: Int)
 82 |     @available(swift, obsoleted: 3, renamed: "rtcEngine(_:videoSizeChangedOf:uid:size:rotation:)")
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:153:15: warning: main actor-isolated instance method 'rtcEngine(_:videoSizeChangedOf:uid:size:rotation:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
151 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didRejoinChannel: channel, withUid: uid, elapsed: elapsed)
152 |     }
153 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, videoSizeChangedOf sourceType: AgoraVideoSourceType, uid: UInt, size: CGSize, rotation: Int) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:videoSizeChangedOf:uid:size:rotation:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:videoSizeChangedOf:uid:size:rotation:)' to make this instance method not isolated to the actor
154 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, videoSizeChangedOf: sourceType, uid: uid, size: size, rotation: rotation)
155 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:81:19: note: 'rtcEngine(_:videoSizeChangedOf:uid:size:rotation:)' declared here
 79 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, firstRemoteVideoDecodedOfUid uid: UInt, size: CGSize, elapsed: Int)
 80 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, firstRemoteVideoFrameOfUid uid: UInt, size: CGSize, elapsed: Int)
 81 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, videoSizeChangedOf sourceType: AgoraVideoSourceType, uid: UInt, size: CGSize, rotation: Int)
    |                   `- note: 'rtcEngine(_:videoSizeChangedOf:uid:size:rotation:)' declared here
 82 |     @available(swift, obsoleted: 3, renamed: "rtcEngine(_:videoSizeChangedOf:uid:size:rotation:)")
 83 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, videoSizeChangedOfSourceType sourceType: AgoraVideoSourceType, uid: UInt, size: CGSize, rotation: Int)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:168:15: warning: main actor-isolated instance method 'rtcEngine(_:contentInspectResult:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
166 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, firstRemoteVideoFrameOfUid: uid, size: size, elapsed: elapsed)
167 |     }
168 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, contentInspectResult result: AgoraContentInspectResult) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:contentInspectResult:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:contentInspectResult:)' to make this instance method not isolated to the actor
169 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, contentInspectResult: result)
170 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:84:19: note: 'rtcEngine(_:contentInspectResult:)' declared here
 82 |     @available(swift, obsoleted: 3, renamed: "rtcEngine(_:videoSizeChangedOf:uid:size:rotation:)")
 83 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, videoSizeChangedOfSourceType sourceType: AgoraVideoSourceType, uid: UInt, size: CGSize, rotation: Int)
 84 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, contentInspectResult result: AgoraContentInspectResult)
    |                   `- note: 'rtcEngine(_:contentInspectResult:)' declared here
 85 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, snapshotTaken uid: UInt, filePath: String, width: Int, height: Int, errCode: Int)
 86 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, localVideoStateChangedOf state: AgoraVideoLocalState, error: AgoraLocalVideoStreamError, sourceType: AgoraVideoSourceType)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:192:15: warning: main actor-isolated instance method 'rtcEngine(_:snapshotTaken:filePath:width:height:errCode:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
190 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, uploadLogResultRequestId: requestId, success: success, reason: reason)
191 |     }
192 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, snapshotTaken uid: UInt, filePath: String, width: Int, height: Int, errCode: Int) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:snapshotTaken:filePath:width:height:errCode:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:snapshotTaken:filePath:width:height:errCode:)' to make this instance method not isolated to the actor
193 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, snapshotTaken: uid, filePath: filePath, width: width, height: height, errCode: errCode)
194 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:85:19: note: 'rtcEngine(_:snapshotTaken:filePath:width:height:errCode:)' declared here
 83 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, videoSizeChangedOfSourceType sourceType: AgoraVideoSourceType, uid: UInt, size: CGSize, rotation: Int)
 84 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, contentInspectResult result: AgoraContentInspectResult)
 85 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, snapshotTaken uid: UInt, filePath: String, width: Int, height: Int, errCode: Int)
    |                   `- note: 'rtcEngine(_:snapshotTaken:filePath:width:height:errCode:)' declared here
 86 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, localVideoStateChangedOf state: AgoraVideoLocalState, error: AgoraLocalVideoStreamError, sourceType: AgoraVideoSourceType)
 87 |     @available(swift, obsoleted: 3, renamed: "rtcEngine(_:localVideoStateChangedOf:error:sourceType:)")
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+AgoraRtcEngineDelegate.swift:205:17: warning: main actor-isolated instance method 'rtcEngine(_:localVideoStateChangedOf:error:sourceType:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
203 |         - sourceType: Source type of the orignated video source
204 |      */
205 |     public func rtcEngine(
    |                 |- warning: main actor-isolated instance method 'rtcEngine(_:localVideoStateChangedOf:error:sourceType:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |                 `- note: add 'nonisolated' to 'rtcEngine(_:localVideoStateChangedOf:error:sourceType:)' to make this instance method not isolated to the actor
206 |         _ engine: AgoraRtcEngineKit, localVideoStateChangedOf state: AgoraVideoLocalState,
207 |         error: AgoraLocalVideoStreamError, sourceType: AgoraVideoSourceType
AgoraRtcKit.AgoraRtcEngineDelegate:86:19: note: 'rtcEngine(_:localVideoStateChangedOf:error:sourceType:)' declared here
 84 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, contentInspectResult result: AgoraContentInspectResult)
 85 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, snapshotTaken uid: UInt, filePath: String, width: Int, height: Int, errCode: Int)
 86 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, localVideoStateChangedOf state: AgoraVideoLocalState, error: AgoraLocalVideoStreamError, sourceType: AgoraVideoSourceType)
    |                   `- note: 'rtcEngine(_:localVideoStateChangedOf:error:sourceType:)' declared here
 87 |     @available(swift, obsoleted: 3, renamed: "rtcEngine(_:localVideoStateChangedOf:error:sourceType:)")
 88 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, localVideoStateChangedOfState state: AgoraVideoLocalState, error: AgoraLocalVideoStreamError, sourceType: AgoraVideoSourceType)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+AgoraRtcEngineDelegate.swift:152:15: warning: main actor-isolated instance method 'rtcEngine(_:remoteVideoStateChangedOfUid:state:reason:elapsed:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
150 |          - elapsed: The time elapsed (ms) from the local user calling the joinChannel.
151 |      */
152 |     open func rtcEngine(
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:remoteVideoStateChangedOfUid:state:reason:elapsed:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:remoteVideoStateChangedOfUid:state:reason:elapsed:)' to make this instance method not isolated to the actor
153 |         _ engine: AgoraRtcEngineKit, remoteVideoStateChangedOfUid uid: UInt,
154 |         state: AgoraVideoRemoteState, reason: AgoraVideoRemoteReason, elapsed: Int
AgoraRtcKit.AgoraRtcEngineDelegate:89:19: note: 'rtcEngine(_:remoteVideoStateChangedOfUid:state:reason:elapsed:)' declared here
 87 |     @available(swift, obsoleted: 3, renamed: "rtcEngine(_:localVideoStateChangedOf:error:sourceType:)")
 88 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, localVideoStateChangedOfState state: AgoraVideoLocalState, error: AgoraLocalVideoStreamError, sourceType: AgoraVideoSourceType)
 89 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, remoteVideoStateChangedOfUid uid: UInt, state: AgoraVideoRemoteState, reason: AgoraVideoRemoteReason, elapsed: Int)
    |                   `- note: 'rtcEngine(_:remoteVideoStateChangedOfUid:state:reason:elapsed:)' declared here
 90 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, remoteAudioStateChangedOfUid uid: UInt, state: AgoraAudioRemoteState, reason: AgoraAudioRemoteReason, elapsed: Int)
 91 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, channelMediaRelayStateDidChange state: AgoraChannelMediaRelayState, error: AgoraChannelMediaRelayError)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+AgoraRtcEngineDelegate.swift:67:15: warning: main actor-isolated instance method 'rtcEngine(_:remoteAudioStateChangedOfUid:state:reason:elapsed:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 65 |     ///
 66 |     /// This callback does not work properly when the number of users (in the communication profile) or broadcasters (in the live interactive streaming profile) in the channel exceeds 17.
 67 |     open func rtcEngine(
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:remoteAudioStateChangedOfUid:state:reason:elapsed:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:remoteAudioStateChangedOfUid:state:reason:elapsed:)' to make this instance method not isolated to the actor
 68 |         _ engine: AgoraRtcEngineKit, remoteAudioStateChangedOfUid uid: UInt,
 69 |         state: AgoraAudioRemoteState, reason: AgoraAudioRemoteReason, elapsed: Int
AgoraRtcKit.AgoraRtcEngineDelegate:90:19: note: 'rtcEngine(_:remoteAudioStateChangedOfUid:state:reason:elapsed:)' declared here
 88 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, localVideoStateChangedOfState state: AgoraVideoLocalState, error: AgoraLocalVideoStreamError, sourceType: AgoraVideoSourceType)
 89 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, remoteVideoStateChangedOfUid uid: UInt, state: AgoraVideoRemoteState, reason: AgoraVideoRemoteReason, elapsed: Int)
 90 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, remoteAudioStateChangedOfUid uid: UInt, state: AgoraAudioRemoteState, reason: AgoraAudioRemoteReason, elapsed: Int)
    |                   `- note: 'rtcEngine(_:remoteAudioStateChangedOfUid:state:reason:elapsed:)' declared here
 91 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, channelMediaRelayStateDidChange state: AgoraChannelMediaRelayState, error: AgoraChannelMediaRelayError)
 92 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didReceive event: AgoraChannelMediaRelayEvent)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:126:15: warning: main actor-isolated instance method 'rtcEngine(_:channelMediaRelayStateDidChange:error:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
124 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, audioMixingStateChanged: state, reasonCode: reasonCode)
125 |     }
126 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, channelMediaRelayStateDidChange state: AgoraChannelMediaRelayState, error: AgoraChannelMediaRelayError) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:channelMediaRelayStateDidChange:error:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:channelMediaRelayStateDidChange:error:)' to make this instance method not isolated to the actor
127 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, channelMediaRelayStateDidChange: state, error: error)
128 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:91:19: note: 'rtcEngine(_:channelMediaRelayStateDidChange:error:)' declared here
 89 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, remoteVideoStateChangedOfUid uid: UInt, state: AgoraVideoRemoteState, reason: AgoraVideoRemoteReason, elapsed: Int)
 90 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, remoteAudioStateChangedOfUid uid: UInt, state: AgoraAudioRemoteState, reason: AgoraAudioRemoteReason, elapsed: Int)
 91 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, channelMediaRelayStateDidChange state: AgoraChannelMediaRelayState, error: AgoraChannelMediaRelayError)
    |                   `- note: 'rtcEngine(_:channelMediaRelayStateDidChange:error:)' declared here
 92 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didReceive event: AgoraChannelMediaRelayEvent)
 93 |     @available(swift, obsoleted: 3, renamed: "rtcEngine(_:didReceive:)")
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:99:15: warning: main actor-isolated instance method 'rtcEngine(_:didReceive:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 97 |         self.agoraSettings.rtcDelegate?.rtcEngineDidAudioEffectFinish?(engine, soundId: soundId)
 98 |     }
 99 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, didReceive event: AgoraChannelMediaRelayEvent) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didReceive:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didReceive:)' to make this instance method not isolated to the actor
100 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didReceive: event)
101 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:92:19: note: 'rtcEngine(_:didReceive:)' declared here
 90 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, remoteAudioStateChangedOfUid uid: UInt, state: AgoraAudioRemoteState, reason: AgoraAudioRemoteReason, elapsed: Int)
 91 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, channelMediaRelayStateDidChange state: AgoraChannelMediaRelayState, error: AgoraChannelMediaRelayError)
 92 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didReceive event: AgoraChannelMediaRelayEvent)
    |                   `- note: 'rtcEngine(_:didReceive:)' declared here
 93 |     @available(swift, obsoleted: 3, renamed: "rtcEngine(_:didReceive:)")
 94 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didReceiveChannelMediaRelayEvent event: AgoraChannelMediaRelayEvent)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:195:15: warning: main actor-isolated instance method 'rtcEngine(_:didProxyConnected:withUid:proxyType:localProxyIp:elapsed:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
193 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, snapshotTaken: uid, filePath: filePath, width: width, height: height, errCode: errCode)
194 |     }
195 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, didProxyConnected channel: String, withUid uid: UInt, proxyType: AgoraProxyType, localProxyIp: String, elapsed: Int) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didProxyConnected:withUid:proxyType:localProxyIp:elapsed:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didProxyConnected:withUid:proxyType:localProxyIp:elapsed:)' to make this instance method not isolated to the actor
196 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didProxyConnected: channel, withUid: uid, proxyType: proxyType, localProxyIp: localProxyIp, elapsed: elapsed)
197 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:101:19: note: 'rtcEngine(_:didProxyConnected:withUid:proxyType:localProxyIp:elapsed:)' declared here
 99 |     @available(*, deprecated, message: "use rtcEngine:remoteVideoStateChangedOfUid:state:reason: instead.")
100 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didLocalVideoEnabled enabled: Bool, byUid uid: UInt)
101 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didProxyConnected channel: String, withUid uid: UInt, proxyType: AgoraProxyType, localProxyIp: String, elapsed: Int)
    |                   `- note: 'rtcEngine(_:didProxyConnected:withUid:proxyType:localProxyIp:elapsed:)' declared here
102 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, remoteUserStateChangedOfUid uid: UInt, state: UInt)
103 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, remoteVideoStats stats: AgoraRtcRemoteVideoStats)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:171:15: warning: main actor-isolated instance method 'rtcEngine(_:remoteUserStateChangedOfUid:state:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
169 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, contentInspectResult: result)
170 |     }
171 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, remoteUserStateChangedOfUid uid: UInt, state: UInt) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:remoteUserStateChangedOfUid:state:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:remoteUserStateChangedOfUid:state:)' to make this instance method not isolated to the actor
172 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, remoteUserStateChangedOfUid: uid, state: state)
173 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:102:19: note: 'rtcEngine(_:remoteUserStateChangedOfUid:state:)' declared here
100 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didLocalVideoEnabled enabled: Bool, byUid uid: UInt)
101 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didProxyConnected channel: String, withUid uid: UInt, proxyType: AgoraProxyType, localProxyIp: String, elapsed: Int)
102 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, remoteUserStateChangedOfUid uid: UInt, state: UInt)
    |                   `- note: 'rtcEngine(_:remoteUserStateChangedOfUid:state:)' declared here
103 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, remoteVideoStats stats: AgoraRtcRemoteVideoStats)
104 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didRemoteSubscribeFallbackToAudioOnly isFallbackOrRecover: Bool, byUid uid: UInt)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:90:15: warning: main actor-isolated instance method 'rtcEngine(_:remoteVideoStats:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 88 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, localAudioStats: stats)
 89 |     }
 90 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, remoteVideoStats stats: AgoraRtcRemoteVideoStats) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:remoteVideoStats:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:remoteVideoStats:)' to make this instance method not isolated to the actor
 91 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, remoteVideoStats: stats)
 92 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:103:19: note: 'rtcEngine(_:remoteVideoStats:)' declared here
101 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didProxyConnected channel: String, withUid uid: UInt, proxyType: AgoraProxyType, localProxyIp: String, elapsed: Int)
102 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, remoteUserStateChangedOfUid uid: UInt, state: UInt)
103 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, remoteVideoStats stats: AgoraRtcRemoteVideoStats)
    |                   `- note: 'rtcEngine(_:remoteVideoStats:)' declared here
104 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didRemoteSubscribeFallbackToAudioOnly isFallbackOrRecover: Bool, byUid uid: UInt)
105 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, videoTransportStatsOfUid uid: UInt, delay: UInt, lost: UInt, rxKBitRate: UInt)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:120:15: warning: main actor-isolated instance method 'rtcEngine(_:didRemoteSubscribeFallbackToAudioOnly:byUid:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
118 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, firstLocalVideoFrameWith: size, elapsed: elapsed, sourceType: sourceType)
119 |     }
120 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, didRemoteSubscribeFallbackToAudioOnly isFallbackOrRecover: Bool, byUid uid: UInt) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didRemoteSubscribeFallbackToAudioOnly:byUid:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didRemoteSubscribeFallbackToAudioOnly:byUid:)' to make this instance method not isolated to the actor
121 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didRemoteSubscribeFallbackToAudioOnly: isFallbackOrRecover, byUid: uid)
122 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:104:19: note: 'rtcEngine(_:didRemoteSubscribeFallbackToAudioOnly:byUid:)' declared here
102 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, remoteUserStateChangedOfUid uid: UInt, state: UInt)
103 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, remoteVideoStats stats: AgoraRtcRemoteVideoStats)
104 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didRemoteSubscribeFallbackToAudioOnly isFallbackOrRecover: Bool, byUid uid: UInt)
    |                   `- note: 'rtcEngine(_:didRemoteSubscribeFallbackToAudioOnly:byUid:)' declared here
105 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, videoTransportStatsOfUid uid: UInt, delay: UInt, lost: UInt, rxKBitRate: UInt)
106 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didVideoSubscribeStateChange channelId: String, uid: UInt32, oldState: AgoraStreamSubscribeState, newState: AgoraStreamSubscribeState, elapseSinceLastState: Int32)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:201:15: warning: main actor-isolated instance method 'rtcEngine(_:videoTransportStatsOfUid:delay:lost:rxKBitRate:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
199 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, audioTransportStatsOfUid: uid, delay: delay, lost: lost, rxKBitRate: rxKBitRate)
200 |     }
201 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, videoTransportStatsOfUid uid: UInt, delay: UInt, lost: UInt, rxKBitRate: UInt) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:videoTransportStatsOfUid:delay:lost:rxKBitRate:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:videoTransportStatsOfUid:delay:lost:rxKBitRate:)' to make this instance method not isolated to the actor
202 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, videoTransportStatsOfUid: uid, delay: delay, lost: lost, rxKBitRate: rxKBitRate)
203 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:105:19: note: 'rtcEngine(_:videoTransportStatsOfUid:delay:lost:rxKBitRate:)' declared here
103 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, remoteVideoStats stats: AgoraRtcRemoteVideoStats)
104 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didRemoteSubscribeFallbackToAudioOnly isFallbackOrRecover: Bool, byUid uid: UInt)
105 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, videoTransportStatsOfUid uid: UInt, delay: UInt, lost: UInt, rxKBitRate: UInt)
    |                   `- note: 'rtcEngine(_:videoTransportStatsOfUid:delay:lost:rxKBitRate:)' declared here
106 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didVideoSubscribeStateChange channelId: String, uid: UInt32, oldState: AgoraStreamSubscribeState, newState: AgoraStreamSubscribeState, elapseSinceLastState: Int32)
107 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didVideoPublishStateChange channelId: String, sourceType: AgoraVideoSourceType, oldState: AgoraStreamPublishState, newState: AgoraStreamPublishState, elapseSinceLastState: Int32)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:231:15: warning: main actor-isolated instance method 'rtcEngine(_:didVideoSubscribeStateChange:uid:oldState:newState:elapseSinceLastState:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
229 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didAudioSubscribeStateChange: channelId, uid: uid, oldState: oldState, newState: newState, elapseSinceLastState: elapseSinceLastState)
230 |     }
231 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, didVideoSubscribeStateChange channelId: String, uid: UInt32, oldState: AgoraStreamSubscribeState, newState: AgoraStreamSubscribeState, elapseSinceLastState: Int32) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didVideoSubscribeStateChange:uid:oldState:newState:elapseSinceLastState:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didVideoSubscribeStateChange:uid:oldState:newState:elapseSinceLastState:)' to make this instance method not isolated to the actor
232 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didVideoSubscribeStateChange: channelId, uid: uid, oldState: oldState, newState: newState, elapseSinceLastState: elapseSinceLastState)
233 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:106:19: note: 'rtcEngine(_:didVideoSubscribeStateChange:uid:oldState:newState:elapseSinceLastState:)' declared here
104 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didRemoteSubscribeFallbackToAudioOnly isFallbackOrRecover: Bool, byUid uid: UInt)
105 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, videoTransportStatsOfUid uid: UInt, delay: UInt, lost: UInt, rxKBitRate: UInt)
106 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didVideoSubscribeStateChange channelId: String, uid: UInt32, oldState: AgoraStreamSubscribeState, newState: AgoraStreamSubscribeState, elapseSinceLastState: Int32)
    |                   `- note: 'rtcEngine(_:didVideoSubscribeStateChange:uid:oldState:newState:elapseSinceLastState:)' declared here
107 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didVideoPublishStateChange channelId: String, sourceType: AgoraVideoSourceType, oldState: AgoraStreamPublishState, newState: AgoraStreamPublishState, elapseSinceLastState: Int32)
108 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, rtmpStreamingChangedToState url: String, state: AgoraRtmpStreamingState, errCode: AgoraRtmpStreamingErrorCode)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:225:15: warning: main actor-isolated instance method 'rtcEngine(_:didVideoPublishStateChange:sourceType:oldState:newState:elapseSinceLastState:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
223 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didAudioPublishStateChange: channelId, oldState: oldState, newState: newState, elapseSinceLastState: elapseSinceLastState)
224 |     }
225 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, didVideoPublishStateChange channelId: String, sourceType: AgoraVideoSourceType, oldState: AgoraStreamPublishState, newState: AgoraStreamPublishState, elapseSinceLastState: Int32) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:didVideoPublishStateChange:sourceType:oldState:newState:elapseSinceLastState:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:didVideoPublishStateChange:sourceType:oldState:newState:elapseSinceLastState:)' to make this instance method not isolated to the actor
226 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didVideoPublishStateChange: channelId, sourceType: sourceType, oldState: oldState, newState: newState, elapseSinceLastState: elapseSinceLastState)
227 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:107:19: note: 'rtcEngine(_:didVideoPublishStateChange:sourceType:oldState:newState:elapseSinceLastState:)' declared here
105 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, videoTransportStatsOfUid uid: UInt, delay: UInt, lost: UInt, rxKBitRate: UInt)
106 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didVideoSubscribeStateChange channelId: String, uid: UInt32, oldState: AgoraStreamSubscribeState, newState: AgoraStreamSubscribeState, elapseSinceLastState: Int32)
107 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didVideoPublishStateChange channelId: String, sourceType: AgoraVideoSourceType, oldState: AgoraStreamPublishState, newState: AgoraStreamPublishState, elapseSinceLastState: Int32)
    |                   `- note: 'rtcEngine(_:didVideoPublishStateChange:sourceType:oldState:newState:elapseSinceLastState:)' declared here
108 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, rtmpStreamingChangedToState url: String, state: AgoraRtmpStreamingState, errCode: AgoraRtmpStreamingErrorCode)
109 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, rtmpStreamingEventWithUrl url: String, eventCode: AgoraRtmpStreamingEvent)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:138:15: warning: main actor-isolated instance method 'rtcEngine(_:rtmpStreamingChangedToState:state:errCode:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
136 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, streamPublishedWithUrl: url, errorCode: errorCode)
137 |     }
138 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, rtmpStreamingChangedToState url: String, state: AgoraRtmpStreamingState, errCode: AgoraRtmpStreamingErrorCode) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:rtmpStreamingChangedToState:state:errCode:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:rtmpStreamingChangedToState:state:errCode:)' to make this instance method not isolated to the actor
139 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, rtmpStreamingChangedToState: url, state: state, errCode: errCode)
140 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:108:19: note: 'rtcEngine(_:rtmpStreamingChangedToState:state:errCode:)' declared here
106 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didVideoSubscribeStateChange channelId: String, uid: UInt32, oldState: AgoraStreamSubscribeState, newState: AgoraStreamSubscribeState, elapseSinceLastState: Int32)
107 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didVideoPublishStateChange channelId: String, sourceType: AgoraVideoSourceType, oldState: AgoraStreamPublishState, newState: AgoraStreamPublishState, elapseSinceLastState: Int32)
108 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, rtmpStreamingChangedToState url: String, state: AgoraRtmpStreamingState, errCode: AgoraRtmpStreamingErrorCode)
    |                   `- note: 'rtcEngine(_:rtmpStreamingChangedToState:state:errCode:)' declared here
109 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, rtmpStreamingEventWithUrl url: String, eventCode: AgoraRtmpStreamingEvent)
110 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, streamPublishedWithUrl url: String, errorCode: AgoraErrorCode)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:180:15: warning: main actor-isolated instance method 'rtcEngine(_:rtmpStreamingEventWithUrl:eventCode:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
178 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, wlAccMessage: reason, action: action, wlAccMsg: wlAccMsg)
179 |     }
180 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, rtmpStreamingEventWithUrl url: String, eventCode: AgoraRtmpStreamingEvent) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:rtmpStreamingEventWithUrl:eventCode:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:rtmpStreamingEventWithUrl:eventCode:)' to make this instance method not isolated to the actor
181 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, rtmpStreamingEventWithUrl: url, eventCode: eventCode)
182 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:109:19: note: 'rtcEngine(_:rtmpStreamingEventWithUrl:eventCode:)' declared here
107 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, didVideoPublishStateChange channelId: String, sourceType: AgoraVideoSourceType, oldState: AgoraStreamPublishState, newState: AgoraStreamPublishState, elapseSinceLastState: Int32)
108 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, rtmpStreamingChangedToState url: String, state: AgoraRtmpStreamingState, errCode: AgoraRtmpStreamingErrorCode)
109 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, rtmpStreamingEventWithUrl url: String, eventCode: AgoraRtmpStreamingEvent)
    |                   `- note: 'rtcEngine(_:rtmpStreamingEventWithUrl:eventCode:)' declared here
110 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, streamPublishedWithUrl url: String, errorCode: AgoraErrorCode)
111 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, streamUnpublishedWithUrl url: String)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:135:15: warning: main actor-isolated instance method 'rtcEngine(_:streamPublishedWithUrl:errorCode:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
133 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didAudioMuted: muted, byUid: uid)
134 |     }
135 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, streamPublishedWithUrl url: String, errorCode: AgoraErrorCode) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:streamPublishedWithUrl:errorCode:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:streamPublishedWithUrl:errorCode:)' to make this instance method not isolated to the actor
136 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, streamPublishedWithUrl: url, errorCode: errorCode)
137 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:110:19: note: 'rtcEngine(_:streamPublishedWithUrl:errorCode:)' declared here
108 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, rtmpStreamingChangedToState url: String, state: AgoraRtmpStreamingState, errCode: AgoraRtmpStreamingErrorCode)
109 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, rtmpStreamingEventWithUrl url: String, eventCode: AgoraRtmpStreamingEvent)
110 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, streamPublishedWithUrl url: String, errorCode: AgoraErrorCode)
    |                   `- note: 'rtcEngine(_:streamPublishedWithUrl:errorCode:)' declared here
111 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, streamUnpublishedWithUrl url: String)
112 |     optional func rtcEngineTranscodingUpdated(_ engine: AgoraRtcEngineKit)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:102:15: warning: main actor-isolated instance method 'rtcEngine(_:streamUnpublishedWithUrl:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
100 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didReceive: event)
101 |     }
102 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, streamUnpublishedWithUrl url: String) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:streamUnpublishedWithUrl:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:streamUnpublishedWithUrl:)' to make this instance method not isolated to the actor
103 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, streamUnpublishedWithUrl: url)
104 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:111:19: note: 'rtcEngine(_:streamUnpublishedWithUrl:)' declared here
109 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, rtmpStreamingEventWithUrl url: String, eventCode: AgoraRtmpStreamingEvent)
110 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, streamPublishedWithUrl url: String, errorCode: AgoraErrorCode)
111 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, streamUnpublishedWithUrl url: String)
    |                   `- note: 'rtcEngine(_:streamUnpublishedWithUrl:)' declared here
112 |     optional func rtcEngineTranscodingUpdated(_ engine: AgoraRtcEngineKit)
113 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, streamInjectedStatusOfUrl url: String, uid: UInt, status: AgoraInjectStreamStatus)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:27:15: warning: main actor-isolated instance method 'rtcEngineTranscodingUpdated' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 25 |         self.agoraSettings.rtcDelegate?.rtcEngineCameraDidReady?(engine)
 26 |     }
 27 |     open func rtcEngineTranscodingUpdated(_ engine: AgoraRtcEngineKit) {
    |               |- warning: main actor-isolated instance method 'rtcEngineTranscodingUpdated' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngineTranscodingUpdated' to make this instance method not isolated to the actor
 28 |         self.agoraSettings.rtcDelegate?.rtcEngineTranscodingUpdated?(engine)
 29 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:112:19: note: 'rtcEngineTranscodingUpdated' declared here
110 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, streamPublishedWithUrl url: String, errorCode: AgoraErrorCode)
111 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, streamUnpublishedWithUrl url: String)
112 |     optional func rtcEngineTranscodingUpdated(_ engine: AgoraRtcEngineKit)
    |                   `- note: 'rtcEngineTranscodingUpdated' declared here
113 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, streamInjectedStatusOfUrl url: String, uid: UInt, status: AgoraInjectStreamStatus)
114 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, audioMixingStateChanged state: AgoraAudioMixingStateType, reasonCode: AgoraAudioMixingReasonCode)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:159:15: warning: main actor-isolated instance method 'rtcEngine(_:streamInjectedStatusOfUrl:uid:status:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
157 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, networkQuality: uid, txQuality: txQuality, rxQuality: rxQuality)
158 |     }
159 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, streamInjectedStatusOfUrl url: String, uid: UInt, status: AgoraInjectStreamStatus) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:streamInjectedStatusOfUrl:uid:status:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:streamInjectedStatusOfUrl:uid:status:)' to make this instance method not isolated to the actor
160 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, streamInjectedStatusOfUrl: url, uid: uid, status: status)
161 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:113:19: note: 'rtcEngine(_:streamInjectedStatusOfUrl:uid:status:)' declared here
111 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, streamUnpublishedWithUrl url: String)
112 |     optional func rtcEngineTranscodingUpdated(_ engine: AgoraRtcEngineKit)
113 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, streamInjectedStatusOfUrl url: String, uid: UInt, status: AgoraInjectStreamStatus)
    |                   `- note: 'rtcEngine(_:streamInjectedStatusOfUrl:uid:status:)' declared here
114 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, audioMixingStateChanged state: AgoraAudioMixingStateType, reasonCode: AgoraAudioMixingReasonCode)
115 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, audioMixingPositionChanged position: Int)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:123:15: warning: main actor-isolated instance method 'rtcEngine(_:audioMixingStateChanged:reasonCode:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
121 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, didRemoteSubscribeFallbackToAudioOnly: isFallbackOrRecover, byUid: uid)
122 |     }
123 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, audioMixingStateChanged state: AgoraAudioMixingStateType, reasonCode: AgoraAudioMixingReasonCode) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:audioMixingStateChanged:reasonCode:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:audioMixingStateChanged:reasonCode:)' to make this instance method not isolated to the actor
124 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, audioMixingStateChanged: state, reasonCode: reasonCode)
125 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:114:19: note: 'rtcEngine(_:audioMixingStateChanged:reasonCode:)' declared here
112 |     optional func rtcEngineTranscodingUpdated(_ engine: AgoraRtcEngineKit)
113 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, streamInjectedStatusOfUrl url: String, uid: UInt, status: AgoraInjectStreamStatus)
114 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, audioMixingStateChanged state: AgoraAudioMixingStateType, reasonCode: AgoraAudioMixingReasonCode)
    |                   `- note: 'rtcEngine(_:audioMixingStateChanged:reasonCode:)' declared here
115 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, audioMixingPositionChanged position: Int)
116 |     @available(macOS, unavailable, deprecated: 10.9, message: "Use rtcEngine:localVideoStateChangedOfState:error:sourceType instead.")
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+RtcEngineDelegateOverflow.swift:147:15: warning: main actor-isolated instance method 'rtcEngine(_:audioMixingPositionChanged:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
145 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, licenseValidationFailure: error)
146 |     }
147 |     open func rtcEngine(_ engine: AgoraRtcEngineKit, audioMixingPositionChanged position: Int) {
    |               |- warning: main actor-isolated instance method 'rtcEngine(_:audioMixingPositionChanged:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rtcEngine(_:audioMixingPositionChanged:)' to make this instance method not isolated to the actor
148 |         self.agoraSettings.rtcDelegate?.rtcEngine?(engine, audioMixingPositionChanged: position)
149 |     }
AgoraRtcKit.AgoraRtcEngineDelegate:115:19: note: 'rtcEngine(_:audioMixingPositionChanged:)' declared here
113 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, streamInjectedStatusOfUrl url: String, uid: UInt, status: AgoraInjectStreamStatus)
114 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, audioMixingStateChanged state: AgoraAudioMixingStateType, reasonCode: AgoraAudioMixingReasonCode)
115 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, audioMixingPositionChanged position: Int)
    |                   `- note: 'rtcEngine(_:audioMixingPositionChanged:)' declared here
116 |     @available(macOS, unavailable, deprecated: 10.9, message: "Use rtcEngine:localVideoStateChangedOfState:error:sourceType instead.")
117 |     optional func rtcEngine(_ engine: AgoraRtcEngineKit, localVideoStateChangedOf state: AgoraVideoLocalState, error: AgoraLocalVideoStreamError)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:40:27: warning: static property 'cameraButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
 40 |         public static let cameraButton = BuiltinButtons(rawValue: 1 << 0)
    |                           |- warning: static property 'cameraButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'cameraButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 41 |         /// Option for displaying a button to toggle the microphone on or off.
 42 |         public static let micButton = BuiltinButtons(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:42:27: warning: static property 'micButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
 40 |         public static let cameraButton = BuiltinButtons(rawValue: 1 << 0)
 41 |         /// Option for displaying a button to toggle the microphone on or off.
 42 |         public static let micButton = BuiltinButtons(rawValue: 1 << 1)
    |                           |- warning: static property 'micButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'micButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |         /// Option for displaying a button to flip the camera between front and rear facing.
 44 |         public static let flipButton = BuiltinButtons(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:50:27: warning: static property 'screenShareButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
    :
 48 |         /// Option for displaying screenshare button. This button is available for macOS only.
 49 |         /// iOS screen sharing must be implemented using `RPSystemBroadcastPickerView`.
 50 |         public static let screenShareButton = BuiltinButtons(rawValue: 1 << 4)
    |                           |- warning: static property 'screenShareButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'screenShareButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |         /// Option to display all default buttons
 52 |         public static let all: BuiltinButtons = [cameraButton, micButton, flipButton, screenShareButton]
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:44:27: warning: static property 'flipButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
    :
 42 |         public static let micButton = BuiltinButtons(rawValue: 1 << 1)
 43 |         /// Option for displaying a button to flip the camera between front and rear facing.
 44 |         public static let flipButton = BuiltinButtons(rawValue: 1 << 2)
    |                           |- warning: static property 'flipButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'flipButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |         /// Option for displaying a button to toggle beautify feature on or off.
 46 |         /// This button will be hidden by default, as extra libraries are required.
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:47:27: warning: static property 'beautifyButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
    :
 45 |         /// Option for displaying a button to toggle beautify feature on or off.
 46 |         /// This button will be hidden by default, as extra libraries are required.
 47 |         public static let beautifyButton = BuiltinButtons(rawValue: 1 << 3)
    |                           |- warning: static property 'beautifyButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'beautifyButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 48 |         /// Option for displaying screenshare button. This button is available for macOS only.
 49 |         /// iOS screen sharing must be implemented using `RPSystemBroadcastPickerView`.
[35/48] Compiling AgoraUIKit AgoraSettings.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:40:27: warning: static property 'cameraButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
 40 |         public static let cameraButton = BuiltinButtons(rawValue: 1 << 0)
    |                           |- warning: static property 'cameraButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'cameraButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 41 |         /// Option for displaying a button to toggle the microphone on or off.
 42 |         public static let micButton = BuiltinButtons(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:42:27: warning: static property 'micButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
 40 |         public static let cameraButton = BuiltinButtons(rawValue: 1 << 0)
 41 |         /// Option for displaying a button to toggle the microphone on or off.
 42 |         public static let micButton = BuiltinButtons(rawValue: 1 << 1)
    |                           |- warning: static property 'micButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'micButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |         /// Option for displaying a button to flip the camera between front and rear facing.
 44 |         public static let flipButton = BuiltinButtons(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:44:27: warning: static property 'flipButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
    :
 42 |         public static let micButton = BuiltinButtons(rawValue: 1 << 1)
 43 |         /// Option for displaying a button to flip the camera between front and rear facing.
 44 |         public static let flipButton = BuiltinButtons(rawValue: 1 << 2)
    |                           |- warning: static property 'flipButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'flipButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |         /// Option for displaying a button to toggle beautify feature on or off.
 46 |         /// This button will be hidden by default, as extra libraries are required.
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:47:27: warning: static property 'beautifyButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
    :
 45 |         /// Option for displaying a button to toggle beautify feature on or off.
 46 |         /// This button will be hidden by default, as extra libraries are required.
 47 |         public static let beautifyButton = BuiltinButtons(rawValue: 1 << 3)
    |                           |- warning: static property 'beautifyButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'beautifyButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 48 |         /// Option for displaying screenshare button. This button is available for macOS only.
 49 |         /// iOS screen sharing must be implemented using `RPSystemBroadcastPickerView`.
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:50:27: warning: static property 'screenShareButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
    :
 48 |         /// Option for displaying screenshare button. This button is available for macOS only.
 49 |         /// iOS screen sharing must be implemented using `RPSystemBroadcastPickerView`.
 50 |         public static let screenShareButton = BuiltinButtons(rawValue: 1 << 4)
    |                           |- warning: static property 'screenShareButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'screenShareButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |         /// Option to display all default buttons
 52 |         public static let all: BuiltinButtons = [cameraButton, micButton, flipButton, screenShareButton]
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:52:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
    :
 50 |         public static let screenShareButton = BuiltinButtons(rawValue: 1 << 4)
 51 |         /// Option to display all default buttons
 52 |         public static let all: BuiltinButtons = [cameraButton, micButton, flipButton, screenShareButton]
    |                           |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 53 |         /// Initialiser for creating an option set
 54 |         /// - Parameter rawValue: Raw value to be applied, used for choosing the button options
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:85:27: warning: static property 'allTrue' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.ExternalVideoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
 81 |
 82 |     /// Settings for applying external videos
 83 |     public struct ExternalVideoSettings {
    |                   `- note: consider making struct 'ExternalVideoSettings' conform to the 'Sendable' protocol
 84 |         /// Create instance with all properties set to `true`
 85 |         public static let allTrue: ExternalVideoSettings = {
    |                           |- warning: static property 'allTrue' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.ExternalVideoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'allTrue' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 86 |             ExternalVideoSettings(enabled: true, texture: true, encoded: true)
 87 |         }()
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:89:27: warning: static property 'allFalse' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.ExternalVideoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
 81 |
 82 |     /// Settings for applying external videos
 83 |     public struct ExternalVideoSettings {
    |                   `- note: consider making struct 'ExternalVideoSettings' conform to the 'Sendable' protocol
 84 |         /// Create instance with all properties set to `true`
 85 |         public static let allTrue: ExternalVideoSettings = {
    :
 87 |         }()
 88 |         /// Create instance with all properties set to `false`
 89 |         public static let allFalse: ExternalVideoSettings = {
    |                           |- warning: static property 'allFalse' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.ExternalVideoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'allFalse' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 90 |             ExternalVideoSettings(enabled: false, texture: false, encoded: false)
 91 |         }()
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:213:16: warning: static property 'buttonIconSize' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
211 |     #elseif os(macOS)
212 |     /// Font size of the builtin buttons SF Symbol text
213 |     static var buttonIconSize: CGFloat = 20
    |                |- warning: static property 'buttonIconSize' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'buttonIconSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'buttonIconSize' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 |     #endif
215 |
[36/48] Compiling AgoraUIKit AgoraSingleVideoView+RtmDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:40:27: warning: static property 'cameraButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
 40 |         public static let cameraButton = BuiltinButtons(rawValue: 1 << 0)
    |                           |- warning: static property 'cameraButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'cameraButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 41 |         /// Option for displaying a button to toggle the microphone on or off.
 42 |         public static let micButton = BuiltinButtons(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:42:27: warning: static property 'micButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
 40 |         public static let cameraButton = BuiltinButtons(rawValue: 1 << 0)
 41 |         /// Option for displaying a button to toggle the microphone on or off.
 42 |         public static let micButton = BuiltinButtons(rawValue: 1 << 1)
    |                           |- warning: static property 'micButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'micButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |         /// Option for displaying a button to flip the camera between front and rear facing.
 44 |         public static let flipButton = BuiltinButtons(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:44:27: warning: static property 'flipButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
    :
 42 |         public static let micButton = BuiltinButtons(rawValue: 1 << 1)
 43 |         /// Option for displaying a button to flip the camera between front and rear facing.
 44 |         public static let flipButton = BuiltinButtons(rawValue: 1 << 2)
    |                           |- warning: static property 'flipButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'flipButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |         /// Option for displaying a button to toggle beautify feature on or off.
 46 |         /// This button will be hidden by default, as extra libraries are required.
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:47:27: warning: static property 'beautifyButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
    :
 45 |         /// Option for displaying a button to toggle beautify feature on or off.
 46 |         /// This button will be hidden by default, as extra libraries are required.
 47 |         public static let beautifyButton = BuiltinButtons(rawValue: 1 << 3)
    |                           |- warning: static property 'beautifyButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'beautifyButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 48 |         /// Option for displaying screenshare button. This button is available for macOS only.
 49 |         /// iOS screen sharing must be implemented using `RPSystemBroadcastPickerView`.
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:50:27: warning: static property 'screenShareButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
    :
 48 |         /// Option for displaying screenshare button. This button is available for macOS only.
 49 |         /// iOS screen sharing must be implemented using `RPSystemBroadcastPickerView`.
 50 |         public static let screenShareButton = BuiltinButtons(rawValue: 1 << 4)
    |                           |- warning: static property 'screenShareButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'screenShareButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |         /// Option to display all default buttons
 52 |         public static let all: BuiltinButtons = [cameraButton, micButton, flipButton, screenShareButton]
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:52:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
    :
 50 |         public static let screenShareButton = BuiltinButtons(rawValue: 1 << 4)
 51 |         /// Option to display all default buttons
 52 |         public static let all: BuiltinButtons = [cameraButton, micButton, flipButton, screenShareButton]
    |                           |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 53 |         /// Initialiser for creating an option set
 54 |         /// - Parameter rawValue: Raw value to be applied, used for choosing the button options
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:85:27: warning: static property 'allTrue' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.ExternalVideoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
 81 |
 82 |     /// Settings for applying external videos
 83 |     public struct ExternalVideoSettings {
    |                   `- note: consider making struct 'ExternalVideoSettings' conform to the 'Sendable' protocol
 84 |         /// Create instance with all properties set to `true`
 85 |         public static let allTrue: ExternalVideoSettings = {
    |                           |- warning: static property 'allTrue' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.ExternalVideoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'allTrue' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 86 |             ExternalVideoSettings(enabled: true, texture: true, encoded: true)
 87 |         }()
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:89:27: warning: static property 'allFalse' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.ExternalVideoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
 81 |
 82 |     /// Settings for applying external videos
 83 |     public struct ExternalVideoSettings {
    |                   `- note: consider making struct 'ExternalVideoSettings' conform to the 'Sendable' protocol
 84 |         /// Create instance with all properties set to `true`
 85 |         public static let allTrue: ExternalVideoSettings = {
    :
 87 |         }()
 88 |         /// Create instance with all properties set to `false`
 89 |         public static let allFalse: ExternalVideoSettings = {
    |                           |- warning: static property 'allFalse' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.ExternalVideoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'allFalse' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 90 |             ExternalVideoSettings(enabled: false, texture: false, encoded: false)
 91 |         }()
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:213:16: warning: static property 'buttonIconSize' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
211 |     #elseif os(macOS)
212 |     /// Font size of the builtin buttons SF Symbol text
213 |     static var buttonIconSize: CGFloat = 20
    |                |- warning: static property 'buttonIconSize' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'buttonIconSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'buttonIconSize' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 |     #endif
215 |
[37/48] Compiling AgoraUIKit AgoraSingleVideoView+RtmOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:40:27: warning: static property 'cameraButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
 40 |         public static let cameraButton = BuiltinButtons(rawValue: 1 << 0)
    |                           |- warning: static property 'cameraButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'cameraButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 41 |         /// Option for displaying a button to toggle the microphone on or off.
 42 |         public static let micButton = BuiltinButtons(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:42:27: warning: static property 'micButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
 40 |         public static let cameraButton = BuiltinButtons(rawValue: 1 << 0)
 41 |         /// Option for displaying a button to toggle the microphone on or off.
 42 |         public static let micButton = BuiltinButtons(rawValue: 1 << 1)
    |                           |- warning: static property 'micButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'micButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |         /// Option for displaying a button to flip the camera between front and rear facing.
 44 |         public static let flipButton = BuiltinButtons(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:44:27: warning: static property 'flipButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
    :
 42 |         public static let micButton = BuiltinButtons(rawValue: 1 << 1)
 43 |         /// Option for displaying a button to flip the camera between front and rear facing.
 44 |         public static let flipButton = BuiltinButtons(rawValue: 1 << 2)
    |                           |- warning: static property 'flipButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'flipButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |         /// Option for displaying a button to toggle beautify feature on or off.
 46 |         /// This button will be hidden by default, as extra libraries are required.
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:47:27: warning: static property 'beautifyButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
    :
 45 |         /// Option for displaying a button to toggle beautify feature on or off.
 46 |         /// This button will be hidden by default, as extra libraries are required.
 47 |         public static let beautifyButton = BuiltinButtons(rawValue: 1 << 3)
    |                           |- warning: static property 'beautifyButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'beautifyButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 48 |         /// Option for displaying screenshare button. This button is available for macOS only.
 49 |         /// iOS screen sharing must be implemented using `RPSystemBroadcastPickerView`.
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:50:27: warning: static property 'screenShareButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
    :
 48 |         /// Option for displaying screenshare button. This button is available for macOS only.
 49 |         /// iOS screen sharing must be implemented using `RPSystemBroadcastPickerView`.
 50 |         public static let screenShareButton = BuiltinButtons(rawValue: 1 << 4)
    |                           |- warning: static property 'screenShareButton' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'screenShareButton' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |         /// Option to display all default buttons
 52 |         public static let all: BuiltinButtons = [cameraButton, micButton, flipButton, screenShareButton]
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:52:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
 35 |     public var tokenURL: String?
 36 |     /// OptionSet for selecting which buttons are visible in the AgoraVideoViewer
 37 |     public struct BuiltinButtons: OptionSet {
    |                   `- note: consider making struct 'BuiltinButtons' conform to the 'Sendable' protocol
 38 |         public var rawValue: Int
 39 |         /// Option for displaying a button to toggle the camera on or off.
    :
 50 |         public static let screenShareButton = BuiltinButtons(rawValue: 1 << 4)
 51 |         /// Option to display all default buttons
 52 |         public static let all: BuiltinButtons = [cameraButton, micButton, flipButton, screenShareButton]
    |                           |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.BuiltinButtons' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 53 |         /// Initialiser for creating an option set
 54 |         /// - Parameter rawValue: Raw value to be applied, used for choosing the button options
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:85:27: warning: static property 'allTrue' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.ExternalVideoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
 81 |
 82 |     /// Settings for applying external videos
 83 |     public struct ExternalVideoSettings {
    |                   `- note: consider making struct 'ExternalVideoSettings' conform to the 'Sendable' protocol
 84 |         /// Create instance with all properties set to `true`
 85 |         public static let allTrue: ExternalVideoSettings = {
    |                           |- warning: static property 'allTrue' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.ExternalVideoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'allTrue' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 86 |             ExternalVideoSettings(enabled: true, texture: true, encoded: true)
 87 |         }()
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:89:27: warning: static property 'allFalse' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.ExternalVideoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
 81 |
 82 |     /// Settings for applying external videos
 83 |     public struct ExternalVideoSettings {
    |                   `- note: consider making struct 'ExternalVideoSettings' conform to the 'Sendable' protocol
 84 |         /// Create instance with all properties set to `true`
 85 |         public static let allTrue: ExternalVideoSettings = {
    :
 87 |         }()
 88 |         /// Create instance with all properties set to `false`
 89 |         public static let allFalse: ExternalVideoSettings = {
    |                           |- warning: static property 'allFalse' is not concurrency-safe because non-'Sendable' type 'AgoraSettings.ExternalVideoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'allFalse' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 90 |             ExternalVideoSettings(enabled: false, texture: false, encoded: false)
 91 |         }()
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:213:16: warning: static property 'buttonIconSize' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
211 |     #elseif os(macOS)
212 |     /// Font size of the builtin buttons SF Symbol text
213 |     static var buttonIconSize: CGFloat = 20
    |                |- warning: static property 'buttonIconSize' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'buttonIconSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'buttonIconSize' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 |     #endif
215 |
[38/48] Compiling AgoraUIKit AgoraVideoViewer+Permissions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+Token.swift:51:21: warning: capture of 'callback' with non-sendable type '(Result<String, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
49 |             guard let data = data else {
50 |                 if let err = err {
51 |                     callback(.failure(err))
   |                     |- warning: capture of 'callback' with non-sendable type '(Result<String, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 |                 } else {
53 |                     callback(.failure(TokenError.noData))
[39/48] Compiling AgoraUIKit AgoraVideoViewer+RtcEngineDelegateOverflow.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+Token.swift:51:21: warning: capture of 'callback' with non-sendable type '(Result<String, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
49 |             guard let data = data else {
50 |                 if let err = err {
51 |                     callback(.failure(err))
   |                     |- warning: capture of 'callback' with non-sendable type '(Result<String, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 |                 } else {
53 |                     callback(.failure(TokenError.noData))
[40/48] Compiling AgoraUIKit AgoraVideoViewer+Token.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+Token.swift:51:21: warning: capture of 'callback' with non-sendable type '(Result<String, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
49 |             guard let data = data else {
50 |                 if let err = err {
51 |                     callback(.failure(err))
   |                     |- warning: capture of 'callback' with non-sendable type '(Result<String, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 |                 } else {
53 |                     callback(.failure(TokenError.noData))
[41/48] Compiling AgoraUIKit AgoraVideoViewer+JoinChannel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:140:17: warning: capture of 'callback' with non-sendable type '((AgoraRtmController?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
138 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
139 |                 }
140 |                 callback?(self.rtmController)
    |                 |- warning: capture of 'callback' with non-sendable type '((AgoraRtmController?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
141 |             }
142 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:136:22: warning: main actor-isolated property 'rtmController' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
134 |         if self.rtmController == nil {
135 |             DispatchQueue.global(qos: .utility).async {
136 |                 self.rtmController = AgoraRtmController(delegate: self)
    |                      `- warning: main actor-isolated property 'rtmController' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
137 |                 if self.rtmController == nil {
138 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:117:16: note: mutation of this property is only permitted within the actor
115 |     #if canImport(AgoraRtmControl)
116 |     /// Controller class for managing RTM messages
117 |     public var rtmController: AgoraRtmController?
    |                `- note: mutation of this property is only permitted within the actor
118 |     #endif
119 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:137:25: warning: main actor-isolated property 'rtmController' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
135 |             DispatchQueue.global(qos: .utility).async {
136 |                 self.rtmController = AgoraRtmController(delegate: self)
137 |                 if self.rtmController == nil {
    |                         `- warning: main actor-isolated property 'rtmController' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
138 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
139 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:117:16: note: property declared here
115 |     #if canImport(AgoraRtmControl)
116 |     /// Controller class for managing RTM messages
117 |     public var rtmController: AgoraRtmController?
    |                `- note: property declared here
118 |     #endif
119 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:138:38: warning: call to main actor-isolated static method 'agoraPrint(_:message:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
136 |                 self.rtmController = AgoraRtmController(delegate: self)
137 |                 if self.rtmController == nil {
138 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
    |                                      `- warning: call to main actor-isolated static method 'agoraPrint(_:message:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
139 |                 }
140 |                 callback?(self.rtmController)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+Utilities.swift:32:26: note: calls to static method 'agoraPrint(_:message:)' from outside of its actor context are implicitly asynchronous
30 |         }
31 |     }
32 |     internal static func agoraPrint(_ tag: PrintType, message: Any) {
   |                          `- note: calls to static method 'agoraPrint(_:message:)' from outside of its actor context are implicitly asynchronous
33 |         if tag.rawValue <= AgoraVideoViewer.printLevel.rawValue {
34 |             print("[AgoraVideoViewer \(tag.printString)]: \(message)")
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:140:32: warning: main actor-isolated property 'rtmController' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
138 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
139 |                 }
140 |                 callback?(self.rtmController)
    |                                `- warning: main actor-isolated property 'rtmController' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
141 |             }
142 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:117:16: note: property declared here
115 |     #if canImport(AgoraRtmControl)
116 |     /// Controller class for managing RTM messages
117 |     public var rtmController: AgoraRtmController?
    |                `- note: property declared here
118 |     #endif
119 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+LocalVideo.swift:62:17: warning: main actor-isolated instance method 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
12 | import AVFoundation
13 |
14 | extension AgoraVideoViewer: AgoraCameraSourcePushDelegate {
   |                             `- note: add '@preconcurrency' to the 'AgoraCameraSourcePushDelegate' conformance to defer isolation checking to run time
15 |
16 |     @discardableResult
   :
60 |     ///   - rotation: Orientation of the incoming pixel buffer
61 |     ///   - timeStamp: Timestamp when the pixel buffer was captured.
62 |     public func myVideoCapture(
   |                 |- warning: main actor-isolated instance method 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' to make this instance method not isolated to the actor
63 |         _ capture: AgoraCameraSourcePush, didOutputSampleBuffer pixelBuffer: CVPixelBuffer,
64 |         rotation: Int, timeStamp: CMTime
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:101:10: note: mark the protocol requirement 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' 'async' to allow actor-isolated conformances
 99 | /// Delegate for capturing the frames from the camera source.
100 | public protocol AgoraCameraSourcePushDelegate: AnyObject {
101 |     func myVideoCapture(
    |          `- note: mark the protocol requirement 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' 'async' to allow actor-isolated conformances
102 |         _ capture: AgoraCameraSourcePush, didOutputSampleBuffer pixelBuffer: CVPixelBuffer,
103 |         rotation: Int, timeStamp: CMTime
[42/48] Compiling AgoraUIKit AgoraVideoViewer+LocalVideo.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:140:17: warning: capture of 'callback' with non-sendable type '((AgoraRtmController?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
138 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
139 |                 }
140 |                 callback?(self.rtmController)
    |                 |- warning: capture of 'callback' with non-sendable type '((AgoraRtmController?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
141 |             }
142 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:136:22: warning: main actor-isolated property 'rtmController' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
134 |         if self.rtmController == nil {
135 |             DispatchQueue.global(qos: .utility).async {
136 |                 self.rtmController = AgoraRtmController(delegate: self)
    |                      `- warning: main actor-isolated property 'rtmController' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
137 |                 if self.rtmController == nil {
138 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:117:16: note: mutation of this property is only permitted within the actor
115 |     #if canImport(AgoraRtmControl)
116 |     /// Controller class for managing RTM messages
117 |     public var rtmController: AgoraRtmController?
    |                `- note: mutation of this property is only permitted within the actor
118 |     #endif
119 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:137:25: warning: main actor-isolated property 'rtmController' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
135 |             DispatchQueue.global(qos: .utility).async {
136 |                 self.rtmController = AgoraRtmController(delegate: self)
137 |                 if self.rtmController == nil {
    |                         `- warning: main actor-isolated property 'rtmController' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
138 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
139 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:117:16: note: property declared here
115 |     #if canImport(AgoraRtmControl)
116 |     /// Controller class for managing RTM messages
117 |     public var rtmController: AgoraRtmController?
    |                `- note: property declared here
118 |     #endif
119 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:138:38: warning: call to main actor-isolated static method 'agoraPrint(_:message:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
136 |                 self.rtmController = AgoraRtmController(delegate: self)
137 |                 if self.rtmController == nil {
138 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
    |                                      `- warning: call to main actor-isolated static method 'agoraPrint(_:message:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
139 |                 }
140 |                 callback?(self.rtmController)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+Utilities.swift:32:26: note: calls to static method 'agoraPrint(_:message:)' from outside of its actor context are implicitly asynchronous
30 |         }
31 |     }
32 |     internal static func agoraPrint(_ tag: PrintType, message: Any) {
   |                          `- note: calls to static method 'agoraPrint(_:message:)' from outside of its actor context are implicitly asynchronous
33 |         if tag.rawValue <= AgoraVideoViewer.printLevel.rawValue {
34 |             print("[AgoraVideoViewer \(tag.printString)]: \(message)")
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:140:32: warning: main actor-isolated property 'rtmController' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
138 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
139 |                 }
140 |                 callback?(self.rtmController)
    |                                `- warning: main actor-isolated property 'rtmController' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
141 |             }
142 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:117:16: note: property declared here
115 |     #if canImport(AgoraRtmControl)
116 |     /// Controller class for managing RTM messages
117 |     public var rtmController: AgoraRtmController?
    |                `- note: property declared here
118 |     #endif
119 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+LocalVideo.swift:62:17: warning: main actor-isolated instance method 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
12 | import AVFoundation
13 |
14 | extension AgoraVideoViewer: AgoraCameraSourcePushDelegate {
   |                             `- note: add '@preconcurrency' to the 'AgoraCameraSourcePushDelegate' conformance to defer isolation checking to run time
15 |
16 |     @discardableResult
   :
60 |     ///   - rotation: Orientation of the incoming pixel buffer
61 |     ///   - timeStamp: Timestamp when the pixel buffer was captured.
62 |     public func myVideoCapture(
   |                 |- warning: main actor-isolated instance method 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' to make this instance method not isolated to the actor
63 |         _ capture: AgoraCameraSourcePush, didOutputSampleBuffer pixelBuffer: CVPixelBuffer,
64 |         rotation: Int, timeStamp: CMTime
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:101:10: note: mark the protocol requirement 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' 'async' to allow actor-isolated conformances
 99 | /// Delegate for capturing the frames from the camera source.
100 | public protocol AgoraCameraSourcePushDelegate: AnyObject {
101 |     func myVideoCapture(
    |          `- note: mark the protocol requirement 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' 'async' to allow actor-isolated conformances
102 |         _ capture: AgoraCameraSourcePush, didOutputSampleBuffer pixelBuffer: CVPixelBuffer,
103 |         rotation: Int, timeStamp: CMTime
[43/48] Compiling AgoraUIKit AgoraVideoViewer+Ordering.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:140:17: warning: capture of 'callback' with non-sendable type '((AgoraRtmController?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
138 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
139 |                 }
140 |                 callback?(self.rtmController)
    |                 |- warning: capture of 'callback' with non-sendable type '((AgoraRtmController?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
141 |             }
142 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:136:22: warning: main actor-isolated property 'rtmController' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
134 |         if self.rtmController == nil {
135 |             DispatchQueue.global(qos: .utility).async {
136 |                 self.rtmController = AgoraRtmController(delegate: self)
    |                      `- warning: main actor-isolated property 'rtmController' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
137 |                 if self.rtmController == nil {
138 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:117:16: note: mutation of this property is only permitted within the actor
115 |     #if canImport(AgoraRtmControl)
116 |     /// Controller class for managing RTM messages
117 |     public var rtmController: AgoraRtmController?
    |                `- note: mutation of this property is only permitted within the actor
118 |     #endif
119 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:137:25: warning: main actor-isolated property 'rtmController' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
135 |             DispatchQueue.global(qos: .utility).async {
136 |                 self.rtmController = AgoraRtmController(delegate: self)
137 |                 if self.rtmController == nil {
    |                         `- warning: main actor-isolated property 'rtmController' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
138 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
139 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:117:16: note: property declared here
115 |     #if canImport(AgoraRtmControl)
116 |     /// Controller class for managing RTM messages
117 |     public var rtmController: AgoraRtmController?
    |                `- note: property declared here
118 |     #endif
119 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:138:38: warning: call to main actor-isolated static method 'agoraPrint(_:message:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
136 |                 self.rtmController = AgoraRtmController(delegate: self)
137 |                 if self.rtmController == nil {
138 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
    |                                      `- warning: call to main actor-isolated static method 'agoraPrint(_:message:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
139 |                 }
140 |                 callback?(self.rtmController)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+Utilities.swift:32:26: note: calls to static method 'agoraPrint(_:message:)' from outside of its actor context are implicitly asynchronous
30 |         }
31 |     }
32 |     internal static func agoraPrint(_ tag: PrintType, message: Any) {
   |                          `- note: calls to static method 'agoraPrint(_:message:)' from outside of its actor context are implicitly asynchronous
33 |         if tag.rawValue <= AgoraVideoViewer.printLevel.rawValue {
34 |             print("[AgoraVideoViewer \(tag.printString)]: \(message)")
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+JoinChannel.swift:140:32: warning: main actor-isolated property 'rtmController' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
138 |                     AgoraVideoViewer.agoraPrint(.error, message: "Error initialising RTM")
139 |                 }
140 |                 callback?(self.rtmController)
    |                                `- warning: main actor-isolated property 'rtmController' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
141 |             }
142 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift:117:16: note: property declared here
115 |     #if canImport(AgoraRtmControl)
116 |     /// Controller class for managing RTM messages
117 |     public var rtmController: AgoraRtmController?
    |                `- note: property declared here
118 |     #endif
119 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraVideoViewer+LocalVideo.swift:62:17: warning: main actor-isolated instance method 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
12 | import AVFoundation
13 |
14 | extension AgoraVideoViewer: AgoraCameraSourcePushDelegate {
   |                             `- note: add '@preconcurrency' to the 'AgoraCameraSourcePushDelegate' conformance to defer isolation checking to run time
15 |
16 |     @discardableResult
   :
60 |     ///   - rotation: Orientation of the incoming pixel buffer
61 |     ///   - timeStamp: Timestamp when the pixel buffer was captured.
62 |     public func myVideoCapture(
   |                 |- warning: main actor-isolated instance method 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' to make this instance method not isolated to the actor
63 |         _ capture: AgoraCameraSourcePush, didOutputSampleBuffer pixelBuffer: CVPixelBuffer,
64 |         rotation: Int, timeStamp: CMTime
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:101:10: note: mark the protocol requirement 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' 'async' to allow actor-isolated conformances
 99 | /// Delegate for capturing the frames from the camera source.
100 | public protocol AgoraCameraSourcePushDelegate: AnyObject {
101 |     func myVideoCapture(
    |          `- note: mark the protocol requirement 'myVideoCapture(_:didOutputSampleBuffer:rotation:timeStamp:)' 'async' to allow actor-isolated conformances
102 |         _ capture: AgoraCameraSourcePush, didOutputSampleBuffer pixelBuffer: CVPixelBuffer,
103 |         rotation: Int, timeStamp: CMTime
[44/48] Compiling AgoraUIKit UIButton+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:213:16: warning: static property 'buttonIconSize' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
211 |     #elseif os(macOS)
212 |     /// Font size of the builtin buttons SF Symbol text
213 |     static var buttonIconSize: CGFloat = 20
    |                |- warning: static property 'buttonIconSize' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'buttonIconSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'buttonIconSize' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 |     #endif
215 |
[45/48] Compiling AgoraUIKit iOS+macOS+typealiases.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraSettings.swift:213:16: warning: static property 'buttonIconSize' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
211 |     #elseif os(macOS)
212 |     /// Font size of the builtin buttons SF Symbol text
213 |     static var buttonIconSize: CGFloat = 20
    |                |- warning: static property 'buttonIconSize' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'buttonIconSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'buttonIconSize' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 |     #endif
215 |
[46/48] Compiling AgoraUIKit AgoraCameraSourcePush.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:151:28: warning: call to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 44 |     /// Add new frame to the preview layer
 45 |     /// - Parameter previewLayer: New `previewLayer` to be displayed on the preview.
 46 |     open func insertCaptureVideoPreviewLayer(previewLayer: AVCaptureVideoPreviewLayer) {
    |               `- note: calls to instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' from outside of its actor context are implicitly asynchronous
 47 |         self.previewLayer?.removeFromSuperlayer()
 48 |         #if os(macOS)
    :
149 |
150 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self.captureSession)
151 |         localVideoPreview?.insertCaptureVideoPreviewLayer(previewLayer: previewLayer)
    |                            `- warning: call to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
152 |     }
153 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:157:33: warning: main actor-isolated property 'previewLayer' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 40 | open class CustomVideoSourcePreview: MPView {
 41 |     /// Layer that displays video from a camera device.
 42 |     open private(set) var previewLayer: AVCaptureVideoPreviewLayer?
    |                           `- note: property declared here
 43 |
 44 |     /// Add new frame to the preview layer
    :
154 |     /// Update the local preview layer to a new one.
155 |     /// - Parameter videoPreview: New custom preview layer.
156 |     open func updateVideoPreview(to videoPreview: CustomVideoSourcePreview) {
    |               `- note: add '@MainActor' to make instance method 'updateVideoPreview(to:)' part of global actor 'MainActor'
157 |         self.localVideoPreview?.previewLayer?.removeFromSuperlayer()
    |                                 `- warning: main actor-isolated property 'previewLayer' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
158 |
159 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self.captureSession)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:160:22: warning: call to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 44 |     /// Add new frame to the preview layer
 45 |     /// - Parameter previewLayer: New `previewLayer` to be displayed on the preview.
 46 |     open func insertCaptureVideoPreviewLayer(previewLayer: AVCaptureVideoPreviewLayer) {
    |               `- note: calls to instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' from outside of its actor context are implicitly asynchronous
 47 |         self.previewLayer?.removeFromSuperlayer()
 48 |         #if os(macOS)
    :
154 |     /// Update the local preview layer to a new one.
155 |     /// - Parameter videoPreview: New custom preview layer.
156 |     open func updateVideoPreview(to videoPreview: CustomVideoSourcePreview) {
    |               `- note: add '@MainActor' to make instance method 'updateVideoPreview(to:)' part of global actor 'MainActor'
157 |         self.localVideoPreview?.previewLayer?.removeFromSuperlayer()
158 |
159 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self.captureSession)
160 |         videoPreview.insertCaptureVideoPreviewLayer(previewLayer: previewLayer)
    |                      `- warning: call to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
161 |         self.localVideoPreview = videoPreview
162 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:182:36: warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     private var localVideoPreview: CustomVideoSourcePreview?
    :
180 |
181 |         captureQueue.async { [weak self] in
182 |             guard let strongSelf = self else {
    |                                    `- warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
183 |                 return
184 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:185:41: warning: capture of 'device' with non-sendable type 'AVCaptureDevice' in a `@Sendable` closure; this is an error in the Swift 6 language mode
183 |                 return
184 |             }
185 |             strongSelf.setCaptureDevice(device, ofSession: strongSelf.captureSession)
    |                                         `- warning: capture of 'device' with non-sendable type 'AVCaptureDevice' in a `@Sendable` closure; this is an error in the Swift 6 language mode
186 |             strongSelf.captureSession.beginConfiguration()
187 |             if strongSelf.captureSession.canSetSessionPreset(.vga640x480) {
AVFoundation.AVCaptureDevice:2:12: note: class 'AVCaptureDevice' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.7, *)
 2 | open class AVCaptureDevice : NSObject {
   |            `- note: class 'AVCaptureDevice' does not conform to the 'Sendable' protocol
 3 |     @available(*, unavailable)
 4 |     public init()
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AVFoundation'
 11 | import AppKit
 12 | #endif
 13 | import AVFoundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AVFoundation'
 14 | import AgoraRtcKit
 15 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:198:13: warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     private var localVideoPreview: CustomVideoSourcePreview?
    :
196 |         self.currentOutput?.setSampleBufferDelegate(self, queue: self.captureQueue)
197 |         self.captureQueue.async { [weak self] in
198 |             self?.captureSession.startRunning()
    |             `- warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
199 |         }
200 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:205:13: warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     private var localVideoPreview: CustomVideoSourcePreview?
    :
203 |         self.currentOutput?.setSampleBufferDelegate(nil, queue: nil)
204 |         self.captureQueue.async { [weak self] in
205 |             self?.captureSession.stopRunning()
    |             `- warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
206 |         }
207 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:244:34: warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     private var localVideoPreview: CustomVideoSourcePreview?
    :
242 |         let time = CMSampleBufferGetPresentationTimeStamp(sampleBuffer)
243 |         DispatchQueue.main.async {[weak self] in
244 |             guard let weakSelf = self else { return }
    |                                  `- warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
245 |
246 |             #if os(iOS)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:252:50: warning: capture of 'pixelBuffer' with non-sendable type 'CVImageBuffer' (aka 'CVBuffer') in a `@Sendable` closure; this is an error in the Swift 6 language mode
250 |             #endif
251 |             weakSelf.delegate?.myVideoCapture(
252 |                 weakSelf, didOutputSampleBuffer: pixelBuffer,
    |                                                  `- warning: capture of 'pixelBuffer' with non-sendable type 'CVImageBuffer' (aka 'CVBuffer') in a `@Sendable` closure; this is an error in the Swift 6 language mode
253 |                 rotation: imgRot, timeStamp: time
254 |             )
CoreVideo.CVBuffer:1:14: note: class 'CVBuffer' does not conform to the 'Sendable' protocol
1 | public class CVBuffer : _CFObject {
  |              `- note: class 'CVBuffer' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:151:28: warning: sending 'previewLayer' risks causing data races; this is an error in the Swift 6 language mode
149 |
150 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self.captureSession)
151 |         localVideoPreview?.insertCaptureVideoPreviewLayer(previewLayer: previewLayer)
    |                            |- warning: sending 'previewLayer' risks causing data races; this is an error in the Swift 6 language mode
    |                            `- note: sending task-isolated 'previewLayer' to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' risks causing data races between main actor-isolated and task-isolated uses
152 |     }
153 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:160:22: warning: sending 'previewLayer' risks causing data races; this is an error in the Swift 6 language mode
158 |
159 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self.captureSession)
160 |         videoPreview.insertCaptureVideoPreviewLayer(previewLayer: previewLayer)
    |                      |- warning: sending 'previewLayer' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: sending task-isolated 'previewLayer' to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' risks causing data races between main actor-isolated and task-isolated uses
161 |         self.localVideoPreview = videoPreview
162 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:244:34: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
242 |         let time = CMSampleBufferGetPresentationTimeStamp(sampleBuffer)
243 |         DispatchQueue.main.async {[weak self] in
244 |             guard let weakSelf = self else { return }
    |                                  |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
245 |
246 |             #if os(iOS)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:252:50: warning: sending 'pixelBuffer' risks causing data races; this is an error in the Swift 6 language mode
250 |             #endif
251 |             weakSelf.delegate?.myVideoCapture(
252 |                 weakSelf, didOutputSampleBuffer: pixelBuffer,
    |                                                  |- warning: sending 'pixelBuffer' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: task-isolated 'pixelBuffer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
253 |                 rotation: imgRot, timeStamp: time
254 |             )
[47/48] Compiling AgoraUIKit AgoraCollectionViewer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:151:28: warning: call to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 44 |     /// Add new frame to the preview layer
 45 |     /// - Parameter previewLayer: New `previewLayer` to be displayed on the preview.
 46 |     open func insertCaptureVideoPreviewLayer(previewLayer: AVCaptureVideoPreviewLayer) {
    |               `- note: calls to instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' from outside of its actor context are implicitly asynchronous
 47 |         self.previewLayer?.removeFromSuperlayer()
 48 |         #if os(macOS)
    :
149 |
150 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self.captureSession)
151 |         localVideoPreview?.insertCaptureVideoPreviewLayer(previewLayer: previewLayer)
    |                            `- warning: call to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
152 |     }
153 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:157:33: warning: main actor-isolated property 'previewLayer' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 40 | open class CustomVideoSourcePreview: MPView {
 41 |     /// Layer that displays video from a camera device.
 42 |     open private(set) var previewLayer: AVCaptureVideoPreviewLayer?
    |                           `- note: property declared here
 43 |
 44 |     /// Add new frame to the preview layer
    :
154 |     /// Update the local preview layer to a new one.
155 |     /// - Parameter videoPreview: New custom preview layer.
156 |     open func updateVideoPreview(to videoPreview: CustomVideoSourcePreview) {
    |               `- note: add '@MainActor' to make instance method 'updateVideoPreview(to:)' part of global actor 'MainActor'
157 |         self.localVideoPreview?.previewLayer?.removeFromSuperlayer()
    |                                 `- warning: main actor-isolated property 'previewLayer' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
158 |
159 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self.captureSession)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:160:22: warning: call to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 44 |     /// Add new frame to the preview layer
 45 |     /// - Parameter previewLayer: New `previewLayer` to be displayed on the preview.
 46 |     open func insertCaptureVideoPreviewLayer(previewLayer: AVCaptureVideoPreviewLayer) {
    |               `- note: calls to instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' from outside of its actor context are implicitly asynchronous
 47 |         self.previewLayer?.removeFromSuperlayer()
 48 |         #if os(macOS)
    :
154 |     /// Update the local preview layer to a new one.
155 |     /// - Parameter videoPreview: New custom preview layer.
156 |     open func updateVideoPreview(to videoPreview: CustomVideoSourcePreview) {
    |               `- note: add '@MainActor' to make instance method 'updateVideoPreview(to:)' part of global actor 'MainActor'
157 |         self.localVideoPreview?.previewLayer?.removeFromSuperlayer()
158 |
159 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self.captureSession)
160 |         videoPreview.insertCaptureVideoPreviewLayer(previewLayer: previewLayer)
    |                      `- warning: call to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
161 |         self.localVideoPreview = videoPreview
162 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:182:36: warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     private var localVideoPreview: CustomVideoSourcePreview?
    :
180 |
181 |         captureQueue.async { [weak self] in
182 |             guard let strongSelf = self else {
    |                                    `- warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
183 |                 return
184 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:185:41: warning: capture of 'device' with non-sendable type 'AVCaptureDevice' in a `@Sendable` closure; this is an error in the Swift 6 language mode
183 |                 return
184 |             }
185 |             strongSelf.setCaptureDevice(device, ofSession: strongSelf.captureSession)
    |                                         `- warning: capture of 'device' with non-sendable type 'AVCaptureDevice' in a `@Sendable` closure; this is an error in the Swift 6 language mode
186 |             strongSelf.captureSession.beginConfiguration()
187 |             if strongSelf.captureSession.canSetSessionPreset(.vga640x480) {
AVFoundation.AVCaptureDevice:2:12: note: class 'AVCaptureDevice' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.7, *)
 2 | open class AVCaptureDevice : NSObject {
   |            `- note: class 'AVCaptureDevice' does not conform to the 'Sendable' protocol
 3 |     @available(*, unavailable)
 4 |     public init()
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AVFoundation'
 11 | import AppKit
 12 | #endif
 13 | import AVFoundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AVFoundation'
 14 | import AgoraRtcKit
 15 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:198:13: warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     private var localVideoPreview: CustomVideoSourcePreview?
    :
196 |         self.currentOutput?.setSampleBufferDelegate(self, queue: self.captureQueue)
197 |         self.captureQueue.async { [weak self] in
198 |             self?.captureSession.startRunning()
    |             `- warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
199 |         }
200 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:205:13: warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     private var localVideoPreview: CustomVideoSourcePreview?
    :
203 |         self.currentOutput?.setSampleBufferDelegate(nil, queue: nil)
204 |         self.captureQueue.async { [weak self] in
205 |             self?.captureSession.stopRunning()
    |             `- warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
206 |         }
207 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:244:34: warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     private var localVideoPreview: CustomVideoSourcePreview?
    :
242 |         let time = CMSampleBufferGetPresentationTimeStamp(sampleBuffer)
243 |         DispatchQueue.main.async {[weak self] in
244 |             guard let weakSelf = self else { return }
    |                                  `- warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
245 |
246 |             #if os(iOS)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:252:50: warning: capture of 'pixelBuffer' with non-sendable type 'CVImageBuffer' (aka 'CVBuffer') in a `@Sendable` closure; this is an error in the Swift 6 language mode
250 |             #endif
251 |             weakSelf.delegate?.myVideoCapture(
252 |                 weakSelf, didOutputSampleBuffer: pixelBuffer,
    |                                                  `- warning: capture of 'pixelBuffer' with non-sendable type 'CVImageBuffer' (aka 'CVBuffer') in a `@Sendable` closure; this is an error in the Swift 6 language mode
253 |                 rotation: imgRot, timeStamp: time
254 |             )
CoreVideo.CVBuffer:1:14: note: class 'CVBuffer' does not conform to the 'Sendable' protocol
1 | public class CVBuffer : _CFObject {
  |              `- note: class 'CVBuffer' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:151:28: warning: sending 'previewLayer' risks causing data races; this is an error in the Swift 6 language mode
149 |
150 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self.captureSession)
151 |         localVideoPreview?.insertCaptureVideoPreviewLayer(previewLayer: previewLayer)
    |                            |- warning: sending 'previewLayer' risks causing data races; this is an error in the Swift 6 language mode
    |                            `- note: sending task-isolated 'previewLayer' to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' risks causing data races between main actor-isolated and task-isolated uses
152 |     }
153 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:160:22: warning: sending 'previewLayer' risks causing data races; this is an error in the Swift 6 language mode
158 |
159 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self.captureSession)
160 |         videoPreview.insertCaptureVideoPreviewLayer(previewLayer: previewLayer)
    |                      |- warning: sending 'previewLayer' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: sending task-isolated 'previewLayer' to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' risks causing data races between main actor-isolated and task-isolated uses
161 |         self.localVideoPreview = videoPreview
162 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:244:34: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
242 |         let time = CMSampleBufferGetPresentationTimeStamp(sampleBuffer)
243 |         DispatchQueue.main.async {[weak self] in
244 |             guard let weakSelf = self else { return }
    |                                  |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
245 |
246 |             #if os(iOS)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:252:50: warning: sending 'pixelBuffer' risks causing data races; this is an error in the Swift 6 language mode
250 |             #endif
251 |             weakSelf.delegate?.myVideoCapture(
252 |                 weakSelf, didOutputSampleBuffer: pixelBuffer,
    |                                                  |- warning: sending 'pixelBuffer' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: task-isolated 'pixelBuffer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
253 |                 rotation: imgRot, timeStamp: time
254 |             )
[48/48] Compiling AgoraUIKit AgoraConnectionData.swift
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:151:28: warning: call to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 44 |     /// Add new frame to the preview layer
 45 |     /// - Parameter previewLayer: New `previewLayer` to be displayed on the preview.
 46 |     open func insertCaptureVideoPreviewLayer(previewLayer: AVCaptureVideoPreviewLayer) {
    |               `- note: calls to instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' from outside of its actor context are implicitly asynchronous
 47 |         self.previewLayer?.removeFromSuperlayer()
 48 |         #if os(macOS)
    :
149 |
150 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self.captureSession)
151 |         localVideoPreview?.insertCaptureVideoPreviewLayer(previewLayer: previewLayer)
    |                            `- warning: call to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
152 |     }
153 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:157:33: warning: main actor-isolated property 'previewLayer' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 40 | open class CustomVideoSourcePreview: MPView {
 41 |     /// Layer that displays video from a camera device.
 42 |     open private(set) var previewLayer: AVCaptureVideoPreviewLayer?
    |                           `- note: property declared here
 43 |
 44 |     /// Add new frame to the preview layer
    :
154 |     /// Update the local preview layer to a new one.
155 |     /// - Parameter videoPreview: New custom preview layer.
156 |     open func updateVideoPreview(to videoPreview: CustomVideoSourcePreview) {
    |               `- note: add '@MainActor' to make instance method 'updateVideoPreview(to:)' part of global actor 'MainActor'
157 |         self.localVideoPreview?.previewLayer?.removeFromSuperlayer()
    |                                 `- warning: main actor-isolated property 'previewLayer' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
158 |
159 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self.captureSession)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:160:22: warning: call to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 44 |     /// Add new frame to the preview layer
 45 |     /// - Parameter previewLayer: New `previewLayer` to be displayed on the preview.
 46 |     open func insertCaptureVideoPreviewLayer(previewLayer: AVCaptureVideoPreviewLayer) {
    |               `- note: calls to instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' from outside of its actor context are implicitly asynchronous
 47 |         self.previewLayer?.removeFromSuperlayer()
 48 |         #if os(macOS)
    :
154 |     /// Update the local preview layer to a new one.
155 |     /// - Parameter videoPreview: New custom preview layer.
156 |     open func updateVideoPreview(to videoPreview: CustomVideoSourcePreview) {
    |               `- note: add '@MainActor' to make instance method 'updateVideoPreview(to:)' part of global actor 'MainActor'
157 |         self.localVideoPreview?.previewLayer?.removeFromSuperlayer()
158 |
159 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self.captureSession)
160 |         videoPreview.insertCaptureVideoPreviewLayer(previewLayer: previewLayer)
    |                      `- warning: call to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
161 |         self.localVideoPreview = videoPreview
162 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:182:36: warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     private var localVideoPreview: CustomVideoSourcePreview?
    :
180 |
181 |         captureQueue.async { [weak self] in
182 |             guard let strongSelf = self else {
    |                                    `- warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
183 |                 return
184 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:185:41: warning: capture of 'device' with non-sendable type 'AVCaptureDevice' in a `@Sendable` closure; this is an error in the Swift 6 language mode
183 |                 return
184 |             }
185 |             strongSelf.setCaptureDevice(device, ofSession: strongSelf.captureSession)
    |                                         `- warning: capture of 'device' with non-sendable type 'AVCaptureDevice' in a `@Sendable` closure; this is an error in the Swift 6 language mode
186 |             strongSelf.captureSession.beginConfiguration()
187 |             if strongSelf.captureSession.canSetSessionPreset(.vga640x480) {
AVFoundation.AVCaptureDevice:2:12: note: class 'AVCaptureDevice' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.7, *)
 2 | open class AVCaptureDevice : NSObject {
   |            `- note: class 'AVCaptureDevice' does not conform to the 'Sendable' protocol
 3 |     @available(*, unavailable)
 4 |     public init()
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AVFoundation'
 11 | import AppKit
 12 | #endif
 13 | import AVFoundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AVFoundation'
 14 | import AgoraRtcKit
 15 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:198:13: warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     private var localVideoPreview: CustomVideoSourcePreview?
    :
196 |         self.currentOutput?.setSampleBufferDelegate(self, queue: self.captureQueue)
197 |         self.captureQueue.async { [weak self] in
198 |             self?.captureSession.startRunning()
    |             `- warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
199 |         }
200 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:205:13: warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     private var localVideoPreview: CustomVideoSourcePreview?
    :
203 |         self.currentOutput?.setSampleBufferDelegate(nil, queue: nil)
204 |         self.captureQueue.async { [weak self] in
205 |             self?.captureSession.stopRunning()
    |             `- warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
206 |         }
207 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:244:34: warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 | }
106 |
107 | open class AgoraCameraSourcePush: NSObject {
    |            `- note: class 'AgoraCameraSourcePush' does not conform to the 'Sendable' protocol
108 |     fileprivate var delegate: AgoraCameraSourcePushDelegate?
109 |     private var localVideoPreview: CustomVideoSourcePreview?
    :
242 |         let time = CMSampleBufferGetPresentationTimeStamp(sampleBuffer)
243 |         DispatchQueue.main.async {[weak self] in
244 |             guard let weakSelf = self else { return }
    |                                  `- warning: capture of 'self' with non-sendable type 'AgoraCameraSourcePush?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
245 |
246 |             #if os(iOS)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:252:50: warning: capture of 'pixelBuffer' with non-sendable type 'CVImageBuffer' (aka 'CVBuffer') in a `@Sendable` closure; this is an error in the Swift 6 language mode
250 |             #endif
251 |             weakSelf.delegate?.myVideoCapture(
252 |                 weakSelf, didOutputSampleBuffer: pixelBuffer,
    |                                                  `- warning: capture of 'pixelBuffer' with non-sendable type 'CVImageBuffer' (aka 'CVBuffer') in a `@Sendable` closure; this is an error in the Swift 6 language mode
253 |                 rotation: imgRot, timeStamp: time
254 |             )
CoreVideo.CVBuffer:1:14: note: class 'CVBuffer' does not conform to the 'Sendable' protocol
1 | public class CVBuffer : _CFObject {
  |              `- note: class 'CVBuffer' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:151:28: warning: sending 'previewLayer' risks causing data races; this is an error in the Swift 6 language mode
149 |
150 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self.captureSession)
151 |         localVideoPreview?.insertCaptureVideoPreviewLayer(previewLayer: previewLayer)
    |                            |- warning: sending 'previewLayer' risks causing data races; this is an error in the Swift 6 language mode
    |                            `- note: sending task-isolated 'previewLayer' to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' risks causing data races between main actor-isolated and task-isolated uses
152 |     }
153 |
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:160:22: warning: sending 'previewLayer' risks causing data races; this is an error in the Swift 6 language mode
158 |
159 |         let previewLayer = AVCaptureVideoPreviewLayer(session: self.captureSession)
160 |         videoPreview.insertCaptureVideoPreviewLayer(previewLayer: previewLayer)
    |                      |- warning: sending 'previewLayer' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: sending task-isolated 'previewLayer' to main actor-isolated instance method 'insertCaptureVideoPreviewLayer(previewLayer:)' risks causing data races between main actor-isolated and task-isolated uses
161 |         self.localVideoPreview = videoPreview
162 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:244:34: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
242 |         let time = CMSampleBufferGetPresentationTimeStamp(sampleBuffer)
243 |         DispatchQueue.main.async {[weak self] in
244 |             guard let weakSelf = self else { return }
    |                                  |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
245 |
246 |             #if os(iOS)
/Users/admin/builder/spi-builder-workspace/Sources/Agora-Video-UIKit/AgoraCameraSourcePush.swift:252:50: warning: sending 'pixelBuffer' risks causing data races; this is an error in the Swift 6 language mode
250 |             #endif
251 |             weakSelf.delegate?.myVideoCapture(
252 |                 weakSelf, didOutputSampleBuffer: pixelBuffer,
    |                                                  |- warning: sending 'pixelBuffer' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: task-isolated 'pixelBuffer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
253 |                 rotation: imgRot, timeStamp: time
254 |             )
Build complete! (37.38s)
Fetching https://github.com/AgoraIO/AgoraRtcEngine_macOS
Fetching https://github.com/AgoraIO/AgoraRtm_macOS
[1/27] Fetching agorartm_macos
[23/213] Fetching agorartm_macos, agorartcengine_macos
Fetched https://github.com/AgoraIO/AgoraRtm_macOS from cache (0.84s)
Fetched https://github.com/AgoraIO/AgoraRtcEngine_macOS from cache (0.84s)
Computing version for https://github.com/AgoraIO/AgoraRtm_macOS
Computed https://github.com/AgoraIO/AgoraRtm_macOS at 1.5.1 (0.67s)
Computing version for https://github.com/AgoraIO/AgoraRtcEngine_macOS
Computed https://github.com/AgoraIO/AgoraRtcEngine_macOS at 4.1.1 (0.67s)
Creating working copy for https://github.com/AgoraIO/AgoraRtm_macOS
Working copy of https://github.com/AgoraIO/AgoraRtm_macOS resolved at 1.5.1
Creating working copy for https://github.com/AgoraIO/AgoraRtcEngine_macOS
Working copy of https://github.com/AgoraIO/AgoraRtcEngine_macOS resolved at 4.1.1
[77146/894931] Downloading https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/av1.xcframework.zip
[159517/2333110] Downloading https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/av1.xcframework.zip, https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraClearVisionExtension.xcframework.zip
Downloading binary artifact https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/av1.xcframework.zip
Downloading binary artifact https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraClearVisionExtension.xcframework.zip
Downloaded https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/av1.xcframework.zip (0.77s)
Downloaded https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraClearVisionExtension.xcframework.zip (0.77s)
[65536/4978429] Downloading https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraAiNoiseSuppressionExtension.xcframework.zip
Downloading binary artifact https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraAiNoiseSuppressionExtension.xcframework.zip
[4987377/9936776] Downloading https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraAiNoiseSuppressionExtension.xcframework.zip, https://github.com/AgoraIO/AgoraRtm_macOS/releases/download/1.5.1/AgoraRtmKit.xcframework.zip
[8673768/11787770] Downloading https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraAiNoiseSuppressionExtension.xcframework.zip, https://github.com/AgoraIO/AgoraRtm_macOS/releases/download/1.5.1/AgoraRtmKit.xcframework.zip, https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraDrmLoaderExtension.xcframework.zip
Downloading binary artifact https://github.com/AgoraIO/AgoraRtm_macOS/releases/download/1.5.1/AgoraRtmKit.xcframework.zip
Downloaded https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraAiNoiseSuppressionExtension.xcframework.zip (1.01s)
[5989370/6809341] Downloading https://github.com/AgoraIO/AgoraRtm_macOS/releases/download/1.5.1/AgoraRtmKit.xcframework.zip, https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraDrmLoaderExtension.xcframework.zip
[6069714/8038759] Downloading https://github.com/AgoraIO/AgoraRtm_macOS/releases/download/1.5.1/AgoraRtmKit.xcframework.zip, https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraDrmLoaderExtension.xcframework.zip, https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraAudioBeautyExtension.xcframework.zip
Downloading binary artifact https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraDrmLoaderExtension.xcframework.zip
[7858343/8065619] Downloading https://github.com/AgoraIO/AgoraRtm_macOS/releases/download/1.5.1/AgoraRtmKit.xcframework.zip, https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraDrmLoaderExtension.xcframework.zip, https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraAudioBeautyExtension.xcframework.zip, https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraSoundTouch.xcframework.zip
Downloading binary artifact https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraSoundTouch.xcframework.zip
Downloading binary artifact https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraAudioBeautyExtension.xcframework.zip
Downloaded https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraSoundTouch.xcframework.zip (1.08s)
[81920/5756838] Downloading https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/Agoraffmpeg.xcframework.zip
Downloaded https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraAudioBeautyExtension.xcframework.zip (1.13s)
Downloading binary artifact https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/Agoraffmpeg.xcframework.zip
Downloaded https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraDrmLoaderExtension.xcframework.zip (1.14s)
Downloaded https://github.com/AgoraIO/AgoraRtm_macOS/releases/download/1.5.1/AgoraRtmKit.xcframework.zip (1.22s)
[77258/5739196] Downloading https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraVideoSegmentationExtension.xcframework.zip
[1283845/12646332] Downloading https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraVideoSegmentationExtension.xcframework.zip, https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraAiEchoCancellationExtension.xcframework.zip
[2490656/13820632] Downloading https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraVideoSegmentationExtension.xcframework.zip, https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraAiEchoCancellationExtension.xcframework.zip, https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraVideoQualityAnalyzerExtension.xcframework.zip
Downloading binary artifact https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraVideoQualityAnalyzerExtension.xcframework.zip
Downloading binary artifact https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraAiEchoCancellationExtension.xcframework.zip
Downloading binary artifact https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraVideoSegmentationExtension.xcframework.zip
Downloaded https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/Agoraffmpeg.xcframework.zip (1.39s)
Downloaded https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraVideoQualityAnalyzerExtension.xcframework.zip (1.39s)
Downloaded https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraAiEchoCancellationExtension.xcframework.zip (1.51s)
Downloaded https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraVideoSegmentationExtension.xcframework.zip (1.51s)
[80344/19636626] Downloading https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraRtcKit.xcframework.zip
[8490449/20423372] Downloading https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraRtcKit.xcframework.zip, https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraFaceDetectionExtension.xcframework.zip
[19283484/21138383] Downloading https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraRtcKit.xcframework.zip, https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraFaceDetectionExtension.xcframework.zip, https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraDav1d.xcframework.zip
Downloading binary artifact https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraDav1d.xcframework.zip
Downloading binary artifact https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraRtcKit.xcframework.zip
Downloading binary artifact https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraFaceDetectionExtension.xcframework.zip
Downloaded https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraDav1d.xcframework.zip (1.78s)
Downloaded https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraFaceDetectionExtension.xcframework.zip (1.78s)
[96728/2004958] Downloading https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraContentInspectExtension.xcframework.zip
Downloading binary artifact https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraContentInspectExtension.xcframework.zip
Downloaded https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraContentInspectExtension.xcframework.zip (1.97s)
[80855/5956259] Downloading https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraSpatialAudioExtension.xcframework.zip
Downloading binary artifact https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraSpatialAudioExtension.xcframework.zip
[6086174/6741531] Downloading https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraSpatialAudioExtension.xcframework.zip, https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/Agorafdkaac.xcframework.zip
Downloading binary artifact https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/Agorafdkaac.xcframework.zip
Downloaded https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/Agorafdkaac.xcframework.zip (2.17s)
Downloaded https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraSpatialAudioExtension.xcframework.zip (2.25s)
Downloaded https://download.agora.io/swiftpm/AgoraRtcEngine_macOS/4.1.1/AgoraRtcKit.xcframework.zip (2.56s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "agorartcengine_macos",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.1.0",
            "upper_bound" : "4.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/AgoraIO/AgoraRtcEngine_macOS"
    },
    {
      "identity" : "agorartm_macos",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.1",
            "upper_bound" : "1.6.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/AgoraIO/AgoraRtm_macOS"
    }
  ],
  "manifest_display_name" : "AgoraUIKit_macOS",
  "name" : "AgoraUIKit_macOS",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "AgoraUIKit",
      "targets" : [
        "AgoraUIKit",
        "AgoraRtmControl"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AgoraAppGroupDataHelper",
      "targets" : [
        "AgoraAppGroupDataHelper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AgoraUIKit_Tests",
      "module_type" : "SwiftTarget",
      "name" : "AgoraUIKit-Tests",
      "path" : "Tests/Agora-UIKit-Tests",
      "sources" : [
        "RtcEncodingTests.swift",
        "RtmMessagingTests.swift",
        "RtmUserIdHandlingTests.swift"
      ],
      "target_dependencies" : [
        "AgoraUIKit",
        "AgoraRtmControl"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AgoraUIKit",
      "module_type" : "SwiftTarget",
      "name" : "AgoraUIKit",
      "path" : "Sources/Agora-Video-UIKit",
      "product_dependencies" : [
        "RtcBasic"
      ],
      "product_memberships" : [
        "AgoraUIKit"
      ],
      "sources" : [
        "AgoraCameraSourcePush.swift",
        "AgoraCollectionViewer.swift",
        "AgoraConnectionData.swift",
        "AgoraSettings.swift",
        "AgoraSingleVideoView+RtmDelegate.swift",
        "AgoraSingleVideoView+RtmOptions.swift",
        "AgoraSingleVideoView.swift",
        "AgoraUIKit+AgoraRtmController+Extensions.swift",
        "AgoraUIKit+AgoraRtmController+MuteRequests.swift",
        "AgoraUIKit+AgoraRtmController+SendHelpers.swift",
        "AgoraUIKit+MD5.swift",
        "AgoraUIKit.swift",
        "AgoraVideoViewer+AgoraExtensions.swift",
        "AgoraVideoViewer+AgoraRtcEngineDelegate.swift",
        "AgoraVideoViewer+Buttons.swift",
        "AgoraVideoViewer+JoinChannel.swift",
        "AgoraVideoViewer+LocalVideo.swift",
        "AgoraVideoViewer+Ordering.swift",
        "AgoraVideoViewer+Permissions.swift",
        "AgoraVideoViewer+RtcEngineDelegateOverflow.swift",
        "AgoraVideoViewer+Token.swift",
        "AgoraVideoViewer+Utilities.swift",
        "AgoraVideoViewer+VideoControl.swift",
        "AgoraVideoViewer.swift",
        "AgoraViewer.swift",
        "UIButton+Extensions.swift",
        "iOS+macOS+typealiases.swift"
      ],
      "target_dependencies" : [
        "AgoraRtmControl"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AgoraRtmControl",
      "module_type" : "SwiftTarget",
      "name" : "AgoraRtmControl",
      "path" : "Sources/AgoraRtmControl",
      "product_dependencies" : [
        "AgoraRtmKit"
      ],
      "product_memberships" : [
        "AgoraUIKit"
      ],
      "sources" : [
        "AgoraRtmController+AgoraRtmDelegate.swift",
        "AgoraRtmController+MuteRequests.swift",
        "AgoraRtmController+RtmDelegateOverflows.swift",
        "AgoraRtmController+SendHelpers.swift",
        "AgoraRtmController+Tokens.swift",
        "AgoraRtmController.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AgoraAppGroupDataHelper",
      "module_type" : "SwiftTarget",
      "name" : "AgoraAppGroupDataHelper",
      "path" : "Sources/AgoraAppGroupDataHelper",
      "product_memberships" : [
        "AgoraAppGroupDataHelper"
      ],
      "sources" : [
        "AgoraAppGroupDataHelper.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.