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 KSPlayer, reference main (9613f7), with Swift 5.10 for macOS (SPM) on 26 Apr 2025 11:31:18 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64

Build Log

    public static var textPosition = TextPosition()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:637:66: warning: reference to static property 'textPosition' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
                let textPosition = textPosition ?? SubtitleModel.textPosition
                                                                 ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:289:23: note: static property declared here
    public static var textPosition = TextPosition()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: warning: static property 'textColor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    public static var textColor: Color = .white
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: note: isolate 'textColor' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    public static var textColor: Color = .white
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:644:52: warning: reference to static property 'textColor' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
                    .foregroundColor(SubtitleModel.textColor)
                                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: note: static property declared here
    public static var textColor: Color = .white
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:288:23: warning: static property 'textItalic' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    public static var textItalic = false
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:288:23: note: isolate 'textItalic' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    public static var textItalic = false
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:645:43: warning: reference to static property 'textItalic' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
                    .italic(SubtitleModel.textItalic)
                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:288:23: note: static property declared here
    public static var textItalic = false
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: warning: static property 'textBackgroundColor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    public static var textBackgroundColor: Color = .clear
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: note: isolate 'textBackgroundColor' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    public static var textBackgroundColor: Color = .clear
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:646:47: warning: reference to static property 'textBackgroundColor' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
                    .background(SubtitleModel.textBackgroundColor)
                                              ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: note: static property declared here
    public static var textBackgroundColor: Color = .clear
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/LiveTextImage.swift:36:17: warning: stored property 'interaction' within struct cannot have a global actor; this is an error in Swift 6
    private let interaction = ImageAnalysisOverlayView()
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/LiveTextImage.swift:58:59: warning: passing argument of non-sendable type 'UIImage' (aka 'NSImage') outside of main actor-isolated context may introduce data races
                let analysis = try await analyzer.analyze(image, orientation: .up, configuration: configuration)
                                                          ^
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
open class NSImage : NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/LiveTextImage.swift:58:84: warning: passing argument of non-sendable type 'ImageAnalyzer.Configuration' outside of main actor-isolated context may introduce data races
                let analysis = try await analyzer.analyze(image, orientation: .up, configuration: configuration)
                                                                                   ^
VisionKit.ImageAnalyzer:3:19: note: struct 'Configuration' does not conform to the 'Sendable' protocol
    public struct Configuration {
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/LiveTextImage.swift:10:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'VisionKit'
import VisionKit
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/LiveTextImage.swift:58:51: warning: non-sendable type 'ImageAnalysis' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary
                let analysis = try await analyzer.analyze(image, orientation: .up, configuration: configuration)
                                                  ^
VisionKit.ImageAnalysis:2:20: note: class 'ImageAnalysis' does not conform to the 'Sendable' protocol
final public class ImageAnalysis {
                   ^
[79/91] Compiling KSPlayer LiveTextImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/AirPlayView.swift:11:9: warning: unknown operating system for build configuration 'os'
#if !os(xrOS)
        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/AirPlayView.swift:11:9: note: did you mean 'tvOS'?
#if !os(xrOS)
        ^~~~
        tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/AirPlayView.swift:11:9: note: did you mean 'iOS'?
#if !os(xrOS)
        ^~~~
        iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:143:27: warning: unknown operating system for build configuration 'os'
        #if os(iOS) || os(xrOS)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:143:27: note: did you mean 'tvOS'?
        #if os(iOS) || os(xrOS)
                          ^~~~
                          tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:143:27: note: did you mean 'iOS'?
        #if os(iOS) || os(xrOS)
                          ^~~~
                          iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:150:17: warning: unknown operating system for build configuration 'os'
        #if !os(xrOS)
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:150:17: note: did you mean 'tvOS'?
        #if !os(xrOS)
                ^~~~
                tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:150:17: note: did you mean 'iOS'?
        #if !os(xrOS)
                ^~~~
                iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:229:21: warning: unknown operating system for build configuration 'os'
            #if !os(xrOS)
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:229:21: note: did you mean 'tvOS'?
            #if !os(xrOS)
                    ^~~~
                    tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:229:21: note: did you mean 'iOS'?
            #if !os(xrOS)
                    ^~~~
                    iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:242:16: warning: unknown operating system for build configuration 'os'
        #if os(xrOS)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:242:16: note: did you mean 'tvOS'?
        #if os(xrOS)
               ^~~~
               tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:242:16: note: did you mean 'iOS'?
        #if os(xrOS)
               ^~~~
               iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:279:16: warning: unknown operating system for build configuration 'os'
        #if os(xrOS)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:279:16: note: did you mean 'tvOS'?
        #if os(xrOS)
               ^~~~
               tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:279:16: note: did you mean 'iOS'?
        #if os(xrOS)
               ^~~~
               iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:406:25: warning: unknown operating system for build configuration 'os'
                #if !os(xrOS)
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:406:25: note: did you mean 'tvOS'?
                #if !os(xrOS)
                        ^~~~
                        tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:406:25: note: did you mean 'iOS'?
                #if !os(xrOS)
                        ^~~~
                        iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:421:28: warning: unknown operating system for build configuration 'os'
                    #if os(xrOS)
                           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:421:28: note: did you mean 'tvOS'?
                    #if os(xrOS)
                           ^~~~
                           tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:421:28: note: did you mean 'iOS'?
                    #if os(xrOS)
                           ^~~~
                           iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:427:25: warning: unknown operating system for build configuration 'os'
                #if !os(xrOS)
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:427:25: note: did you mean 'tvOS'?
                #if !os(xrOS)
                        ^~~~
                        tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:427:25: note: did you mean 'iOS'?
                #if !os(xrOS)
                        ^~~~
                        iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:433:21: warning: unknown operating system for build configuration 'os'
            #if !os(xrOS)
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:433:21: note: did you mean 'tvOS'?
            #if !os(xrOS)
                    ^~~~
                    tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:433:21: note: did you mean 'iOS'?
            #if !os(xrOS)
                    ^~~~
                    iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:456:16: warning: unknown operating system for build configuration 'os'
        #if os(xrOS)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:456:16: note: did you mean 'tvOS'?
        #if os(xrOS)
               ^~~~
               tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:456:16: note: did you mean 'iOS'?
        #if os(xrOS)
               ^~~~
               iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:491:20: warning: unknown operating system for build configuration 'os'
            #if os(xrOS)
                   ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:491:20: note: did you mean 'tvOS'?
            #if os(xrOS)
                   ^~~~
                   tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:491:20: note: did you mean 'iOS'?
            #if os(xrOS)
                   ^~~~
                   iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:577:24: warning: unknown operating system for build configuration 'os'
                #if os(xrOS)
                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:577:24: note: did you mean 'tvOS'?
                #if os(xrOS)
                       ^~~~
                       tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:577:24: note: did you mean 'iOS'?
                #if os(xrOS)
                       ^~~~
                       iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:709:63: warning: unknown operating system for build configuration 'os'
        #if os(macOS) || targetEnvironment(macCatalyst) || os(xrOS)
                                                              ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:709:63: note: did you mean 'tvOS'?
        #if os(macOS) || targetEnvironment(macCatalyst) || os(xrOS)
                                                              ^~~~
                                                              tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:709:63: note: did you mean 'iOS'?
        #if os(macOS) || targetEnvironment(macCatalyst) || os(xrOS)
                                                              ^~~~
                                                              iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:16:20: warning: unknown operating system for build configuration 'os'
            #if os(xrOS)
                   ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:16:20: note: did you mean 'tvOS'?
            #if os(xrOS)
                   ^~~~
                   tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:16:20: note: did you mean 'iOS'?
            #if os(xrOS)
                   ^~~~
                   iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:111:16: warning: unknown operating system for build configuration 'os'
        #if os(xrOS)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:111:16: note: did you mean 'tvOS'?
        #if os(xrOS)
               ^~~~
               tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:111:16: note: did you mean 'iOS'?
        #if os(xrOS)
               ^~~~
               iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:119:16: warning: unknown operating system for build configuration 'os'
        #if os(xrOS)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:119:16: note: did you mean 'tvOS'?
        #if os(xrOS)
               ^~~~
               tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:119:16: note: did you mean 'iOS'?
        #if os(xrOS)
               ^~~~
               iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:127:16: warning: unknown operating system for build configuration 'os'
        #if os(xrOS)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:127:16: note: did you mean 'tvOS'?
        #if os(xrOS)
               ^~~~
               tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:127:16: note: did you mean 'iOS'?
        #if os(xrOS)
               ^~~~
               iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:135:16: warning: unknown operating system for build configuration 'os'
        #if os(xrOS)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:135:16: note: did you mean 'tvOS'?
        #if os(xrOS)
               ^~~~
               tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:135:16: note: did you mean 'iOS'?
        #if os(xrOS)
               ^~~~
               iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:186:16: warning: unknown operating system for build configuration 'os'
        #if os(xrOS)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:186:16: note: did you mean 'tvOS'?
        #if os(xrOS)
               ^~~~
               tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:186:16: note: did you mean 'iOS'?
        #if os(xrOS)
               ^~~~
               iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:24:32: warning: capture of 'self' with non-sendable type 'URLSubtitleInfo' in a `@Sendable` closure
                    try? await parse(url: downloadURL, userAgent: userAgent)
                               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:19:14: note: class 'URLSubtitleInfo' does not conform to the 'Sendable' protocol
public class URLSubtitleInfo: KSSubtitle, SubtitleInfo {
             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:80:16: warning: static property 'subtitleDataSouces' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var subtitleDataSouces: [SubtitleDataSouce] = [DirectorySubtitleDataSouce()]
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:80:16: note: isolate 'subtitleDataSouces' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var subtitleDataSouces: [SubtitleDataSouce] = [DirectorySubtitleDataSouce()]
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:84:23: warning: static property 'singleton' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
    public static let singleton = PlistCacheSubtitleDataSouce()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:97:23: warning: capture of 'self' with non-sendable type 'PlistCacheSubtitleDataSouce?' in a `@Sendable` closure
            guard let self else {
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:83:14: note: class 'PlistCacheSubtitleDataSouce' does not conform to the 'Sendable' protocol
public class PlistCacheSubtitleDataSouce: CacheSubtitleDataSouce {
             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:127:27: warning: capture of 'self' with non-sendable type 'PlistCacheSubtitleDataSouce?' in a `@Sendable` closure
                guard let self else {
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:83:14: note: class 'PlistCacheSubtitleDataSouce' does not conform to the 'Sendable' protocol
public class PlistCacheSubtitleDataSouce: CacheSubtitleDataSouce {
             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:218:25: warning: call to main actor-isolated instance method 'openURL' in a synchronous nonisolated context; this is an error in Swift 6
                        openURL(url)
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:304:17: note: calls to instance method 'openURL' from outside of its actor context are implicitly asynchronous
    public func openURL(_ url: URL) {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:289:23: warning: static property 'textPosition' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    public static var textPosition = TextPosition()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:289:23: note: isolate 'textPosition' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    public static var textPosition = TextPosition()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:637:66: warning: reference to static property 'textPosition' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
                let textPosition = textPosition ?? SubtitleModel.textPosition
                                                                 ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:289:23: note: static property declared here
    public static var textPosition = TextPosition()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: warning: static property 'textColor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    public static var textColor: Color = .white
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: note: isolate 'textColor' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    public static var textColor: Color = .white
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:644:52: warning: reference to static property 'textColor' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
                    .foregroundColor(SubtitleModel.textColor)
                                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: note: static property declared here
    public static var textColor: Color = .white
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:288:23: warning: static property 'textItalic' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    public static var textItalic = false
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:288:23: note: isolate 'textItalic' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    public static var textItalic = false
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:645:43: warning: reference to static property 'textItalic' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
                    .italic(SubtitleModel.textItalic)
                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:288:23: note: static property declared here
    public static var textItalic = false
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: warning: static property 'textBackgroundColor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    public static var textBackgroundColor: Color = .clear
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: note: isolate 'textBackgroundColor' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    public static var textBackgroundColor: Color = .clear
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:646:47: warning: reference to static property 'textBackgroundColor' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
                    .background(SubtitleModel.textBackgroundColor)
                                              ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: note: static property declared here
    public static var textBackgroundColor: Color = .clear
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/LiveTextImage.swift:36:17: warning: stored property 'interaction' within struct cannot have a global actor; this is an error in Swift 6
    private let interaction = ImageAnalysisOverlayView()
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/LiveTextImage.swift:58:59: warning: passing argument of non-sendable type 'UIImage' (aka 'NSImage') outside of main actor-isolated context may introduce data races
                let analysis = try await analyzer.analyze(image, orientation: .up, configuration: configuration)
                                                          ^
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
open class NSImage : NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/LiveTextImage.swift:58:84: warning: passing argument of non-sendable type 'ImageAnalyzer.Configuration' outside of main actor-isolated context may introduce data races
                let analysis = try await analyzer.analyze(image, orientation: .up, configuration: configuration)
                                                                                   ^
VisionKit.ImageAnalyzer:3:19: note: struct 'Configuration' does not conform to the 'Sendable' protocol
    public struct Configuration {
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/LiveTextImage.swift:10:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'VisionKit'
import VisionKit
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/LiveTextImage.swift:58:51: warning: non-sendable type 'ImageAnalysis' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary
                let analysis = try await analyzer.analyze(image, orientation: .up, configuration: configuration)
                                                  ^
VisionKit.ImageAnalysis:2:20: note: class 'ImageAnalysis' does not conform to the 'Sendable' protocol
final public class ImageAnalysis {
                   ^
[80/91] Compiling KSPlayer Slider.swift
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/AirPlayView.swift:11:9: warning: unknown operating system for build configuration 'os'
#if !os(xrOS)
        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/AirPlayView.swift:11:9: note: did you mean 'tvOS'?
#if !os(xrOS)
        ^~~~
        tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/AirPlayView.swift:11:9: note: did you mean 'iOS'?
#if !os(xrOS)
        ^~~~
        iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:143:27: warning: unknown operating system for build configuration 'os'
        #if os(iOS) || os(xrOS)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:143:27: note: did you mean 'tvOS'?
        #if os(iOS) || os(xrOS)
                          ^~~~
                          tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:143:27: note: did you mean 'iOS'?
        #if os(iOS) || os(xrOS)
                          ^~~~
                          iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:150:17: warning: unknown operating system for build configuration 'os'
        #if !os(xrOS)
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:150:17: note: did you mean 'tvOS'?
        #if !os(xrOS)
                ^~~~
                tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:150:17: note: did you mean 'iOS'?
        #if !os(xrOS)
                ^~~~
                iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:229:21: warning: unknown operating system for build configuration 'os'
            #if !os(xrOS)
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:229:21: note: did you mean 'tvOS'?
            #if !os(xrOS)
                    ^~~~
                    tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:229:21: note: did you mean 'iOS'?
            #if !os(xrOS)
                    ^~~~
                    iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:242:16: warning: unknown operating system for build configuration 'os'
        #if os(xrOS)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:242:16: note: did you mean 'tvOS'?
        #if os(xrOS)
               ^~~~
               tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:242:16: note: did you mean 'iOS'?
        #if os(xrOS)
               ^~~~
               iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:279:16: warning: unknown operating system for build configuration 'os'
        #if os(xrOS)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:279:16: note: did you mean 'tvOS'?
        #if os(xrOS)
               ^~~~
               tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:279:16: note: did you mean 'iOS'?
        #if os(xrOS)
               ^~~~
               iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:406:25: warning: unknown operating system for build configuration 'os'
                #if !os(xrOS)
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:406:25: note: did you mean 'tvOS'?
                #if !os(xrOS)
                        ^~~~
                        tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:406:25: note: did you mean 'iOS'?
                #if !os(xrOS)
                        ^~~~
                        iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:421:28: warning: unknown operating system for build configuration 'os'
                    #if os(xrOS)
                           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:421:28: note: did you mean 'tvOS'?
                    #if os(xrOS)
                           ^~~~
                           tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:421:28: note: did you mean 'iOS'?
                    #if os(xrOS)
                           ^~~~
                           iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:427:25: warning: unknown operating system for build configuration 'os'
                #if !os(xrOS)
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:427:25: note: did you mean 'tvOS'?
                #if !os(xrOS)
                        ^~~~
                        tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:427:25: note: did you mean 'iOS'?
                #if !os(xrOS)
                        ^~~~
                        iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:433:21: warning: unknown operating system for build configuration 'os'
            #if !os(xrOS)
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:433:21: note: did you mean 'tvOS'?
            #if !os(xrOS)
                    ^~~~
                    tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:433:21: note: did you mean 'iOS'?
            #if !os(xrOS)
                    ^~~~
                    iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:456:16: warning: unknown operating system for build configuration 'os'
        #if os(xrOS)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:456:16: note: did you mean 'tvOS'?
        #if os(xrOS)
               ^~~~
               tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:456:16: note: did you mean 'iOS'?
        #if os(xrOS)
               ^~~~
               iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:491:20: warning: unknown operating system for build configuration 'os'
            #if os(xrOS)
                   ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:491:20: note: did you mean 'tvOS'?
            #if os(xrOS)
                   ^~~~
                   tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:491:20: note: did you mean 'iOS'?
            #if os(xrOS)
                   ^~~~
                   iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:577:24: warning: unknown operating system for build configuration 'os'
                #if os(xrOS)
                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:577:24: note: did you mean 'tvOS'?
                #if os(xrOS)
                       ^~~~
                       tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:577:24: note: did you mean 'iOS'?
                #if os(xrOS)
                       ^~~~
                       iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:709:63: warning: unknown operating system for build configuration 'os'
        #if os(macOS) || targetEnvironment(macCatalyst) || os(xrOS)
                                                              ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:709:63: note: did you mean 'tvOS'?
        #if os(macOS) || targetEnvironment(macCatalyst) || os(xrOS)
                                                              ^~~~
                                                              tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:709:63: note: did you mean 'iOS'?
        #if os(macOS) || targetEnvironment(macCatalyst) || os(xrOS)
                                                              ^~~~
                                                              iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:16:20: warning: unknown operating system for build configuration 'os'
            #if os(xrOS)
                   ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:16:20: note: did you mean 'tvOS'?
            #if os(xrOS)
                   ^~~~
                   tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:16:20: note: did you mean 'iOS'?
            #if os(xrOS)
                   ^~~~
                   iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:111:16: warning: unknown operating system for build configuration 'os'
        #if os(xrOS)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:111:16: note: did you mean 'tvOS'?
        #if os(xrOS)
               ^~~~
               tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:111:16: note: did you mean 'iOS'?
        #if os(xrOS)
               ^~~~
               iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:119:16: warning: unknown operating system for build configuration 'os'
        #if os(xrOS)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:119:16: note: did you mean 'tvOS'?
        #if os(xrOS)
               ^~~~
               tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:119:16: note: did you mean 'iOS'?
        #if os(xrOS)
               ^~~~
               iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:127:16: warning: unknown operating system for build configuration 'os'
        #if os(xrOS)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:127:16: note: did you mean 'tvOS'?
        #if os(xrOS)
               ^~~~
               tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:127:16: note: did you mean 'iOS'?
        #if os(xrOS)
               ^~~~
               iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:135:16: warning: unknown operating system for build configuration 'os'
        #if os(xrOS)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:135:16: note: did you mean 'tvOS'?
        #if os(xrOS)
               ^~~~
               tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:135:16: note: did you mean 'iOS'?
        #if os(xrOS)
               ^~~~
               iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:186:16: warning: unknown operating system for build configuration 'os'
        #if os(xrOS)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:186:16: note: did you mean 'tvOS'?
        #if os(xrOS)
               ^~~~
               tvOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift:186:16: note: did you mean 'iOS'?
        #if os(xrOS)
               ^~~~
               iOS
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:24:32: warning: capture of 'self' with non-sendable type 'URLSubtitleInfo' in a `@Sendable` closure
                    try? await parse(url: downloadURL, userAgent: userAgent)
                               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:19:14: note: class 'URLSubtitleInfo' does not conform to the 'Sendable' protocol
public class URLSubtitleInfo: KSSubtitle, SubtitleInfo {
             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:80:16: warning: static property 'subtitleDataSouces' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var subtitleDataSouces: [SubtitleDataSouce] = [DirectorySubtitleDataSouce()]
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:80:16: note: isolate 'subtitleDataSouces' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var subtitleDataSouces: [SubtitleDataSouce] = [DirectorySubtitleDataSouce()]
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:84:23: warning: static property 'singleton' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
    public static let singleton = PlistCacheSubtitleDataSouce()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:97:23: warning: capture of 'self' with non-sendable type 'PlistCacheSubtitleDataSouce?' in a `@Sendable` closure
            guard let self else {
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:83:14: note: class 'PlistCacheSubtitleDataSouce' does not conform to the 'Sendable' protocol
public class PlistCacheSubtitleDataSouce: CacheSubtitleDataSouce {
             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:127:27: warning: capture of 'self' with non-sendable type 'PlistCacheSubtitleDataSouce?' in a `@Sendable` closure
                guard let self else {
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:83:14: note: class 'PlistCacheSubtitleDataSouce' does not conform to the 'Sendable' protocol
public class PlistCacheSubtitleDataSouce: CacheSubtitleDataSouce {
             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:218:25: warning: call to main actor-isolated instance method 'openURL' in a synchronous nonisolated context; this is an error in Swift 6
                        openURL(url)
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:304:17: note: calls to instance method 'openURL' from outside of its actor context are implicitly asynchronous
    public func openURL(_ url: URL) {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:289:23: warning: static property 'textPosition' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    public static var textPosition = TextPosition()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:289:23: note: isolate 'textPosition' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    public static var textPosition = TextPosition()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:637:66: warning: reference to static property 'textPosition' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
                let textPosition = textPosition ?? SubtitleModel.textPosition
                                                                 ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:289:23: note: static property declared here
    public static var textPosition = TextPosition()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: warning: static property 'textColor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    public static var textColor: Color = .white
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: note: isolate 'textColor' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    public static var textColor: Color = .white
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:644:52: warning: reference to static property 'textColor' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
                    .foregroundColor(SubtitleModel.textColor)
                                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: note: static property declared here
    public static var textColor: Color = .white
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:288:23: warning: static property 'textItalic' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    public static var textItalic = false
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:288:23: note: isolate 'textItalic' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    public static var textItalic = false
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:645:43: warning: reference to static property 'textItalic' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
                    .italic(SubtitleModel.textItalic)
                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:288:23: note: static property declared here
    public static var textItalic = false
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: warning: static property 'textBackgroundColor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    public static var textBackgroundColor: Color = .clear
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: note: isolate 'textBackgroundColor' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    public static var textBackgroundColor: Color = .clear
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift:646:47: warning: reference to static property 'textBackgroundColor' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
                    .background(SubtitleModel.textBackgroundColor)
                                              ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: note: static property declared here
    public static var textBackgroundColor: Color = .clear
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/LiveTextImage.swift:36:17: warning: stored property 'interaction' within struct cannot have a global actor; this is an error in Swift 6
    private let interaction = ImageAnalysisOverlayView()
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/LiveTextImage.swift:58:59: warning: passing argument of non-sendable type 'UIImage' (aka 'NSImage') outside of main actor-isolated context may introduce data races
                let analysis = try await analyzer.analyze(image, orientation: .up, configuration: configuration)
                                                          ^
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
open class NSImage : NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/LiveTextImage.swift:58:84: warning: passing argument of non-sendable type 'ImageAnalyzer.Configuration' outside of main actor-isolated context may introduce data races
                let analysis = try await analyzer.analyze(image, orientation: .up, configuration: configuration)
                                                                                   ^
VisionKit.ImageAnalyzer:3:19: note: struct 'Configuration' does not conform to the 'Sendable' protocol
    public struct Configuration {
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/LiveTextImage.swift:10:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'VisionKit'
import VisionKit
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/LiveTextImage.swift:58:51: warning: non-sendable type 'ImageAnalysis' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary
                let analysis = try await analyzer.analyze(image, orientation: .up, configuration: configuration)
                                                  ^
VisionKit.ImageAnalysis:2:20: note: class 'ImageAnalysis' does not conform to the 'Sendable' protocol
final public class ImageAnalysis {
                   ^
[81/91] Compiling KSPlayer Resample.swift
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Resample.swift:175:25: warning: variable 'source' was never mutated; consider changing to 'let' constant
                    var source = data[i]!
                    ~~~ ^
                    let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift:409:16: warning: static property 'defaultValue' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
    static let defaultValue = AVChannelLayout(order: AV_CHANNEL_ORDER_NATIVE, nb_channels: 2, u: AVChannelLayout.__Unnamed_union_u(mask: swift_AV_CH_LAYOUT_STEREO), opaque: nil)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: warning: static property 'audioPlayerType' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: note: isolate 'audioPlayerType' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Resample.swift:368:33: warning: reference to static property 'audioPlayerType' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        interleaved = KSOptions.audioPlayerType == AudioRendererPlayer.self
                                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: note: static property declared here
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Resample.swift:369:24: warning: reference to static property 'audioPlayerType' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        if !(KSOptions.audioPlayerType == AudioRendererPlayer.self || KSOptions.audioPlayerType == AudioUnitPlayer.self) {
                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: note: static property declared here
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Resample.swift:369:81: warning: reference to static property 'audioPlayerType' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        if !(KSOptions.audioPlayerType == AudioRendererPlayer.self || KSOptions.audioPlayerType == AudioUnitPlayer.self) {
                                                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: note: static property declared here
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:32:19: warning: type 'FFThumbnail' does not conform to the 'Sendable' protocol
        try await Task {
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:15:15: note: consider making struct 'FFThumbnail' conform to the 'Sendable' protocol
public struct FFThumbnail {
              ^
                          : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:32:19: warning: type 'FFThumbnail' does not conform to the 'Sendable' protocol
        try await Task {
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:15:15: note: consider making struct 'FFThumbnail' conform to the 'Sendable' protocol
public struct FFThumbnail {
              ^
                          : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:34:11: warning: type 'FFThumbnail' does not conform to the 'Sendable' protocol
        }.value
          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:15:15: note: consider making struct 'FFThumbnail' conform to the 'Sendable' protocol
public struct FFThumbnail {
              ^
                          : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:33:17: warning: capture of 'self' with non-sendable type 'ThumbnailController' in a `@Sendable` closure
            try getPeeks(for: url, thumbWidth: thumbWidth)
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:24:14: note: class 'ThumbnailController' does not conform to the 'Sendable' protocol
public class ThumbnailController {
             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:72:13: warning: variable 'codecContext' was never mutated; consider changing to 'let' constant
        var codecContext = try videoStream.pointee.codecpar.pointee.createContext(options: nil)
        ~~~ ^
        let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/VideoToolboxDecode.swift:51:27: warning: capture of 'self' with non-sendable type 'VideoToolboxDecode?' in a `@Sendable` closure
                guard let self, !infoFlags.contains(.frameDropped) else {
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/VideoToolboxDecode.swift:13:7: note: class 'VideoToolboxDecode' does not conform to the 'Sendable' protocol
class VideoToolboxDecode: DecodeProtocol {
      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/VideoToolboxDecode.swift:56:28: warning: capture of 'packet' with non-sendable type 'Packet' in a `@Sendable` closure
                        if packet.isKeyFrame {
                           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:195:13: note: class 'Packet' does not conform to the 'Sendable' protocol
final class Packet: ObjectQueueItem {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/VideoToolboxDecode.swift:57:29: warning: capture of 'completionHandler' with non-sendable type '(Result<any MEFrame, any Error>) -> Void' in a `@Sendable` closure
                            completionHandler(.failure(NSError(errorCode: .codecVideoReceiveFrame, avErrorCode: status)))
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/VideoToolboxDecode.swift:57:29: note: a function type must be marked '@Sendable' to conform to 'Sendable'
                            completionHandler(.failure(NSError(errorCode: .codecVideoReceiveFrame, avErrorCode: status)))
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:15:16: warning: static property 'device' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
    static let device = MTLCreateSystemDefaultDevice()!
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:16:16: warning: static property 'library' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
    static let library: MTLLibrary = {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:34:77: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_601_4' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
    private lazy var colorConversion601VideoRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_601_4.pointee.videoRange.buffer
                                                                            ^
Accelerate.kvImage_YpCbCrToARGBMatrix_ITU_R_601_4:2:12: note: var declared here
public var kvImage_YpCbCrToARGBMatrix_ITU_R_601_4: UnsafePointer<vImage_YpCbCrToARGBMatrix>!
           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:36:76: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_601_4' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
    private lazy var colorConversion601FullRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_601_4.pointee.buffer
                                                                           ^
Accelerate.kvImage_YpCbCrToARGBMatrix_ITU_R_601_4:2:12: note: var declared here
public var kvImage_YpCbCrToARGBMatrix_ITU_R_601_4: UnsafePointer<vImage_YpCbCrToARGBMatrix>!
           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:38:77: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_709_2' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
    private lazy var colorConversion709VideoRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_709_2.pointee.videoRange.buffer
                                                                            ^
Accelerate.kvImage_YpCbCrToARGBMatrix_ITU_R_709_2:2:12: note: var declared here
public var kvImage_YpCbCrToARGBMatrix_ITU_R_709_2: UnsafePointer<vImage_YpCbCrToARGBMatrix>!
           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:40:76: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_709_2' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
    private lazy var colorConversion709FullRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_709_2.pointee.buffer
                                                                           ^
Accelerate.kvImage_YpCbCrToARGBMatrix_ITU_R_709_2:2:12: note: var declared here
public var kvImage_YpCbCrToARGBMatrix_ITU_R_709_2: UnsafePointer<vImage_YpCbCrToARGBMatrix>!
           ^
[82/91] Compiling KSPlayer SubtitleDecode.swift
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Resample.swift:175:25: warning: variable 'source' was never mutated; consider changing to 'let' constant
                    var source = data[i]!
                    ~~~ ^
                    let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift:409:16: warning: static property 'defaultValue' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
    static let defaultValue = AVChannelLayout(order: AV_CHANNEL_ORDER_NATIVE, nb_channels: 2, u: AVChannelLayout.__Unnamed_union_u(mask: swift_AV_CH_LAYOUT_STEREO), opaque: nil)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: warning: static property 'audioPlayerType' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: note: isolate 'audioPlayerType' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Resample.swift:368:33: warning: reference to static property 'audioPlayerType' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        interleaved = KSOptions.audioPlayerType == AudioRendererPlayer.self
                                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: note: static property declared here
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Resample.swift:369:24: warning: reference to static property 'audioPlayerType' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        if !(KSOptions.audioPlayerType == AudioRendererPlayer.self || KSOptions.audioPlayerType == AudioUnitPlayer.self) {
                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: note: static property declared here
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Resample.swift:369:81: warning: reference to static property 'audioPlayerType' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        if !(KSOptions.audioPlayerType == AudioRendererPlayer.self || KSOptions.audioPlayerType == AudioUnitPlayer.self) {
                                                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: note: static property declared here
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:32:19: warning: type 'FFThumbnail' does not conform to the 'Sendable' protocol
        try await Task {
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:15:15: note: consider making struct 'FFThumbnail' conform to the 'Sendable' protocol
public struct FFThumbnail {
              ^
                          : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:32:19: warning: type 'FFThumbnail' does not conform to the 'Sendable' protocol
        try await Task {
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:15:15: note: consider making struct 'FFThumbnail' conform to the 'Sendable' protocol
public struct FFThumbnail {
              ^
                          : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:34:11: warning: type 'FFThumbnail' does not conform to the 'Sendable' protocol
        }.value
          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:15:15: note: consider making struct 'FFThumbnail' conform to the 'Sendable' protocol
public struct FFThumbnail {
              ^
                          : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:33:17: warning: capture of 'self' with non-sendable type 'ThumbnailController' in a `@Sendable` closure
            try getPeeks(for: url, thumbWidth: thumbWidth)
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:24:14: note: class 'ThumbnailController' does not conform to the 'Sendable' protocol
public class ThumbnailController {
             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:72:13: warning: variable 'codecContext' was never mutated; consider changing to 'let' constant
        var codecContext = try videoStream.pointee.codecpar.pointee.createContext(options: nil)
        ~~~ ^
        let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/VideoToolboxDecode.swift:51:27: warning: capture of 'self' with non-sendable type 'VideoToolboxDecode?' in a `@Sendable` closure
                guard let self, !infoFlags.contains(.frameDropped) else {
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/VideoToolboxDecode.swift:13:7: note: class 'VideoToolboxDecode' does not conform to the 'Sendable' protocol
class VideoToolboxDecode: DecodeProtocol {
      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/VideoToolboxDecode.swift:56:28: warning: capture of 'packet' with non-sendable type 'Packet' in a `@Sendable` closure
                        if packet.isKeyFrame {
                           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:195:13: note: class 'Packet' does not conform to the 'Sendable' protocol
final class Packet: ObjectQueueItem {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/VideoToolboxDecode.swift:57:29: warning: capture of 'completionHandler' with non-sendable type '(Result<any MEFrame, any Error>) -> Void' in a `@Sendable` closure
                            completionHandler(.failure(NSError(errorCode: .codecVideoReceiveFrame, avErrorCode: status)))
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/VideoToolboxDecode.swift:57:29: note: a function type must be marked '@Sendable' to conform to 'Sendable'
                            completionHandler(.failure(NSError(errorCode: .codecVideoReceiveFrame, avErrorCode: status)))
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:15:16: warning: static property 'device' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
    static let device = MTLCreateSystemDefaultDevice()!
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:16:16: warning: static property 'library' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
    static let library: MTLLibrary = {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:34:77: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_601_4' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
    private lazy var colorConversion601VideoRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_601_4.pointee.videoRange.buffer
                                                                            ^
Accelerate.kvImage_YpCbCrToARGBMatrix_ITU_R_601_4:2:12: note: var declared here
public var kvImage_YpCbCrToARGBMatrix_ITU_R_601_4: UnsafePointer<vImage_YpCbCrToARGBMatrix>!
           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:36:76: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_601_4' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
    private lazy var colorConversion601FullRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_601_4.pointee.buffer
                                                                           ^
Accelerate.kvImage_YpCbCrToARGBMatrix_ITU_R_601_4:2:12: note: var declared here
public var kvImage_YpCbCrToARGBMatrix_ITU_R_601_4: UnsafePointer<vImage_YpCbCrToARGBMatrix>!
           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:38:77: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_709_2' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
    private lazy var colorConversion709VideoRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_709_2.pointee.videoRange.buffer
                                                                            ^
Accelerate.kvImage_YpCbCrToARGBMatrix_ITU_R_709_2:2:12: note: var declared here
public var kvImage_YpCbCrToARGBMatrix_ITU_R_709_2: UnsafePointer<vImage_YpCbCrToARGBMatrix>!
           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:40:76: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_709_2' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
    private lazy var colorConversion709FullRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_709_2.pointee.buffer
                                                                           ^
Accelerate.kvImage_YpCbCrToARGBMatrix_ITU_R_709_2:2:12: note: var declared here
public var kvImage_YpCbCrToARGBMatrix_ITU_R_709_2: UnsafePointer<vImage_YpCbCrToARGBMatrix>!
           ^
[83/91] Compiling KSPlayer ThumbnailController.swift
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Resample.swift:175:25: warning: variable 'source' was never mutated; consider changing to 'let' constant
                    var source = data[i]!
                    ~~~ ^
                    let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift:409:16: warning: static property 'defaultValue' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
    static let defaultValue = AVChannelLayout(order: AV_CHANNEL_ORDER_NATIVE, nb_channels: 2, u: AVChannelLayout.__Unnamed_union_u(mask: swift_AV_CH_LAYOUT_STEREO), opaque: nil)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: warning: static property 'audioPlayerType' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: note: isolate 'audioPlayerType' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Resample.swift:368:33: warning: reference to static property 'audioPlayerType' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        interleaved = KSOptions.audioPlayerType == AudioRendererPlayer.self
                                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: note: static property declared here
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Resample.swift:369:24: warning: reference to static property 'audioPlayerType' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        if !(KSOptions.audioPlayerType == AudioRendererPlayer.self || KSOptions.audioPlayerType == AudioUnitPlayer.self) {
                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: note: static property declared here
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Resample.swift:369:81: warning: reference to static property 'audioPlayerType' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        if !(KSOptions.audioPlayerType == AudioRendererPlayer.self || KSOptions.audioPlayerType == AudioUnitPlayer.self) {
                                                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: note: static property declared here
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:32:19: warning: type 'FFThumbnail' does not conform to the 'Sendable' protocol
        try await Task {
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:15:15: note: consider making struct 'FFThumbnail' conform to the 'Sendable' protocol
public struct FFThumbnail {
              ^
                          : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:32:19: warning: type 'FFThumbnail' does not conform to the 'Sendable' protocol
        try await Task {
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:15:15: note: consider making struct 'FFThumbnail' conform to the 'Sendable' protocol
public struct FFThumbnail {
              ^
                          : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:34:11: warning: type 'FFThumbnail' does not conform to the 'Sendable' protocol
        }.value
          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:15:15: note: consider making struct 'FFThumbnail' conform to the 'Sendable' protocol
public struct FFThumbnail {
              ^
                          : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:33:17: warning: capture of 'self' with non-sendable type 'ThumbnailController' in a `@Sendable` closure
            try getPeeks(for: url, thumbWidth: thumbWidth)
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:24:14: note: class 'ThumbnailController' does not conform to the 'Sendable' protocol
public class ThumbnailController {
             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:72:13: warning: variable 'codecContext' was never mutated; consider changing to 'let' constant
        var codecContext = try videoStream.pointee.codecpar.pointee.createContext(options: nil)
        ~~~ ^
        let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/VideoToolboxDecode.swift:51:27: warning: capture of 'self' with non-sendable type 'VideoToolboxDecode?' in a `@Sendable` closure
                guard let self, !infoFlags.contains(.frameDropped) else {
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/VideoToolboxDecode.swift:13:7: note: class 'VideoToolboxDecode' does not conform to the 'Sendable' protocol
class VideoToolboxDecode: DecodeProtocol {
      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/VideoToolboxDecode.swift:56:28: warning: capture of 'packet' with non-sendable type 'Packet' in a `@Sendable` closure
                        if packet.isKeyFrame {
                           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:195:13: note: class 'Packet' does not conform to the 'Sendable' protocol
final class Packet: ObjectQueueItem {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/VideoToolboxDecode.swift:57:29: warning: capture of 'completionHandler' with non-sendable type '(Result<any MEFrame, any Error>) -> Void' in a `@Sendable` closure
                            completionHandler(.failure(NSError(errorCode: .codecVideoReceiveFrame, avErrorCode: status)))
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/VideoToolboxDecode.swift:57:29: note: a function type must be marked '@Sendable' to conform to 'Sendable'
                            completionHandler(.failure(NSError(errorCode: .codecVideoReceiveFrame, avErrorCode: status)))
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:15:16: warning: static property 'device' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
    static let device = MTLCreateSystemDefaultDevice()!
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:16:16: warning: static property 'library' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
    static let library: MTLLibrary = {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:34:77: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_601_4' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
    private lazy var colorConversion601VideoRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_601_4.pointee.videoRange.buffer
                                                                            ^
Accelerate.kvImage_YpCbCrToARGBMatrix_ITU_R_601_4:2:12: note: var declared here
public var kvImage_YpCbCrToARGBMatrix_ITU_R_601_4: UnsafePointer<vImage_YpCbCrToARGBMatrix>!
           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:36:76: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_601_4' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
    private lazy var colorConversion601FullRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_601_4.pointee.buffer
                                                                           ^
Accelerate.kvImage_YpCbCrToARGBMatrix_ITU_R_601_4:2:12: note: var declared here
public var kvImage_YpCbCrToARGBMatrix_ITU_R_601_4: UnsafePointer<vImage_YpCbCrToARGBMatrix>!
           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:38:77: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_709_2' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
    private lazy var colorConversion709VideoRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_709_2.pointee.videoRange.buffer
                                                                            ^
Accelerate.kvImage_YpCbCrToARGBMatrix_ITU_R_709_2:2:12: note: var declared here
public var kvImage_YpCbCrToARGBMatrix_ITU_R_709_2: UnsafePointer<vImage_YpCbCrToARGBMatrix>!
           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:40:76: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_709_2' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
    private lazy var colorConversion709FullRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_709_2.pointee.buffer
                                                                           ^
Accelerate.kvImage_YpCbCrToARGBMatrix_ITU_R_709_2:2:12: note: var declared here
public var kvImage_YpCbCrToARGBMatrix_ITU_R_709_2: UnsafePointer<vImage_YpCbCrToARGBMatrix>!
           ^
[84/91] Compiling KSPlayer VideoToolboxDecode.swift
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Resample.swift:175:25: warning: variable 'source' was never mutated; consider changing to 'let' constant
                    var source = data[i]!
                    ~~~ ^
                    let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift:409:16: warning: static property 'defaultValue' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
    static let defaultValue = AVChannelLayout(order: AV_CHANNEL_ORDER_NATIVE, nb_channels: 2, u: AVChannelLayout.__Unnamed_union_u(mask: swift_AV_CH_LAYOUT_STEREO), opaque: nil)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: warning: static property 'audioPlayerType' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: note: isolate 'audioPlayerType' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Resample.swift:368:33: warning: reference to static property 'audioPlayerType' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        interleaved = KSOptions.audioPlayerType == AudioRendererPlayer.self
                                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: note: static property declared here
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Resample.swift:369:24: warning: reference to static property 'audioPlayerType' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        if !(KSOptions.audioPlayerType == AudioRendererPlayer.self || KSOptions.audioPlayerType == AudioUnitPlayer.self) {
                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: note: static property declared here
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Resample.swift:369:81: warning: reference to static property 'audioPlayerType' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        if !(KSOptions.audioPlayerType == AudioRendererPlayer.self || KSOptions.audioPlayerType == AudioUnitPlayer.self) {
                                                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: note: static property declared here
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:32:19: warning: type 'FFThumbnail' does not conform to the 'Sendable' protocol
        try await Task {
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:15:15: note: consider making struct 'FFThumbnail' conform to the 'Sendable' protocol
public struct FFThumbnail {
              ^
                          : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:32:19: warning: type 'FFThumbnail' does not conform to the 'Sendable' protocol
        try await Task {
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:15:15: note: consider making struct 'FFThumbnail' conform to the 'Sendable' protocol
public struct FFThumbnail {
              ^
                          : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:34:11: warning: type 'FFThumbnail' does not conform to the 'Sendable' protocol
        }.value
          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:15:15: note: consider making struct 'FFThumbnail' conform to the 'Sendable' protocol
public struct FFThumbnail {
              ^
                          : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:33:17: warning: capture of 'self' with non-sendable type 'ThumbnailController' in a `@Sendable` closure
            try getPeeks(for: url, thumbWidth: thumbWidth)
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:24:14: note: class 'ThumbnailController' does not conform to the 'Sendable' protocol
public class ThumbnailController {
             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:72:13: warning: variable 'codecContext' was never mutated; consider changing to 'let' constant
        var codecContext = try videoStream.pointee.codecpar.pointee.createContext(options: nil)
        ~~~ ^
        let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/VideoToolboxDecode.swift:51:27: warning: capture of 'self' with non-sendable type 'VideoToolboxDecode?' in a `@Sendable` closure
                guard let self, !infoFlags.contains(.frameDropped) else {
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/VideoToolboxDecode.swift:13:7: note: class 'VideoToolboxDecode' does not conform to the 'Sendable' protocol
class VideoToolboxDecode: DecodeProtocol {
      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/VideoToolboxDecode.swift:56:28: warning: capture of 'packet' with non-sendable type 'Packet' in a `@Sendable` closure
                        if packet.isKeyFrame {
                           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:195:13: note: class 'Packet' does not conform to the 'Sendable' protocol
final class Packet: ObjectQueueItem {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/VideoToolboxDecode.swift:57:29: warning: capture of 'completionHandler' with non-sendable type '(Result<any MEFrame, any Error>) -> Void' in a `@Sendable` closure
                            completionHandler(.failure(NSError(errorCode: .codecVideoReceiveFrame, avErrorCode: status)))
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/VideoToolboxDecode.swift:57:29: note: a function type must be marked '@Sendable' to conform to 'Sendable'
                            completionHandler(.failure(NSError(errorCode: .codecVideoReceiveFrame, avErrorCode: status)))
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:15:16: warning: static property 'device' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
    static let device = MTLCreateSystemDefaultDevice()!
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:16:16: warning: static property 'library' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
    static let library: MTLLibrary = {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:34:77: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_601_4' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
    private lazy var colorConversion601VideoRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_601_4.pointee.videoRange.buffer
                                                                            ^
Accelerate.kvImage_YpCbCrToARGBMatrix_ITU_R_601_4:2:12: note: var declared here
public var kvImage_YpCbCrToARGBMatrix_ITU_R_601_4: UnsafePointer<vImage_YpCbCrToARGBMatrix>!
           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:36:76: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_601_4' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
    private lazy var colorConversion601FullRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_601_4.pointee.buffer
                                                                           ^
Accelerate.kvImage_YpCbCrToARGBMatrix_ITU_R_601_4:2:12: note: var declared here
public var kvImage_YpCbCrToARGBMatrix_ITU_R_601_4: UnsafePointer<vImage_YpCbCrToARGBMatrix>!
           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:38:77: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_709_2' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
    private lazy var colorConversion709VideoRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_709_2.pointee.videoRange.buffer
                                                                            ^
Accelerate.kvImage_YpCbCrToARGBMatrix_ITU_R_709_2:2:12: note: var declared here
public var kvImage_YpCbCrToARGBMatrix_ITU_R_709_2: UnsafePointer<vImage_YpCbCrToARGBMatrix>!
           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:40:76: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_709_2' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
    private lazy var colorConversion709FullRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_709_2.pointee.buffer
                                                                           ^
Accelerate.kvImage_YpCbCrToARGBMatrix_ITU_R_709_2:2:12: note: var declared here
public var kvImage_YpCbCrToARGBMatrix_ITU_R_709_2: UnsafePointer<vImage_YpCbCrToARGBMatrix>!
           ^
[85/91] Compiling KSPlayer DisplayModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Resample.swift:175:25: warning: variable 'source' was never mutated; consider changing to 'let' constant
                    var source = data[i]!
                    ~~~ ^
                    let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift:409:16: warning: static property 'defaultValue' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
    static let defaultValue = AVChannelLayout(order: AV_CHANNEL_ORDER_NATIVE, nb_channels: 2, u: AVChannelLayout.__Unnamed_union_u(mask: swift_AV_CH_LAYOUT_STEREO), opaque: nil)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: warning: static property 'audioPlayerType' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: note: isolate 'audioPlayerType' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Resample.swift:368:33: warning: reference to static property 'audioPlayerType' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        interleaved = KSOptions.audioPlayerType == AudioRendererPlayer.self
                                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: note: static property declared here
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Resample.swift:369:24: warning: reference to static property 'audioPlayerType' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        if !(KSOptions.audioPlayerType == AudioRendererPlayer.self || KSOptions.audioPlayerType == AudioUnitPlayer.self) {
                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: note: static property declared here
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Resample.swift:369:81: warning: reference to static property 'audioPlayerType' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        if !(KSOptions.audioPlayerType == AudioRendererPlayer.self || KSOptions.audioPlayerType == AudioUnitPlayer.self) {
                                                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: note: static property declared here
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:32:19: warning: type 'FFThumbnail' does not conform to the 'Sendable' protocol
        try await Task {
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:15:15: note: consider making struct 'FFThumbnail' conform to the 'Sendable' protocol
public struct FFThumbnail {
              ^
                          : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:32:19: warning: type 'FFThumbnail' does not conform to the 'Sendable' protocol
        try await Task {
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:15:15: note: consider making struct 'FFThumbnail' conform to the 'Sendable' protocol
public struct FFThumbnail {
              ^
                          : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:34:11: warning: type 'FFThumbnail' does not conform to the 'Sendable' protocol
        }.value
          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:15:15: note: consider making struct 'FFThumbnail' conform to the 'Sendable' protocol
public struct FFThumbnail {
              ^
                          : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:33:17: warning: capture of 'self' with non-sendable type 'ThumbnailController' in a `@Sendable` closure
            try getPeeks(for: url, thumbWidth: thumbWidth)
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:24:14: note: class 'ThumbnailController' does not conform to the 'Sendable' protocol
public class ThumbnailController {
             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:72:13: warning: variable 'codecContext' was never mutated; consider changing to 'let' constant
        var codecContext = try videoStream.pointee.codecpar.pointee.createContext(options: nil)
        ~~~ ^
        let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/VideoToolboxDecode.swift:51:27: warning: capture of 'self' with non-sendable type 'VideoToolboxDecode?' in a `@Sendable` closure
                guard let self, !infoFlags.contains(.frameDropped) else {
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/VideoToolboxDecode.swift:13:7: note: class 'VideoToolboxDecode' does not conform to the 'Sendable' protocol
class VideoToolboxDecode: DecodeProtocol {
      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/VideoToolboxDecode.swift:56:28: warning: capture of 'packet' with non-sendable type 'Packet' in a `@Sendable` closure
                        if packet.isKeyFrame {
                           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:195:13: note: class 'Packet' does not conform to the 'Sendable' protocol
final class Packet: ObjectQueueItem {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/VideoToolboxDecode.swift:57:29: warning: capture of 'completionHandler' with non-sendable type '(Result<any MEFrame, any Error>) -> Void' in a `@Sendable` closure
                            completionHandler(.failure(NSError(errorCode: .codecVideoReceiveFrame, avErrorCode: status)))
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/VideoToolboxDecode.swift:57:29: note: a function type must be marked '@Sendable' to conform to 'Sendable'
                            completionHandler(.failure(NSError(errorCode: .codecVideoReceiveFrame, avErrorCode: status)))
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:15:16: warning: static property 'device' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
    static let device = MTLCreateSystemDefaultDevice()!
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:16:16: warning: static property 'library' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
    static let library: MTLLibrary = {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:34:77: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_601_4' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
    private lazy var colorConversion601VideoRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_601_4.pointee.videoRange.buffer
                                                                            ^
Accelerate.kvImage_YpCbCrToARGBMatrix_ITU_R_601_4:2:12: note: var declared here
public var kvImage_YpCbCrToARGBMatrix_ITU_R_601_4: UnsafePointer<vImage_YpCbCrToARGBMatrix>!
           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:36:76: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_601_4' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
    private lazy var colorConversion601FullRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_601_4.pointee.buffer
                                                                           ^
Accelerate.kvImage_YpCbCrToARGBMatrix_ITU_R_601_4:2:12: note: var declared here
public var kvImage_YpCbCrToARGBMatrix_ITU_R_601_4: UnsafePointer<vImage_YpCbCrToARGBMatrix>!
           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:38:77: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_709_2' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
    private lazy var colorConversion709VideoRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_709_2.pointee.videoRange.buffer
                                                                            ^
Accelerate.kvImage_YpCbCrToARGBMatrix_ITU_R_709_2:2:12: note: var declared here
public var kvImage_YpCbCrToARGBMatrix_ITU_R_709_2: UnsafePointer<vImage_YpCbCrToARGBMatrix>!
           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:40:76: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_709_2' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
    private lazy var colorConversion709FullRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_709_2.pointee.buffer
                                                                           ^
Accelerate.kvImage_YpCbCrToARGBMatrix_ITU_R_709_2:2:12: note: var declared here
public var kvImage_YpCbCrToARGBMatrix_ITU_R_709_2: UnsafePointer<vImage_YpCbCrToARGBMatrix>!
           ^
[86/91] Compiling KSPlayer MetalRender.swift
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Resample.swift:175:25: warning: variable 'source' was never mutated; consider changing to 'let' constant
                    var source = data[i]!
                    ~~~ ^
                    let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift:409:16: warning: static property 'defaultValue' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
    static let defaultValue = AVChannelLayout(order: AV_CHANNEL_ORDER_NATIVE, nb_channels: 2, u: AVChannelLayout.__Unnamed_union_u(mask: swift_AV_CH_LAYOUT_STEREO), opaque: nil)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: warning: static property 'audioPlayerType' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: note: isolate 'audioPlayerType' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Resample.swift:368:33: warning: reference to static property 'audioPlayerType' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        interleaved = KSOptions.audioPlayerType == AudioRendererPlayer.self
                                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: note: static property declared here
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Resample.swift:369:24: warning: reference to static property 'audioPlayerType' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        if !(KSOptions.audioPlayerType == AudioRendererPlayer.self || KSOptions.audioPlayerType == AudioUnitPlayer.self) {
                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: note: static property declared here
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Resample.swift:369:81: warning: reference to static property 'audioPlayerType' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        if !(KSOptions.audioPlayerType == AudioRendererPlayer.self || KSOptions.audioPlayerType == AudioUnitPlayer.self) {
                                                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:85:16: note: static property declared here
    static var audioPlayerType: AudioOutput.Type = AudioEnginePlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:32:19: warning: type 'FFThumbnail' does not conform to the 'Sendable' protocol
        try await Task {
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:15:15: note: consider making struct 'FFThumbnail' conform to the 'Sendable' protocol
public struct FFThumbnail {
              ^
                          : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:32:19: warning: type 'FFThumbnail' does not conform to the 'Sendable' protocol
        try await Task {
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:15:15: note: consider making struct 'FFThumbnail' conform to the 'Sendable' protocol
public struct FFThumbnail {
              ^
                          : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:34:11: warning: type 'FFThumbnail' does not conform to the 'Sendable' protocol
        }.value
          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:15:15: note: consider making struct 'FFThumbnail' conform to the 'Sendable' protocol
public struct FFThumbnail {
              ^
                          : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:33:17: warning: capture of 'self' with non-sendable type 'ThumbnailController' in a `@Sendable` closure
            try getPeeks(for: url, thumbWidth: thumbWidth)
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:24:14: note: class 'ThumbnailController' does not conform to the 'Sendable' protocol
public class ThumbnailController {
             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/ThumbnailController.swift:72:13: warning: variable 'codecContext' was never mutated; consider changing to 'let' constant
        var codecContext = try videoStream.pointee.codecpar.pointee.createContext(options: nil)
        ~~~ ^
        let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/VideoToolboxDecode.swift:51:27: warning: capture of 'self' with non-sendable type 'VideoToolboxDecode?' in a `@Sendable` closure
                guard let self, !infoFlags.contains(.frameDropped) else {
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/VideoToolboxDecode.swift:13:7: note: class 'VideoToolboxDecode' does not conform to the 'Sendable' protocol
class VideoToolboxDecode: DecodeProtocol {
      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/VideoToolboxDecode.swift:56:28: warning: capture of 'packet' with non-sendable type 'Packet' in a `@Sendable` closure
                        if packet.isKeyFrame {
                           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/Model.swift:195:13: note: class 'Packet' does not conform to the 'Sendable' protocol
final class Packet: ObjectQueueItem {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/VideoToolboxDecode.swift:57:29: warning: capture of 'completionHandler' with non-sendable type '(Result<any MEFrame, any Error>) -> Void' in a `@Sendable` closure
                            completionHandler(.failure(NSError(errorCode: .codecVideoReceiveFrame, avErrorCode: status)))
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/VideoToolboxDecode.swift:57:29: note: a function type must be marked '@Sendable' to conform to 'Sendable'
                            completionHandler(.failure(NSError(errorCode: .codecVideoReceiveFrame, avErrorCode: status)))
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:15:16: warning: static property 'device' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
    static let device = MTLCreateSystemDefaultDevice()!
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:16:16: warning: static property 'library' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
    static let library: MTLLibrary = {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:34:77: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_601_4' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
    private lazy var colorConversion601VideoRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_601_4.pointee.videoRange.buffer
                                                                            ^
Accelerate.kvImage_YpCbCrToARGBMatrix_ITU_R_601_4:2:12: note: var declared here
public var kvImage_YpCbCrToARGBMatrix_ITU_R_601_4: UnsafePointer<vImage_YpCbCrToARGBMatrix>!
           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:36:76: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_601_4' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
    private lazy var colorConversion601FullRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_601_4.pointee.buffer
                                                                           ^
Accelerate.kvImage_YpCbCrToARGBMatrix_ITU_R_601_4:2:12: note: var declared here
public var kvImage_YpCbCrToARGBMatrix_ITU_R_601_4: UnsafePointer<vImage_YpCbCrToARGBMatrix>!
           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:38:77: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_709_2' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
    private lazy var colorConversion709VideoRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_709_2.pointee.videoRange.buffer
                                                                            ^
Accelerate.kvImage_YpCbCrToARGBMatrix_ITU_R_709_2:2:12: note: var declared here
public var kvImage_YpCbCrToARGBMatrix_ITU_R_709_2: UnsafePointer<vImage_YpCbCrToARGBMatrix>!
           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift:40:76: warning: reference to var 'kvImage_YpCbCrToARGBMatrix_ITU_R_709_2' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
    private lazy var colorConversion709FullRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_709_2.pointee.buffer
                                                                           ^
Accelerate.kvImage_YpCbCrToARGBMatrix_ITU_R_709_2:2:12: note: var declared here
public var kvImage_YpCbCrToARGBMatrix_ITU_R_709_2: UnsafePointer<vImage_YpCbCrToARGBMatrix>!
           ^
[87/91] Compiling KSPlayer PlayerFullScreenViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/SeekView.swift:67:17: warning: main actor-isolated instance method 'set(text:isAdd:)' cannot be used to satisfy nonisolated protocol requirement
    public func set(text: String, isAdd: Bool) {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/SeekView.swift:67:17: note: add 'nonisolated' to 'set(text:isAdd:)' to make this instance method not isolated to the actor
    public func set(text: String, isAdd: Bool) {
                ^
    nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/SeekView.swift:13:10: note: mark the protocol requirement 'set(text:isAdd:)' 'async' to allow actor-isolated conformances
    func set(text: String, isAdd: Bool)
         ^
                                        async
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: warning: static property 'normal' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: note: isolate 'normal' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:52:109: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
                toolBar.definitionButton.setTitle(resource.definitions[currentDefinition].definition, for: .normal)
                                                                                                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: note: static property declared here
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:954:16: warning: static property 'topBarShowInCase' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var topBarShowInCase = KSPlayerTopBarShowCase.always
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:954:16: note: isolate 'topBarShowInCase' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var topBarShowInCase = KSPlayerTopBarShowCase.always
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:956:16: warning: static property 'animateDelayTimeInterval' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var animateDelayTimeInterval = TimeInterval(5)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:956:16: note: isolate 'animateDelayTimeInterval' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var animateDelayTimeInterval = TimeInterval(5)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:958:16: warning: static property 'enableBrightnessGestures' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var enableBrightnessGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:958:16: note: isolate 'enableBrightnessGestures' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var enableBrightnessGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:960:16: warning: static property 'enableVolumeGestures' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var enableVolumeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:960:16: note: isolate 'enableVolumeGestures' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var enableVolumeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: warning: static property 'enablePlaytimeGestures' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var enablePlaytimeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: note: isolate 'enablePlaytimeGestures' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var enablePlaytimeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:965:16: warning: static property 'canBackgroundPlay' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var canBackgroundPlay = false
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:965:16: note: isolate 'canBackgroundPlay' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var canBackgroundPlay = false
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:188:42: warning: reference to static property 'topBarShowInCase' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        topMaskView.isHidden = KSOptions.topBarShowInCase != .always
                                         ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:954:16: note: static property declared here
    static var topBarShowInCase = KSPlayerTopBarShowCase.always
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:217:75: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            replayButton.setImage(UIImage(systemName: "play.fill"), for: .normal)
                                                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: note: static property declared here
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:361:27: warning: static property 'selected' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
        public static var selected = State(rawValue: 1 << 3)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:361:27: note: isolate 'selected' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
        public static var selected = State(rawValue: 1 << 3)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:218:88: warning: reference to static property 'selected' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            replayButton.setImage(UIImage(systemName: "arrow.counterclockwise"), for: .selected)
                                                                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:361:27: note: static property declared here
        public static var selected = State(rawValue: 1 << 3)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:219:73: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            lockButton.setImage(UIImage(systemName: "lock.open"), for: .normal)
                                                                        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: note: static property declared here
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:220:68: warning: reference to static property 'selected' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            lockButton.setImage(UIImage(systemName: "lock"), for: .selected)
                                                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:361:27: note: static property declared here
        public static var selected = State(rawValue: 1 << 3)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:402:27: warning: reference to static property 'enablePlaytimeGestures' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            if !KSOptions.enablePlaytimeGestures {
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: note: static property declared here
    static var enablePlaytimeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:426:54: warning: reference to static property 'enablePlaytimeGestures' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        if scrollDirection == .horizontal, KSOptions.enablePlaytimeGestures {
                                                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: note: static property declared here
    static var enablePlaytimeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:621:46: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
                button.setTitle(title, for: .normal)
                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: note: static property declared here
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: warning: static property 'textColor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    public static var textColor: Color = .white
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: note: isolate 'textColor' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    public static var textColor: Color = .white
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:687:61: warning: reference to static property 'textColor' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            subtitleLabel.textColor = UIColor(SubtitleModel.textColor)
                                                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: note: static property declared here
    public static var textColor: Color = .white
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: warning: static property 'textBackgroundColor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    public static var textBackgroundColor: Color = .clear
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: note: isolate 'textBackgroundColor' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    public static var textBackgroundColor: Color = .clear
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:688:70: warning: reference to static property 'textBackgroundColor' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            subtitleBackView.backgroundColor = UIColor(SubtitleModel.textBackgroundColor)
                                                                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: note: static property declared here
    public static var textBackgroundColor: Color = .clear
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:729:80: warning: reference to static property 'animateDelayTimeInterval' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + KSOptions.animateDelayTimeInterval,
                                                                               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:956:16: note: static property declared here
    static var animateDelayTimeInterval = TimeInterval(5)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:746:88: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            toolBar.timeSlider.setThumbImage(UIImage(systemName: "circle.fill"), for: .normal)
                                                                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: note: static property declared here
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:359:27: warning: static property 'highlighted' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
        public static var highlighted = State(rawValue: 1 << 1)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:359:27: note: isolate 'highlighted' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
        public static var highlighted = State(rawValue: 1 << 1)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:748:88: warning: reference to static property 'highlighted' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            toolBar.timeSlider.setThumbImage(UIImage(systemName: "circle.fill"), for: .highlighted)
                                                                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:359:27: note: static property declared here
        public static var highlighted = State(rawValue: 1 << 1)
                          ^
[88/91] Compiling KSPlayer PlayerTransitionAnimator.swift
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/SeekView.swift:67:17: warning: main actor-isolated instance method 'set(text:isAdd:)' cannot be used to satisfy nonisolated protocol requirement
    public func set(text: String, isAdd: Bool) {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/SeekView.swift:67:17: note: add 'nonisolated' to 'set(text:isAdd:)' to make this instance method not isolated to the actor
    public func set(text: String, isAdd: Bool) {
                ^
    nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/SeekView.swift:13:10: note: mark the protocol requirement 'set(text:isAdd:)' 'async' to allow actor-isolated conformances
    func set(text: String, isAdd: Bool)
         ^
                                        async
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: warning: static property 'normal' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: note: isolate 'normal' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:52:109: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
                toolBar.definitionButton.setTitle(resource.definitions[currentDefinition].definition, for: .normal)
                                                                                                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: note: static property declared here
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:954:16: warning: static property 'topBarShowInCase' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var topBarShowInCase = KSPlayerTopBarShowCase.always
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:954:16: note: isolate 'topBarShowInCase' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var topBarShowInCase = KSPlayerTopBarShowCase.always
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:956:16: warning: static property 'animateDelayTimeInterval' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var animateDelayTimeInterval = TimeInterval(5)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:956:16: note: isolate 'animateDelayTimeInterval' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var animateDelayTimeInterval = TimeInterval(5)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:958:16: warning: static property 'enableBrightnessGestures' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var enableBrightnessGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:958:16: note: isolate 'enableBrightnessGestures' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var enableBrightnessGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:960:16: warning: static property 'enableVolumeGestures' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var enableVolumeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:960:16: note: isolate 'enableVolumeGestures' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var enableVolumeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: warning: static property 'enablePlaytimeGestures' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var enablePlaytimeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: note: isolate 'enablePlaytimeGestures' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var enablePlaytimeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:965:16: warning: static property 'canBackgroundPlay' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var canBackgroundPlay = false
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:965:16: note: isolate 'canBackgroundPlay' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var canBackgroundPlay = false
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:188:42: warning: reference to static property 'topBarShowInCase' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        topMaskView.isHidden = KSOptions.topBarShowInCase != .always
                                         ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:954:16: note: static property declared here
    static var topBarShowInCase = KSPlayerTopBarShowCase.always
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:217:75: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            replayButton.setImage(UIImage(systemName: "play.fill"), for: .normal)
                                                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: note: static property declared here
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:361:27: warning: static property 'selected' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
        public static var selected = State(rawValue: 1 << 3)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:361:27: note: isolate 'selected' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
        public static var selected = State(rawValue: 1 << 3)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:218:88: warning: reference to static property 'selected' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            replayButton.setImage(UIImage(systemName: "arrow.counterclockwise"), for: .selected)
                                                                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:361:27: note: static property declared here
        public static var selected = State(rawValue: 1 << 3)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:219:73: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            lockButton.setImage(UIImage(systemName: "lock.open"), for: .normal)
                                                                        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: note: static property declared here
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:220:68: warning: reference to static property 'selected' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            lockButton.setImage(UIImage(systemName: "lock"), for: .selected)
                                                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:361:27: note: static property declared here
        public static var selected = State(rawValue: 1 << 3)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:402:27: warning: reference to static property 'enablePlaytimeGestures' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            if !KSOptions.enablePlaytimeGestures {
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: note: static property declared here
    static var enablePlaytimeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:426:54: warning: reference to static property 'enablePlaytimeGestures' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        if scrollDirection == .horizontal, KSOptions.enablePlaytimeGestures {
                                                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: note: static property declared here
    static var enablePlaytimeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:621:46: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
                button.setTitle(title, for: .normal)
                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: note: static property declared here
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: warning: static property 'textColor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    public static var textColor: Color = .white
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: note: isolate 'textColor' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    public static var textColor: Color = .white
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:687:61: warning: reference to static property 'textColor' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            subtitleLabel.textColor = UIColor(SubtitleModel.textColor)
                                                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: note: static property declared here
    public static var textColor: Color = .white
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: warning: static property 'textBackgroundColor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    public static var textBackgroundColor: Color = .clear
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: note: isolate 'textBackgroundColor' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    public static var textBackgroundColor: Color = .clear
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:688:70: warning: reference to static property 'textBackgroundColor' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            subtitleBackView.backgroundColor = UIColor(SubtitleModel.textBackgroundColor)
                                                                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: note: static property declared here
    public static var textBackgroundColor: Color = .clear
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:729:80: warning: reference to static property 'animateDelayTimeInterval' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + KSOptions.animateDelayTimeInterval,
                                                                               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:956:16: note: static property declared here
    static var animateDelayTimeInterval = TimeInterval(5)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:746:88: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            toolBar.timeSlider.setThumbImage(UIImage(systemName: "circle.fill"), for: .normal)
                                                                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: note: static property declared here
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:359:27: warning: static property 'highlighted' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
        public static var highlighted = State(rawValue: 1 << 1)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:359:27: note: isolate 'highlighted' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
        public static var highlighted = State(rawValue: 1 << 1)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:748:88: warning: reference to static property 'highlighted' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            toolBar.timeSlider.setThumbImage(UIImage(systemName: "circle.fill"), for: .highlighted)
                                                                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:359:27: note: static property declared here
        public static var highlighted = State(rawValue: 1 << 1)
                          ^
[89/91] Compiling KSPlayer SeekView.swift
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/SeekView.swift:67:17: warning: main actor-isolated instance method 'set(text:isAdd:)' cannot be used to satisfy nonisolated protocol requirement
    public func set(text: String, isAdd: Bool) {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/SeekView.swift:67:17: note: add 'nonisolated' to 'set(text:isAdd:)' to make this instance method not isolated to the actor
    public func set(text: String, isAdd: Bool) {
                ^
    nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/SeekView.swift:13:10: note: mark the protocol requirement 'set(text:isAdd:)' 'async' to allow actor-isolated conformances
    func set(text: String, isAdd: Bool)
         ^
                                        async
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: warning: static property 'normal' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: note: isolate 'normal' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:52:109: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
                toolBar.definitionButton.setTitle(resource.definitions[currentDefinition].definition, for: .normal)
                                                                                                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: note: static property declared here
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:954:16: warning: static property 'topBarShowInCase' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var topBarShowInCase = KSPlayerTopBarShowCase.always
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:954:16: note: isolate 'topBarShowInCase' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var topBarShowInCase = KSPlayerTopBarShowCase.always
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:956:16: warning: static property 'animateDelayTimeInterval' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var animateDelayTimeInterval = TimeInterval(5)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:956:16: note: isolate 'animateDelayTimeInterval' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var animateDelayTimeInterval = TimeInterval(5)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:958:16: warning: static property 'enableBrightnessGestures' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var enableBrightnessGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:958:16: note: isolate 'enableBrightnessGestures' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var enableBrightnessGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:960:16: warning: static property 'enableVolumeGestures' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var enableVolumeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:960:16: note: isolate 'enableVolumeGestures' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var enableVolumeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: warning: static property 'enablePlaytimeGestures' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var enablePlaytimeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: note: isolate 'enablePlaytimeGestures' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var enablePlaytimeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:965:16: warning: static property 'canBackgroundPlay' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var canBackgroundPlay = false
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:965:16: note: isolate 'canBackgroundPlay' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var canBackgroundPlay = false
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:188:42: warning: reference to static property 'topBarShowInCase' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        topMaskView.isHidden = KSOptions.topBarShowInCase != .always
                                         ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:954:16: note: static property declared here
    static var topBarShowInCase = KSPlayerTopBarShowCase.always
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:217:75: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            replayButton.setImage(UIImage(systemName: "play.fill"), for: .normal)
                                                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: note: static property declared here
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:361:27: warning: static property 'selected' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
        public static var selected = State(rawValue: 1 << 3)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:361:27: note: isolate 'selected' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
        public static var selected = State(rawValue: 1 << 3)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:218:88: warning: reference to static property 'selected' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            replayButton.setImage(UIImage(systemName: "arrow.counterclockwise"), for: .selected)
                                                                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:361:27: note: static property declared here
        public static var selected = State(rawValue: 1 << 3)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:219:73: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            lockButton.setImage(UIImage(systemName: "lock.open"), for: .normal)
                                                                        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: note: static property declared here
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:220:68: warning: reference to static property 'selected' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            lockButton.setImage(UIImage(systemName: "lock"), for: .selected)
                                                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:361:27: note: static property declared here
        public static var selected = State(rawValue: 1 << 3)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:402:27: warning: reference to static property 'enablePlaytimeGestures' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            if !KSOptions.enablePlaytimeGestures {
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: note: static property declared here
    static var enablePlaytimeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:426:54: warning: reference to static property 'enablePlaytimeGestures' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        if scrollDirection == .horizontal, KSOptions.enablePlaytimeGestures {
                                                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: note: static property declared here
    static var enablePlaytimeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:621:46: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
                button.setTitle(title, for: .normal)
                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: note: static property declared here
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: warning: static property 'textColor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    public static var textColor: Color = .white
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: note: isolate 'textColor' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    public static var textColor: Color = .white
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:687:61: warning: reference to static property 'textColor' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            subtitleLabel.textColor = UIColor(SubtitleModel.textColor)
                                                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: note: static property declared here
    public static var textColor: Color = .white
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: warning: static property 'textBackgroundColor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    public static var textBackgroundColor: Color = .clear
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: note: isolate 'textBackgroundColor' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    public static var textBackgroundColor: Color = .clear
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:688:70: warning: reference to static property 'textBackgroundColor' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            subtitleBackView.backgroundColor = UIColor(SubtitleModel.textBackgroundColor)
                                                                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: note: static property declared here
    public static var textBackgroundColor: Color = .clear
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:729:80: warning: reference to static property 'animateDelayTimeInterval' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + KSOptions.animateDelayTimeInterval,
                                                                               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:956:16: note: static property declared here
    static var animateDelayTimeInterval = TimeInterval(5)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:746:88: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            toolBar.timeSlider.setThumbImage(UIImage(systemName: "circle.fill"), for: .normal)
                                                                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: note: static property declared here
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:359:27: warning: static property 'highlighted' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
        public static var highlighted = State(rawValue: 1 << 1)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:359:27: note: isolate 'highlighted' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
        public static var highlighted = State(rawValue: 1 << 1)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:748:88: warning: reference to static property 'highlighted' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            toolBar.timeSlider.setThumbImage(UIImage(systemName: "circle.fill"), for: .highlighted)
                                                                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:359:27: note: static property declared here
        public static var highlighted = State(rawValue: 1 << 1)
                          ^
[90/91] Compiling KSPlayer VideoPlayerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/SeekView.swift:67:17: warning: main actor-isolated instance method 'set(text:isAdd:)' cannot be used to satisfy nonisolated protocol requirement
    public func set(text: String, isAdd: Bool) {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/SeekView.swift:67:17: note: add 'nonisolated' to 'set(text:isAdd:)' to make this instance method not isolated to the actor
    public func set(text: String, isAdd: Bool) {
                ^
    nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/SeekView.swift:13:10: note: mark the protocol requirement 'set(text:isAdd:)' 'async' to allow actor-isolated conformances
    func set(text: String, isAdd: Bool)
         ^
                                        async
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: warning: static property 'normal' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: note: isolate 'normal' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:52:109: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
                toolBar.definitionButton.setTitle(resource.definitions[currentDefinition].definition, for: .normal)
                                                                                                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: note: static property declared here
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:954:16: warning: static property 'topBarShowInCase' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var topBarShowInCase = KSPlayerTopBarShowCase.always
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:954:16: note: isolate 'topBarShowInCase' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var topBarShowInCase = KSPlayerTopBarShowCase.always
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:956:16: warning: static property 'animateDelayTimeInterval' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var animateDelayTimeInterval = TimeInterval(5)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:956:16: note: isolate 'animateDelayTimeInterval' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var animateDelayTimeInterval = TimeInterval(5)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:958:16: warning: static property 'enableBrightnessGestures' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var enableBrightnessGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:958:16: note: isolate 'enableBrightnessGestures' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var enableBrightnessGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:960:16: warning: static property 'enableVolumeGestures' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var enableVolumeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:960:16: note: isolate 'enableVolumeGestures' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var enableVolumeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: warning: static property 'enablePlaytimeGestures' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var enablePlaytimeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: note: isolate 'enablePlaytimeGestures' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var enablePlaytimeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:965:16: warning: static property 'canBackgroundPlay' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var canBackgroundPlay = false
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:965:16: note: isolate 'canBackgroundPlay' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var canBackgroundPlay = false
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:188:42: warning: reference to static property 'topBarShowInCase' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        topMaskView.isHidden = KSOptions.topBarShowInCase != .always
                                         ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:954:16: note: static property declared here
    static var topBarShowInCase = KSPlayerTopBarShowCase.always
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:217:75: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            replayButton.setImage(UIImage(systemName: "play.fill"), for: .normal)
                                                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: note: static property declared here
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:361:27: warning: static property 'selected' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
        public static var selected = State(rawValue: 1 << 3)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:361:27: note: isolate 'selected' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
        public static var selected = State(rawValue: 1 << 3)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:218:88: warning: reference to static property 'selected' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            replayButton.setImage(UIImage(systemName: "arrow.counterclockwise"), for: .selected)
                                                                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:361:27: note: static property declared here
        public static var selected = State(rawValue: 1 << 3)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:219:73: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            lockButton.setImage(UIImage(systemName: "lock.open"), for: .normal)
                                                                        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: note: static property declared here
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:220:68: warning: reference to static property 'selected' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            lockButton.setImage(UIImage(systemName: "lock"), for: .selected)
                                                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:361:27: note: static property declared here
        public static var selected = State(rawValue: 1 << 3)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:402:27: warning: reference to static property 'enablePlaytimeGestures' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            if !KSOptions.enablePlaytimeGestures {
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: note: static property declared here
    static var enablePlaytimeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:426:54: warning: reference to static property 'enablePlaytimeGestures' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        if scrollDirection == .horizontal, KSOptions.enablePlaytimeGestures {
                                                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: note: static property declared here
    static var enablePlaytimeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:621:46: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
                button.setTitle(title, for: .normal)
                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: note: static property declared here
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: warning: static property 'textColor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    public static var textColor: Color = .white
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: note: isolate 'textColor' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    public static var textColor: Color = .white
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:687:61: warning: reference to static property 'textColor' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            subtitleLabel.textColor = UIColor(SubtitleModel.textColor)
                                                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: note: static property declared here
    public static var textColor: Color = .white
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: warning: static property 'textBackgroundColor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    public static var textBackgroundColor: Color = .clear
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: note: isolate 'textBackgroundColor' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    public static var textBackgroundColor: Color = .clear
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:688:70: warning: reference to static property 'textBackgroundColor' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            subtitleBackView.backgroundColor = UIColor(SubtitleModel.textBackgroundColor)
                                                                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: note: static property declared here
    public static var textBackgroundColor: Color = .clear
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:729:80: warning: reference to static property 'animateDelayTimeInterval' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + KSOptions.animateDelayTimeInterval,
                                                                               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:956:16: note: static property declared here
    static var animateDelayTimeInterval = TimeInterval(5)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:746:88: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            toolBar.timeSlider.setThumbImage(UIImage(systemName: "circle.fill"), for: .normal)
                                                                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: note: static property declared here
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:359:27: warning: static property 'highlighted' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
        public static var highlighted = State(rawValue: 1 << 1)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:359:27: note: isolate 'highlighted' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
        public static var highlighted = State(rawValue: 1 << 1)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:748:88: warning: reference to static property 'highlighted' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            toolBar.timeSlider.setThumbImage(UIImage(systemName: "circle.fill"), for: .highlighted)
                                                                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:359:27: note: static property declared here
        public static var highlighted = State(rawValue: 1 << 1)
                          ^
[91/91] Compiling KSPlayer resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/SeekView.swift:67:17: warning: main actor-isolated instance method 'set(text:isAdd:)' cannot be used to satisfy nonisolated protocol requirement
    public func set(text: String, isAdd: Bool) {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/SeekView.swift:67:17: note: add 'nonisolated' to 'set(text:isAdd:)' to make this instance method not isolated to the actor
    public func set(text: String, isAdd: Bool) {
                ^
    nonisolated
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/SeekView.swift:13:10: note: mark the protocol requirement 'set(text:isAdd:)' 'async' to allow actor-isolated conformances
    func set(text: String, isAdd: Bool)
         ^
                                        async
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: warning: static property 'normal' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: note: isolate 'normal' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:52:109: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
                toolBar.definitionButton.setTitle(resource.definitions[currentDefinition].definition, for: .normal)
                                                                                                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: note: static property declared here
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:954:16: warning: static property 'topBarShowInCase' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var topBarShowInCase = KSPlayerTopBarShowCase.always
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:954:16: note: isolate 'topBarShowInCase' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var topBarShowInCase = KSPlayerTopBarShowCase.always
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:956:16: warning: static property 'animateDelayTimeInterval' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var animateDelayTimeInterval = TimeInterval(5)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:956:16: note: isolate 'animateDelayTimeInterval' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var animateDelayTimeInterval = TimeInterval(5)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:958:16: warning: static property 'enableBrightnessGestures' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var enableBrightnessGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:958:16: note: isolate 'enableBrightnessGestures' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var enableBrightnessGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:960:16: warning: static property 'enableVolumeGestures' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var enableVolumeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:960:16: note: isolate 'enableVolumeGestures' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var enableVolumeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: warning: static property 'enablePlaytimeGestures' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var enablePlaytimeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: note: isolate 'enablePlaytimeGestures' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var enablePlaytimeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:965:16: warning: static property 'canBackgroundPlay' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    static var canBackgroundPlay = false
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:965:16: note: isolate 'canBackgroundPlay' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    static var canBackgroundPlay = false
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:188:42: warning: reference to static property 'topBarShowInCase' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        topMaskView.isHidden = KSOptions.topBarShowInCase != .always
                                         ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:954:16: note: static property declared here
    static var topBarShowInCase = KSPlayerTopBarShowCase.always
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:217:75: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            replayButton.setImage(UIImage(systemName: "play.fill"), for: .normal)
                                                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: note: static property declared here
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:361:27: warning: static property 'selected' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
        public static var selected = State(rawValue: 1 << 3)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:361:27: note: isolate 'selected' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
        public static var selected = State(rawValue: 1 << 3)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:218:88: warning: reference to static property 'selected' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            replayButton.setImage(UIImage(systemName: "arrow.counterclockwise"), for: .selected)
                                                                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:361:27: note: static property declared here
        public static var selected = State(rawValue: 1 << 3)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:219:73: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            lockButton.setImage(UIImage(systemName: "lock.open"), for: .normal)
                                                                        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: note: static property declared here
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:220:68: warning: reference to static property 'selected' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            lockButton.setImage(UIImage(systemName: "lock"), for: .selected)
                                                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:361:27: note: static property declared here
        public static var selected = State(rawValue: 1 << 3)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:402:27: warning: reference to static property 'enablePlaytimeGestures' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            if !KSOptions.enablePlaytimeGestures {
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: note: static property declared here
    static var enablePlaytimeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:426:54: warning: reference to static property 'enablePlaytimeGestures' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        if scrollDirection == .horizontal, KSOptions.enablePlaytimeGestures {
                                                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: note: static property declared here
    static var enablePlaytimeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:621:46: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
                button.setTitle(title, for: .normal)
                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: note: static property declared here
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: warning: static property 'textColor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    public static var textColor: Color = .white
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: note: isolate 'textColor' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    public static var textColor: Color = .white
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:687:61: warning: reference to static property 'textColor' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            subtitleLabel.textColor = UIColor(SubtitleModel.textColor)
                                                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: note: static property declared here
    public static var textColor: Color = .white
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: warning: static property 'textBackgroundColor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
    public static var textBackgroundColor: Color = .clear
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: note: isolate 'textBackgroundColor' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
    public static var textBackgroundColor: Color = .clear
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:688:70: warning: reference to static property 'textBackgroundColor' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            subtitleBackView.backgroundColor = UIColor(SubtitleModel.textBackgroundColor)
                                                                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: note: static property declared here
    public static var textBackgroundColor: Color = .clear
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:729:80: warning: reference to static property 'animateDelayTimeInterval' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
        DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + KSOptions.animateDelayTimeInterval,
                                                                               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:956:16: note: static property declared here
    static var animateDelayTimeInterval = TimeInterval(5)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:746:88: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            toolBar.timeSlider.setThumbImage(UIImage(systemName: "circle.fill"), for: .normal)
                                                                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:358:27: note: static property declared here
        public static var normal = State(rawValue: 1 << 0)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:359:27: warning: static property 'highlighted' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
        public static var highlighted = State(rawValue: 1 << 1)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:359:27: note: isolate 'highlighted' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
        public static var highlighted = State(rawValue: 1 << 1)
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:748:88: warning: reference to static property 'highlighted' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
            toolBar.timeSlider.setThumbImage(UIImage(systemName: "circle.fill"), for: .highlighted)
                                                                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift:359:27: note: static property declared here
        public static var highlighted = State(rawValue: 1 << 1)
                          ^
Build complete! (46.16s)
Fetching https://github.com/kingslay/FFmpegKit.git
[1/8612] Fetching ffmpegkit
Fetched https://github.com/kingslay/FFmpegKit.git from cache (25.91s)
Computing version for https://github.com/kingslay/FFmpegKit.git
Computed https://github.com/kingslay/FFmpegKit.git at 6.1.3 (0.53s)
Creating working copy for https://github.com/kingslay/FFmpegKit.git
Working copy of https://github.com/kingslay/FFmpegKit.git resolved at 6.1.3
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install sdl2 using your system-packager:
    brew install sdl2
Build complete.
{
  "default_localization" : "en",
  "dependencies" : [
    {
      "identity" : "ffmpegkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.1.3",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kingslay/FFmpegKit.git"
    }
  ],
  "manifest_display_name" : "KSPlayer",
  "name" : "KSPlayer",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "KSPlayer",
      "targets" : [
        "KSPlayer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "KSPlayerTests",
      "module_type" : "SwiftTarget",
      "name" : "KSPlayerTests",
      "path" : "Tests/KSPlayerTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/KSPlayerTests/Resources/test.m3u",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AudioTest.swift",
        "KSAVPlayerTest.swift",
        "KSMEPlayerTest.swift",
        "KSPlayerLayerTest.swift",
        "M3UParseTest.swift",
        "SubtitleTest.swift",
        "VideoPlayerControllerTest.swift",
        "VideoPlayerViewTest.swift"
      ],
      "target_dependencies" : [
        "KSPlayer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KSPlayer",
      "module_type" : "SwiftTarget",
      "name" : "KSPlayer",
      "path" : "Sources/KSPlayer",
      "product_dependencies" : [
        "FFmpegKit"
      ],
      "product_memberships" : [
        "KSPlayer"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/Shaders.metal",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AVPlayer/KSAVPlayer.swift",
        "AVPlayer/KSOptions.swift",
        "AVPlayer/KSPictureInPictureController.swift",
        "AVPlayer/KSPlayerLayer.swift",
        "AVPlayer/KSVideoPlayer.swift",
        "AVPlayer/MediaPlayerProtocol.swift",
        "AVPlayer/PlayerDefines.swift",
        "Audio/AudioPlayerView.swift",
        "Core/AppKitExtend.swift",
        "Core/PlayerToolBar.swift",
        "Core/PlayerView.swift",
        "Core/UIKitExtend.swift",
        "Core/UXKit.swift",
        "Core/Utility.swift",
        "MEPlayer/AVFFmpegExtension.swift",
        "MEPlayer/AVFoundationExtension.swift",
        "MEPlayer/AudioEnginePlayer.swift",
        "MEPlayer/AudioGraphPlayer.swift",
        "MEPlayer/AudioRendererPlayer.swift",
        "MEPlayer/AudioUnitPlayer.swift",
        "MEPlayer/CircularBuffer.swift",
        "MEPlayer/EmbedDataSouce.swift",
        "MEPlayer/FFmpegAssetTrack.swift",
        "MEPlayer/FFmpegDecode.swift",
        "MEPlayer/Filter.swift",
        "MEPlayer/KSMEPlayer.swift",
        "MEPlayer/MEPlayerItem.swift",
        "MEPlayer/MEPlayerItemTrack.swift",
        "MEPlayer/MetalPlayView.swift",
        "MEPlayer/Model.swift",
        "MEPlayer/Resample.swift",
        "MEPlayer/SubtitleDecode.swift",
        "MEPlayer/ThumbnailController.swift",
        "MEPlayer/VideoToolboxDecode.swift",
        "Metal/DisplayModel.swift",
        "Metal/MetalRender.swift",
        "Metal/MotionSensor.swift",
        "Metal/PixelBufferProtocol.swift",
        "Metal/Transforms.swift",
        "Subtitle/AudioRecognize.swift",
        "Subtitle/KSParseProtocol.swift",
        "Subtitle/KSSubtitle.swift",
        "Subtitle/SubtitleDataSouce.swift",
        "SwiftUI/AirPlayView.swift",
        "SwiftUI/KSVideoPlayerView.swift",
        "SwiftUI/KSVideoPlayerViewBuilder.swift",
        "SwiftUI/LiveTextImage.swift",
        "SwiftUI/Slider.swift",
        "Video/BrightnessVolume.swift",
        "Video/IOSVideoPlayerView.swift",
        "Video/KSMenu.swift",
        "Video/KSPlayerItem.swift",
        "Video/MacVideoPlayerView.swift",
        "Video/PlayerFullScreenViewController.swift",
        "Video/PlayerTransitionAnimator.swift",
        "Video/SeekView.swift",
        "Video/VideoPlayerView.swift"
      ],
      "target_dependencies" : [
        "DisplayCriteria"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DisplayCriteria",
      "module_type" : "ClangTarget",
      "name" : "DisplayCriteria",
      "path" : "Sources/DisplayCriteria",
      "product_memberships" : [
        "KSPlayer"
      ],
      "sources" : [
        "DisplayCriteria.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.