The Swift Package Index logo.Swift Package Index

Build Information

Successful build of KSPlayer, reference main (181fb5), with Swift 6.3 for visionOS using Xcode 26.4 on 30 Apr 2026 15:56:39 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme KSPlayer -destination generic/platform=xrOS

Build Log

extension UIActivityIndicatorView: LoadingIndector {}
                                   ^
                                   @preconcurrency
UIKit.UIActivityIndicatorView.startAnimating:2:22: note: main actor-isolated instance method 'startAnimating()' cannot satisfy nonisolated requirement
@MainActor open func startAnimating()}
                     ^
UIKit.UIActivityIndicatorView.stopAnimating:2:22: note: main actor-isolated instance method 'stopAnimating()' cannot satisfy nonisolated requirement
@MainActor open func stopAnimating()}
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:954:16: warning: static property 'topBarShowInCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var topBarShowInCase = KSPlayerTopBarShowCase.always
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:954:16: note: convert 'topBarShowInCase' to a 'let' constant to make 'Sendable' shared state immutable
    static var topBarShowInCase = KSPlayerTopBarShowCase.always
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:954:16: note: add '@MainActor' to make static property 'topBarShowInCase' part of global actor 'MainActor'
    static var topBarShowInCase = KSPlayerTopBarShowCase.always
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:954:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var topBarShowInCase = KSPlayerTopBarShowCase.always
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:956:16: warning: static property 'animateDelayTimeInterval' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var animateDelayTimeInterval = TimeInterval(5)
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:956:16: note: convert 'animateDelayTimeInterval' to a 'let' constant to make 'Sendable' shared state immutable
    static var animateDelayTimeInterval = TimeInterval(5)
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:956:16: note: add '@MainActor' to make static property 'animateDelayTimeInterval' part of global actor 'MainActor'
    static var animateDelayTimeInterval = TimeInterval(5)
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:956:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var animateDelayTimeInterval = TimeInterval(5)
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:958:16: warning: static property 'enableBrightnessGestures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var enableBrightnessGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:958:16: note: convert 'enableBrightnessGestures' to a 'let' constant to make 'Sendable' shared state immutable
    static var enableBrightnessGestures = true
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:958:16: note: add '@MainActor' to make static property 'enableBrightnessGestures' part of global actor 'MainActor'
    static var enableBrightnessGestures = true
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:958:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var enableBrightnessGestures = true
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:960:16: warning: static property 'enableVolumeGestures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var enableVolumeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:960:16: note: convert 'enableVolumeGestures' to a 'let' constant to make 'Sendable' shared state immutable
    static var enableVolumeGestures = true
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:960:16: note: add '@MainActor' to make static property 'enableVolumeGestures' part of global actor 'MainActor'
    static var enableVolumeGestures = true
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:960:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var enableVolumeGestures = true
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: warning: static property 'enablePlaytimeGestures' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var enablePlaytimeGestures = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: note: convert 'enablePlaytimeGestures' to a 'let' constant to make 'Sendable' shared state immutable
    static var enablePlaytimeGestures = true
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: note: add '@MainActor' to make static property 'enablePlaytimeGestures' part of global actor 'MainActor'
    static var enablePlaytimeGestures = true
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:962:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var enablePlaytimeGestures = true
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:965:16: warning: static property 'canBackgroundPlay' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var canBackgroundPlay = false
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:965:16: note: convert 'canBackgroundPlay' to a 'let' constant to make 'Sendable' shared state immutable
    static var canBackgroundPlay = false
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:965:16: note: add '@MainActor' to make static property 'canBackgroundPlay' part of global actor 'MainActor'
    static var canBackgroundPlay = false
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/VideoPlayerView.swift:965:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var canBackgroundPlay = false
               ^
    nonisolated(unsafe)
SwiftCompile normal arm64 Compiling\ KSSubtitle.swift,\ SubtitleDataSouce.swift,\ AirPlayView.swift,\ KSVideoPlayerView.swift,\ KSVideoPlayerViewBuilder.swift,\ LiveTextImage.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/AirPlayView.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/LiveTextImage.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: warning: static property 'textColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    public static var textColor: Color = .white
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: note: convert 'textColor' to a 'let' constant to make 'Sendable' shared state immutable
    public static var textColor: Color = .white
                  ~~~ ^
                  let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: note: add '@MainActor' to make static property 'textColor' part of global actor 'MainActor'
    public static var textColor: Color = .white
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:280:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static var textColor: Color = .white
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: warning: static property 'textBackgroundColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    public static var textBackgroundColor: Color = .clear
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: note: convert 'textBackgroundColor' to a 'let' constant to make 'Sendable' shared state immutable
    public static var textBackgroundColor: Color = .clear
                  ~~~ ^
                  let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: note: add '@MainActor' to make static property 'textBackgroundColor' part of global actor 'MainActor'
    public static var textBackgroundColor: Color = .clear
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:281:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static var textBackgroundColor: Color = .clear
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:286:23: warning: static property 'textFontSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    public static var textFontSize = SubtitleModel.Size.standard.rawValue
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:286:23: note: convert 'textFontSize' to a 'let' constant to make 'Sendable' shared state immutable
    public static var textFontSize = SubtitleModel.Size.standard.rawValue
                  ~~~ ^
                  let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:286:23: note: add '@MainActor' to make static property 'textFontSize' part of global actor 'MainActor'
    public static var textFontSize = SubtitleModel.Size.standard.rawValue
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:286:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static var textFontSize = SubtitleModel.Size.standard.rawValue
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:287:23: warning: static property 'textBold' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    public static var textBold = false
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:287:23: note: convert 'textBold' to a 'let' constant to make 'Sendable' shared state immutable
    public static var textBold = false
                  ~~~ ^
                  let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:287:23: note: add '@MainActor' to make static property 'textBold' part of global actor 'MainActor'
    public static var textBold = false
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:287:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static var textBold = false
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:288:23: warning: static property 'textItalic' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    public static var textItalic = false
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:288:23: note: convert 'textItalic' to a 'let' constant to make 'Sendable' shared state immutable
    public static var textItalic = false
                  ~~~ ^
                  let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:288:23: note: add '@MainActor' to make static property 'textItalic' part of global actor 'MainActor'
    public static var textItalic = false
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:288:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static var textItalic = false
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:289:23: warning: static property 'textPosition' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    public static var textPosition = TextPosition()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:289:23: note: convert 'textPosition' to a 'let' constant to make 'Sendable' shared state immutable
    public static var textPosition = TextPosition()
                  ~~~ ^
                  let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:289:23: note: add '@MainActor' to make static property 'textPosition' part of global actor 'MainActor'
    public static var textPosition = TextPosition()
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:289:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static var textPosition = TextPosition()
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:290:23: warning: static property 'audioRecognizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    public static var audioRecognizes = [any AudioRecognize]()
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:290:23: note: convert 'audioRecognizes' to a 'let' constant to make 'Sendable' shared state immutable
    public static var audioRecognizes = [any AudioRecognize]()
                  ~~~ ^
                  let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:290:23: note: add '@MainActor' to make static property 'audioRecognizes' part of global actor 'MainActor'
    public static var audioRecognizes = [any AudioRecognize]()
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:290:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static var audioRecognizes = [any AudioRecognize]()
                      ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:309:17: warning: capture of 'self' with non-Sendable type 'SubtitleModel?' in a '@Sendable' closure
                self?.parts = []
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:233:12: note: class 'SubtitleModel' does not conform to the 'Sendable' protocol
open class SubtitleModel: ObservableObject {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:369:42: warning: sending 'dataSouce' risks causing data races; this is an error in the Swift 6 language mode
                    try? await dataSouce.searchSubtitle(query: query, languages: languages)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:369:42: note: task-isolated 'dataSouce' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
                    try? await dataSouce.searchSubtitle(query: query, languages: languages)
                               ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:360:17: note: isolated conformance to protocol 'SearchSubtitleDataSouce' can be introduced here
    public func searchSubtitle(query: String?, languages: [String]) {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:370:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
                    subtitleInfos.append(contentsOf: dataSouce.infos)
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:370:21: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
                    subtitleInfos.append(contentsOf: dataSouce.infos)
                    ^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:360:17: note: isolated conformance to protocol 'SearchSubtitleDataSouce' can be introduced here
    public func searchSubtitle(query: String?, languages: [String]) {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:379:38: warning: sending 'dataSouce' risks causing data races; this is an error in the Swift 6 language mode
                try? await dataSouce.searchSubtitle(fileURL: url)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:379:38: note: task-isolated 'dataSouce' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
                try? await dataSouce.searchSubtitle(fileURL: url)
                           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:376:17: note: isolated conformance to protocol 'FileURLSubtitleDataSouce' can be introduced here
    public func addSubtitle(dataSouce: SubtitleDataSouce) {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:379:62: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
                try? await dataSouce.searchSubtitle(fileURL: url)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:379:62: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
                try? await dataSouce.searchSubtitle(fileURL: url)
                                                             ^~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:376:17: note: isolated conformance to protocol 'FileURLSubtitleDataSouce' can be introduced here
    public func addSubtitle(dataSouce: SubtitleDataSouce) {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:309:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
                self?.parts = []
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:309:21: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
                self?.parts = []
                ~~~~^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:369:42: warning: sending value of non-Sendable type 'any SearchSubtitleDataSouce' risks causing data races; this is an error in the Swift 6 language mode
                    try? await dataSouce.searchSubtitle(query: query, languages: languages)
                               ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:369:42: note: sending main actor-isolated value of non-Sendable type 'any SearchSubtitleDataSouce' to nonisolated instance method 'searchSubtitle(query:languages:)' risks causing races in between main actor-isolated and nonisolated uses
                    try? await dataSouce.searchSubtitle(query: query, languages: languages)
                                         ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:379:38: warning: sending value of non-Sendable type 'any FileURLSubtitleDataSouce' risks causing data races; this is an error in the Swift 6 language mode
                try? await dataSouce.searchSubtitle(fileURL: url)
                           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSSubtitle.swift:379:38: note: sending main actor-isolated value of non-Sendable type 'any FileURLSubtitleDataSouce' to nonisolated instance method 'searchSubtitle(fileURL:)' risks causing races in between main actor-isolated and nonisolated uses
                try? await dataSouce.searchSubtitle(fileURL: url)
                                     ^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:80:16: warning: static property 'subtitleDataSouces' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var subtitleDataSouces: [SubtitleDataSouce] = [DirectorySubtitleDataSouce()]
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:80:16: note: convert 'subtitleDataSouces' to a 'let' constant to make 'Sendable' shared state immutable
    static var subtitleDataSouces: [SubtitleDataSouce] = [DirectorySubtitleDataSouce()]
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:80:16: note: add '@MainActor' to make static property 'subtitleDataSouces' part of global actor 'MainActor'
    static var subtitleDataSouces: [SubtitleDataSouce] = [DirectorySubtitleDataSouce()]
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:80:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var subtitleDataSouces: [SubtitleDataSouce] = [DirectorySubtitleDataSouce()]
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:84:23: warning: static property 'singleton' is not concurrency-safe because non-'Sendable' type 'PlistCacheSubtitleDataSouce' may have shared mutable state; this is an error in the Swift 6 language mode
    public static let singleton = PlistCacheSubtitleDataSouce()
                      ^
/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:84:23: note: add '@MainActor' to make static property 'singleton' part of global actor 'MainActor'
    public static let singleton = PlistCacheSubtitleDataSouce()
                      ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:84:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    public static let singleton = PlistCacheSubtitleDataSouce()
                      ^
    nonisolated(unsafe)
/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/Subtitle/SubtitleDataSouce.swift:23:17: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
                Task {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/SubtitleDataSouce.swift:24:32: note: closure captures 'self' which is accessible to code in the current task
                    try? await parse(url: downloadURL, userAgent: userAgent)
                               ^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/AirPlayView.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/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
                        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) {
                ^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/KSVideoPlayerViewBuilder.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/LiveTextImage.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ MediaPlayerProtocol.swift,\ PlayerDefines.swift,\ AudioPlayerView.swift,\ AppKitExtend.swift,\ PlayerToolBar.swift,\ PlayerView.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/MediaPlayerProtocol.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/PlayerDefines.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Audio/AudioPlayerView.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/PlayerToolBar.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/PlayerView.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/MediaPlayerProtocol.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/PlayerDefines.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Audio/AudioPlayerView.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/AppKitExtend.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/PlayerToolBar.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/PlayerView.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/PlayerView.swift:41:55: warning: conformance of 'PlayerView' to protocol 'KSSliderDelegate' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode
open class PlayerView: UIView, KSPlayerLayerDelegate, KSSliderDelegate {
                                                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/PlayerView.swift:41:55: note: isolate this conformance to the main actor with '@MainActor'
open class PlayerView: UIView, KSPlayerLayerDelegate, KSSliderDelegate {
                                                      ^
                                                      @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/PlayerView.swift:41:12: note: mark all declarations used in the conformance 'nonisolated'
open class PlayerView: UIView, KSPlayerLayerDelegate, KSSliderDelegate {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/PlayerView.swift:41:55: note: turn data races into runtime errors with '@preconcurrency'
open class PlayerView: UIView, KSPlayerLayerDelegate, KSSliderDelegate {
                                                      ^
                                                      @preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/PlayerView.swift:159:15: note: main actor-isolated instance method 'slider(value:event:)' cannot satisfy nonisolated requirement
    open func slider(value: Double, event: ControlEvents) {
              ^
SwiftCompile normal arm64 Compiling\ resource_bundle_accessor.swift,\ KSAVPlayer.swift,\ KSOptions.swift,\ KSPictureInPictureController.swift,\ KSPlayerLayer.swift,\ KSVideoPlayer.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPictureInPictureController.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSVideoPlayer.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/DerivedSources/resource_bundle_accessor.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:362:23: warning: conformance of 'KSAVPlayer' to protocol 'MediaPlayerProtocol' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode
extension KSAVPlayer: MediaPlayerProtocol {
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:362:23: note: isolate this conformance to the main actor with '@MainActor'
extension KSAVPlayer: MediaPlayerProtocol {
                      ^
                      @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:362:1: note: mark all declarations used in the conformance 'nonisolated'
extension KSAVPlayer: MediaPlayerProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:362:23: note: turn data races into runtime errors with '@preconcurrency'
extension KSAVPlayer: MediaPlayerProtocol {
                      ^
                      @preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:128:21: note: main actor-isolated property 'delegate' cannot satisfy nonisolated requirement
    public weak var delegate: MediaPlayerDelegate?
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:365:16: note: main actor-isolated property 'view' cannot satisfy nonisolated requirement
    public var view: UIView? { playerView }
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:131:29: note: main actor-isolated property 'playableTime' cannot satisfy nonisolated requirement
    public private(set) var playableTime: TimeInterval = 0
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:171:29: note: main actor-isolated property 'isReadyToPlay' cannot satisfy nonisolated requirement
    public private(set) var isReadyToPlay = false {
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:160:29: note: main actor-isolated property 'playbackState' cannot satisfy nonisolated requirement
    public private(set) var playbackState = MediaPlaybackState.idle {
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:149:29: note: main actor-isolated property 'loadState' cannot satisfy nonisolated requirement
    public private(set) var loadState = MediaLoadState.idle {
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:364:16: note: main actor-isolated property 'isPlaying' cannot satisfy nonisolated requirement
    public var isPlaying: Bool { player.rate > 0 ? true : playbackState == .playing }
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:472:16: note: main actor-isolated property 'seekable' cannot satisfy nonisolated requirement
    public var seekable: Bool {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:476:16: note: main actor-isolated property 'isMuted' cannot satisfy nonisolated requirement
    public var isMuted: Bool {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:183:16: note: main actor-isolated property 'allowsExternalPlayback' cannot satisfy nonisolated requirement
    public var allowsExternalPlayback = false
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:184:16: note: main actor-isolated property 'usesExternalPlaybackWhileExternalScreenIsActive' cannot satisfy nonisolated requirement
    public var usesExternalPlaybackWhileExternalScreenIsActive = false
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:133:16: note: main actor-isolated property 'playbackRate' cannot satisfy nonisolated requirement
    public var playbackRate: Float = 1 {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:141:16: note: main actor-isolated property 'playbackVolume' cannot satisfy nonisolated requirement
    public var playbackVolume: Float = 1.0 {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:455:16: note: main actor-isolated property 'contentMode' cannot satisfy nonisolated requirement
    public var contentMode: UIViewContentMode {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:363:16: note: main actor-isolated property 'subtitleDataSouce' cannot satisfy nonisolated requirement
    public var subtitleDataSouce: SubtitleDataSouce? { nil }
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:118:16: note: main actor-isolated property 'playbackCoordinator' cannot satisfy nonisolated requirement
    public var playbackCoordinator: AVPlaybackCoordinator {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:111:16: note: main actor-isolated property 'pipController' cannot satisfy nonisolated requirement
    public var pipController: KSPictureInPictureController? {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:116:16: note: main actor-isolated property 'dynamicInfo' cannot satisfy nonisolated requirement
    public let dynamicInfo: DynamicInfo? = nil
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:214:21: note: main actor-isolated initializer 'init(url:options:)' cannot satisfy nonisolated requirement
    public required init(url: URL, options: KSOptions) {
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:448:17: note: main actor-isolated instance method 'replace(url:options:)' cannot satisfy nonisolated requirement
    public func replace(url: URL, options: KSOptions) {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:429:17: note: main actor-isolated instance method 'play()' cannot satisfy nonisolated requirement
    public func play() {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:434:17: note: main actor-isolated instance method 'pause()' cannot satisfy nonisolated requirement
    public func pause() {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:464:17: note: main actor-isolated instance method 'enterBackground()' cannot satisfy nonisolated requirement
    public func enterBackground() {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:468:17: note: main actor-isolated instance method 'enterForeground()' cannot satisfy nonisolated requirement
    public func enterForeground() {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:485:17: note: main actor-isolated instance method 'tracks(mediaType:)' cannot satisfy nonisolated requirement
    public func tracks(mediaType: AVFoundation.AVMediaType) -> [MediaPlayerTrack] {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:489:17: note: main actor-isolated instance method 'select(track:)' cannot satisfy nonisolated requirement
    public func select(track: some MediaPlayerTrack) {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:362:1: warning: conformance of 'KSAVPlayer' to protocol 'MediaPlayback' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode
extension KSAVPlayer: MediaPlayerProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:362:1: note: isolate this conformance to the main actor with '@MainActor'
extension KSAVPlayer: MediaPlayerProtocol {
^
                      @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:362:1: note: mark all declarations used in the conformance 'nonisolated'
extension KSAVPlayer: MediaPlayerProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:362:1: note: turn data races into runtime errors with '@preconcurrency'
extension KSAVPlayer: MediaPlayerProtocol {
^
                      @preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:129:29: note: main actor-isolated property 'duration' cannot satisfy nonisolated requirement
    public private(set) var duration: TimeInterval = 0
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:130:29: note: main actor-isolated property 'fileSize' cannot satisfy nonisolated requirement
    public private(set) var fileSize: Double = 0
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:115:16: note: main actor-isolated property 'naturalSize' cannot satisfy nonisolated requirement
    public var naturalSize: CGSize = .zero
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:132:16: note: main actor-isolated property 'chapters' cannot satisfy nonisolated requirement
    public let chapters: [Chapter] = []
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:366:16: note: main actor-isolated property 'currentPlaybackTime' cannot satisfy nonisolated requirement
    public var currentPlaybackTime: TimeInterval {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:415:17: note: main actor-isolated instance method 'prepareToPlay()' cannot satisfy nonisolated requirement
    public func prepareToPlay() {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:439:17: note: main actor-isolated instance method 'shutdown()' cannot satisfy nonisolated requirement
    public func shutdown() {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:399:17: note: main actor-isolated instance method 'seek(time:completion:)' cannot satisfy nonisolated requirement
    public func seek(time: TimeInterval, completion: @escaping ((Bool) -> Void)) {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:514:27: warning: conformance of 'AVMediaPlayerTrack' to protocol 'MediaPlayerTrack' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode
class AVMediaPlayerTrack: MediaPlayerTrack {
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:514:27: note: isolate this conformance to the main actor with '@MainActor'
class AVMediaPlayerTrack: MediaPlayerTrack {
                          ^
                          @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:514:27: note: turn data races into runtime errors with '@preconcurrency'
class AVMediaPlayerTrack: MediaPlayerTrack {
                          ^
                          @preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:531:9: note: main actor-isolated property 'isEnabled' cannot satisfy nonisolated requirement
    var isEnabled: Bool {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:220:18: warning: call to main actor-isolated instance method 'observer(playerItem:)' in a synchronous nonisolated context
            self.observer(playerItem: player.currentItem)
                 ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:326:18: note: calls to instance method 'observer(playerItem:)' from outside of its actor context are implicitly asynchronous
    private func observer(playerItem: AVPlayerItem?) {
                 ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:266:78: warning: 'estimatedDataRate' was deprecated in visionOS 1.0: Use load(.estimatedDataRate) instead
            let estimatedDataRates = item.tracks.compactMap { $0.assetTrack?.estimatedDataRate }
                                                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:313:22: warning: main actor-isolated property 'delegate' can not be referenced from a Sendable closure
                self.delegate?.playBack(player: self, loopCount: playerLooper.loopCount)
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:128:21: note: property declared here
    public weak var delegate: MediaPlayerDelegate?
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:313:32: warning: call to main actor-isolated instance method 'playBack(player:loopCount:)' in a synchronous nonisolated context
                self.delegate?.playBack(player: self, loopCount: playerLooper.loopCount)
                               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/MediaPlayerProtocol.swift:113:10: note: calls to instance method 'playBack(player:loopCount:)' from outside of its actor context are implicitly asynchronous
    func playBack(player: some MediaPlayerProtocol, loopCount: Int)
         ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:318:26: warning: main actor-isolated property 'error' can not be mutated from a Sendable closure
                    self.error = playerLooper.error
                         ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:93:17: note: mutation of this property is only permitted within the actor
    private var error: Error? {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:356:93: warning: converting non-Sendable function value to '@Sendable (AVPlayerItem, NSKeyValueObservedChange<Bool>) -> Void' may introduce data races
        bufferEmptyObservation = playerItem.observe(\.isPlaybackBufferEmpty, changeHandler: changeHandler)
                                                                                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:357:99: warning: converting non-Sendable function value to '@Sendable (AVPlayerItem, NSKeyValueObservedChange<Bool>) -> Void' may introduce data races
        likelyToKeepUpObservation = playerItem.observe(\.isPlaybackLikelyToKeepUp, changeHandler: changeHandler)
                                                                                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:358:91: warning: converting non-Sendable function value to '@Sendable (AVPlayerItem, NSKeyValueObservedChange<Bool>) -> Void' may introduce data races
        bufferFullObservation = playerItem.observe(\.isPlaybackBufferFull, changeHandler: changeHandler)
                                                                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:339:18: warning: call to main actor-isolated instance method 'updateStatus(item:)' in a synchronous nonisolated context
            self.updateStatus(item: item)
                 ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:248:18: note: calls to instance method 'updateStatus(item:)' from outside of its actor context are implicitly asynchronous
    private func updateStatus(item: AVPlayerItem) {
                 ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:344:18: warning: call to main actor-isolated instance method 'updatePlayableDuration(item:)' in a synchronous nonisolated context
            self.updatePlayableDuration(item: item)
                 ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:274:18: note: calls to instance method 'updatePlayableDuration(item:)' from outside of its actor context are implicitly asynchronous
    private func updatePlayableDuration(item: AVPlayerItem) {
                 ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:411:13: warning: capture of 'completion' with non-Sendable type '(Bool) -> Void' in a '@Sendable' closure
            completion(finished)
            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:411:13: note: a function type must be marked '@Sendable' to conform to 'Sendable'
            completion(finished)
            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:410:18: warning: main actor-isolated property 'shouldSeekTo' can not be mutated from a Sendable closure
            self.shouldSeekTo = 0
                 ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:82:17: note: mutation of this property is only permitted within the actor
    private var shouldSeekTo = TimeInterval(0)
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:544:34: warning: 'languageCode' was deprecated in visionOS 1.0: Use load(.languageCode) instead
        name = track.assetTrack?.languageCode ?? ""
                                 ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:545:42: warning: 'languageCode' was deprecated in visionOS 1.0: Use load(.languageCode) instead
        languageCode = track.assetTrack?.languageCode
                                         ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:546:46: warning: 'nominalFrameRate' was deprecated in visionOS 1.0: Use load(.nominalFrameRate) instead
        nominalFrameRate = track.assetTrack?.nominalFrameRate ?? 24.0
                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:547:43: warning: 'estimatedDataRate' was deprecated in visionOS 1.0: Use load(.estimatedDataRate) instead
        bitRate = Int64(track.assetTrack?.estimatedDataRate ?? 0)
                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:554:42: warning: 'formatDescriptions' was deprecated in visionOS 1.0: Use load(.formatDescriptions) instead
        if let first = track.assetTrack?.formatDescriptions.first {
                                         ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:555:39: warning: treating a forced downcast to 'CMFormatDescription' as optional will never produce 'nil'
            formatDescription = first as! CMFormatDescription
                                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:555:41: note: use 'as?' to perform a conditional downcast to 'CMFormatDescription'
            formatDescription = first as! CMFormatDescription
                                        ^
                                        ?
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:555:33: note: add parentheses around the cast to silence this warning
            formatDescription = first as! CMFormatDescription
                                ^
                                (                            )
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:542:25: warning: main actor-isolated property 'assetTrack' can not be referenced from a nonisolated context
        trackID = track.assetTrack?.trackID ?? 0
                        ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItemTrack.h:45:57: note: property declared here
@property (nonatomic, readonly, nullable) AVAssetTrack *assetTrack;
                                                        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:543:27: warning: main actor-isolated property 'assetTrack' can not be referenced from a nonisolated context
        mediaType = track.assetTrack?.mediaType ?? .video
                          ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItemTrack.h:45:57: note: property declared here
@property (nonatomic, readonly, nullable) AVAssetTrack *assetTrack;
                                                        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:544:22: warning: main actor-isolated property 'assetTrack' can not be referenced from a nonisolated context
        name = track.assetTrack?.languageCode ?? ""
                     ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItemTrack.h:45:57: note: property declared here
@property (nonatomic, readonly, nullable) AVAssetTrack *assetTrack;
                                                        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:545:30: warning: main actor-isolated property 'assetTrack' can not be referenced from a nonisolated context
        languageCode = track.assetTrack?.languageCode
                             ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItemTrack.h:45:57: note: property declared here
@property (nonatomic, readonly, nullable) AVAssetTrack *assetTrack;
                                                        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:546:34: warning: main actor-isolated property 'assetTrack' can not be referenced from a nonisolated context
        nominalFrameRate = track.assetTrack?.nominalFrameRate ?? 24.0
                                 ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItemTrack.h:45:57: note: property declared here
@property (nonatomic, readonly, nullable) AVAssetTrack *assetTrack;
                                                        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:547:31: warning: main actor-isolated property 'assetTrack' can not be referenced from a nonisolated context
        bitRate = Int64(track.assetTrack?.estimatedDataRate ?? 0)
                              ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItemTrack.h:45:57: note: property declared here
@property (nonatomic, readonly, nullable) AVAssetTrack *assetTrack;
                                                        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:554:30: warning: main actor-isolated property 'assetTrack' can not be referenced from a nonisolated context
        if let first = track.assetTrack?.formatDescriptions.first {
                             ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItemTrack.h:45:57: note: property declared here
@property (nonatomic, readonly, nullable) AVAssetTrack *assetTrack;
                                                        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:564:44: warning: non-Sendable type 'AVAssetTrack?' of property 'assetTrack' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
            isPlayable = await (try? track.assetTrack?.load(.isPlayable)) ?? false
                                           ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetTrack.h:29:12: note: class 'AVAssetTrack' does not conform to the 'Sendable' protocol
@interface AVAssetTrack : NSObject <NSCopying, AVAsynchronousKeyValueLoading>
           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AVFoundation'
import AVFoundation
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:586:17: warning: capture of 'handler' with non-Sendable type '(CGImage?) -> Void' in a '@Sendable' closure
                handler(cgImage)
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:586:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
                handler(cgImage)
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:563:9: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
        Task {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:564:24: note: closure captures 'self' which is accessible to code in the current task
            isPlayable = await (try? track.assetTrack?.load(.isPlayable)) ?? false
                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:313:32: warning: sending value of non-Sendable type 'any MediaPlayerDelegate' risks causing data races; this is an error in the Swift 6 language mode
                self.delegate?.playBack(player: self, loopCount: playerLooper.loopCount)
                ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSAVPlayer.swift:313:32: note: sending main actor-isolated value of non-Sendable type 'any MediaPlayerDelegate' to main actor-isolated instance method 'playBack(player:loopCount:)' risks causing races in between main actor-isolated and main actor-isolated uses
                self.delegate?.playBack(player: self, loopCount: playerLooper.loopCount)
                               ^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:458:16: warning: static property 'firstPlayerType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var firstPlayerType: MediaPlayerProtocol.Type = KSAVPlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:458:16: note: convert 'firstPlayerType' to a 'let' constant to make 'Sendable' shared state immutable
    static var firstPlayerType: MediaPlayerProtocol.Type = KSAVPlayer.self
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:458:16: note: add '@MainActor' to make static property 'firstPlayerType' part of global actor 'MainActor'
    static var firstPlayerType: MediaPlayerProtocol.Type = KSAVPlayer.self
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:458:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var firstPlayerType: MediaPlayerProtocol.Type = KSAVPlayer.self
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:459:16: warning: static property 'secondPlayerType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var secondPlayerType: MediaPlayerProtocol.Type? = KSMEPlayer.self
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:459:16: note: convert 'secondPlayerType' to a 'let' constant to make 'Sendable' shared state immutable
    static var secondPlayerType: MediaPlayerProtocol.Type? = KSMEPlayer.self
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:459:16: note: add '@MainActor' to make static property 'secondPlayerType' part of global actor 'MainActor'
    static var secondPlayerType: MediaPlayerProtocol.Type? = KSMEPlayer.self
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:459:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var secondPlayerType: MediaPlayerProtocol.Type? = KSMEPlayer.self
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:461:16: warning: static property 'preferredForwardBufferDuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var preferredForwardBufferDuration = 3.0
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:461:16: note: convert 'preferredForwardBufferDuration' to a 'let' constant to make 'Sendable' shared state immutable
    static var preferredForwardBufferDuration = 3.0
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:461:16: note: add '@MainActor' to make static property 'preferredForwardBufferDuration' part of global actor 'MainActor'
    static var preferredForwardBufferDuration = 3.0
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:461:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var preferredForwardBufferDuration = 3.0
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:463:16: warning: static property 'maxBufferDuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var maxBufferDuration = 30.0
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:463:16: note: convert 'maxBufferDuration' to a 'let' constant to make 'Sendable' shared state immutable
    static var maxBufferDuration = 30.0
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:463:16: note: add '@MainActor' to make static property 'maxBufferDuration' part of global actor 'MainActor'
    static var maxBufferDuration = 30.0
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:463:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var maxBufferDuration = 30.0
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:465:16: warning: static property 'isSecondOpen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var isSecondOpen = false
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:465:16: note: convert 'isSecondOpen' to a 'let' constant to make 'Sendable' shared state immutable
    static var isSecondOpen = false
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:465:16: note: add '@MainActor' to make static property 'isSecondOpen' part of global actor 'MainActor'
    static var isSecondOpen = false
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:465:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var isSecondOpen = false
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:467:16: warning: static property 'isAccurateSeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var isAccurateSeek = false
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:467:16: note: convert 'isAccurateSeek' to a 'let' constant to make 'Sendable' shared state immutable
    static var isAccurateSeek = false
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:467:16: note: add '@MainActor' to make static property 'isAccurateSeek' part of global actor 'MainActor'
    static var isAccurateSeek = false
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:467:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var isAccurateSeek = false
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:469:16: warning: static property 'isLoopPlay' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var isLoopPlay = false
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:469:16: note: convert 'isLoopPlay' to a 'let' constant to make 'Sendable' shared state immutable
    static var isLoopPlay = false
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:469:16: note: add '@MainActor' to make static property 'isLoopPlay' part of global actor 'MainActor'
    static var isLoopPlay = false
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:469:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var isLoopPlay = false
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:471:16: warning: static property 'isAutoPlay' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var isAutoPlay = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:471:16: note: convert 'isAutoPlay' to a 'let' constant to make 'Sendable' shared state immutable
    static var isAutoPlay = true
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:471:16: note: add '@MainActor' to make static property 'isAutoPlay' part of global actor 'MainActor'
    static var isAutoPlay = true
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:471:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var isAutoPlay = true
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:473:16: warning: static property 'isSeekedAutoPlay' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var isSeekedAutoPlay = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:473:16: note: convert 'isSeekedAutoPlay' to a 'let' constant to make 'Sendable' shared state immutable
    static var isSeekedAutoPlay = true
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:473:16: note: add '@MainActor' to make static property 'isSeekedAutoPlay' part of global actor 'MainActor'
    static var isSeekedAutoPlay = true
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:473:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var isSeekedAutoPlay = true
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:474:16: warning: static property 'hardwareDecode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var hardwareDecode = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:474:16: note: convert 'hardwareDecode' to a 'let' constant to make 'Sendable' shared state immutable
    static var hardwareDecode = true
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:474:16: note: add '@MainActor' to make static property 'hardwareDecode' part of global actor 'MainActor'
    static var hardwareDecode = true
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:474:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var hardwareDecode = true
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:476:16: warning: static property 'asynchronousDecompression' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var asynchronousDecompression = false
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:476:16: note: convert 'asynchronousDecompression' to a 'let' constant to make 'Sendable' shared state immutable
    static var asynchronousDecompression = false
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:476:16: note: add '@MainActor' to make static property 'asynchronousDecompression' part of global actor 'MainActor'
    static var asynchronousDecompression = false
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:476:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var asynchronousDecompression = false
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:477:16: warning: static property 'isPipPopViewController' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var isPipPopViewController = false
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:477:16: note: convert 'isPipPopViewController' to a 'let' constant to make 'Sendable' shared state immutable
    static var isPipPopViewController = false
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:477:16: note: add '@MainActor' to make static property 'isPipPopViewController' part of global actor 'MainActor'
    static var isPipPopViewController = false
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:477:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var isPipPopViewController = false
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:478:16: warning: static property 'canStartPictureInPictureAutomaticallyFromInline' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var canStartPictureInPictureAutomaticallyFromInline = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:478:16: note: convert 'canStartPictureInPictureAutomaticallyFromInline' to a 'let' constant to make 'Sendable' shared state immutable
    static var canStartPictureInPictureAutomaticallyFromInline = true
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:478:16: note: add '@MainActor' to make static property 'canStartPictureInPictureAutomaticallyFromInline' part of global actor 'MainActor'
    static var canStartPictureInPictureAutomaticallyFromInline = true
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:478:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var canStartPictureInPictureAutomaticallyFromInline = true
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:479:16: warning: static property 'preferredFrame' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var preferredFrame = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:479:16: note: convert 'preferredFrame' to a 'let' constant to make 'Sendable' shared state immutable
    static var preferredFrame = true
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:479:16: note: add '@MainActor' to make static property 'preferredFrame' part of global actor 'MainActor'
    static var preferredFrame = true
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:479:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var preferredFrame = true
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:480:16: warning: static property 'useSystemHTTPProxy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var useSystemHTTPProxy = true
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:480:16: note: convert 'useSystemHTTPProxy' to a 'let' constant to make 'Sendable' shared state immutable
    static var useSystemHTTPProxy = true
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:480:16: note: add '@MainActor' to make static property 'useSystemHTTPProxy' part of global actor 'MainActor'
    static var useSystemHTTPProxy = true
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:480:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var useSystemHTTPProxy = true
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:482:16: warning: static property 'logLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var logLevel = LogLevel.warning
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:482:16: note: convert 'logLevel' to a 'let' constant to make 'Sendable' shared state immutable
    static var logLevel = LogLevel.warning
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:482:16: note: add '@MainActor' to make static property 'logLevel' part of global actor 'MainActor'
    static var logLevel = LogLevel.warning
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:482:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var logLevel = LogLevel.warning
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:483:16: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var logger: LogHandler = OSLog(lable: "KSPlayer")
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:483:16: note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
    static var logger: LogHandler = OSLog(lable: "KSPlayer")
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:483:16: note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
    static var logger: LogHandler = OSLog(lable: "KSPlayer")
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:483:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var logger: LogHandler = OSLog(lable: "KSPlayer")
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:317:21: warning: variable 'yadifMode' was never mutated; consider changing to 'let' constant
                var yadifMode = KSOptions.yadifMode
                ~~~ ^
                let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:345:57: warning: 'windows' was deprecated in visionOS 1.0: Use UIWindowScene.windows on a relevant window scene instead
        guard let displayManager = UIApplication.shared.windows.first?.avDisplayManager,
                                                        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:426:34: warning: 'windows' was deprecated in visionOS 1.0: Use UIWindowScene.windows on a relevant window scene instead
            UIApplication.shared.windows.first?.avDisplayManager.preferredDisplayCriteria = nil
                                 ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:426:49: warning: main actor-isolated property 'avDisplayManager' can not be mutated from a nonisolated context
            UIApplication.shared.windows.first?.avDisplayManager.preferredDisplayCriteria = nil
                                                ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/AVKit.framework/Headers/UIWindow_AVAdditions.h:25:51: note: mutation of this property is only permitted within the actor
@property (nonatomic, readonly) AVDisplayManager *avDisplayManager API_AVAILABLE(tvos(11.2), visionos(1.0));
                                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:426:34: warning: main actor-isolated property 'windows' can not be mutated from a nonisolated context
            UIApplication.shared.windows.first?.avDisplayManager.preferredDisplayCriteria = nil
                                 ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:109:62: note: mutation of this property is only permitted within the actor
@property(nonatomic,readonly) NSArray<__kindof UIWindow *>  *windows API_DEPRECATED("Use UIWindowScene.windows on a relevant window scene instead", ios(2.0, 15.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
                                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSOptions.swift:426:27: warning: main actor-isolated class property 'shared' can not be mutated from a nonisolated context
            UIApplication.shared.windows.first?.avDisplayManager.preferredDisplayCriteria = nil
                          ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:87:54: note: mutation of this class property is only permitted within the actor
@property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
                                                     ^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPictureInPictureController.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPictureInPictureController.swift:12:24: warning: static property 'pipController' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    private static var pipController: KSPictureInPictureController?
                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPictureInPictureController.swift:12:24: note: convert 'pipController' to a 'let' constant to make 'Sendable' shared state immutable
    private static var pipController: KSPictureInPictureController?
                   ~~~ ^
                   let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPictureInPictureController.swift:12:24: note: add '@MainActor' to make static property 'pipController' part of global actor 'MainActor'
    private static var pipController: KSPictureInPictureController?
                       ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPictureInPictureController.swift:12:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    private static var pipController: KSPictureInPictureController?
                       ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPictureInPictureController.swift:33:24: warning: main actor-isolated property 'viewControllers' can not be referenced from a nonisolated context
                   nav.viewControllers.isEmpty || (nav.viewControllers.count == 1 && nav.viewControllers[0] != originalViewController)
                       ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:70:65: note: property declared here
@property(nonatomic,copy) NSArray<__kindof UIViewController *> *viewControllers; // The current view controller stack.
                                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPictureInPictureController.swift:33:56: warning: main actor-isolated property 'viewControllers' can not be referenced from a nonisolated autoclosure
                   nav.viewControllers.isEmpty || (nav.viewControllers.count == 1 && nav.viewControllers[0] != originalViewController)
                                                       ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:70:65: note: property declared here
@property(nonatomic,copy) NSArray<__kindof UIViewController *> *viewControllers; // The current view controller stack.
                                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPictureInPictureController.swift:33:90: warning: main actor-isolated property 'viewControllers' can not be referenced from a nonisolated autoclosure
                   nav.viewControllers.isEmpty || (nav.viewControllers.count == 1 && nav.viewControllers[0] != originalViewController)
                                                                                         ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:70:65: note: property declared here
@property(nonatomic,copy) NSArray<__kindof UIViewController *> *viewControllers; // The current view controller stack.
                                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPictureInPictureController.swift:35:25: warning: main actor-isolated property 'viewControllers' can not be mutated from a nonisolated context
                    nav.viewControllers = [originalViewController]
                        ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:70:65: note: mutation of this property is only permitted within the actor
@property(nonatomic,copy) NSArray<__kindof UIViewController *> *viewControllers; // The current view controller stack.
                                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPictureInPictureController.swift:38:64: warning: main actor-isolated property 'viewControllers' can not be referenced from a nonisolated context
                    var viewControllers = navigationController.viewControllers
                                                               ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:70:65: note: property declared here
@property(nonatomic,copy) NSArray<__kindof UIViewController *> *viewControllers; // The current view controller stack.
                                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPictureInPictureController.swift:41:46: warning: main actor-isolated property 'viewControllers' can not be mutated from a nonisolated context
                        navigationController.viewControllers = viewControllers
                                             ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:70:65: note: mutation of this property is only permitted within the actor
@property(nonatomic,copy) NSArray<__kindof UIViewController *> *viewControllers; // The current view controller stack.
                                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPictureInPictureController.swift:45:46: warning: call to main actor-isolated instance method 'pushViewController(_:animated:)' in a synchronous nonisolated context
                        navigationController.pushViewController(viewController, animated: true)
                                             ^
UIKit.UINavigationController.pushViewController:2:22: note: calls to instance method 'pushViewController(_:animated:)' from outside of its actor context are implicitly asynchronous
@MainActor open func pushViewController(_ viewController: UIViewController, animated: Bool)}
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPictureInPictureController.swift:48:47: warning: call to main actor-isolated instance method 'present(_:animated:completion:)' in a synchronous nonisolated context
                    presentingViewController?.present(originalViewController, animated: true)
                                              ^
UIKit.UIViewController.present:3:24: note: calls to instance method 'present(_:animated:completion:)' from outside of its actor context are implicitly asynchronous
  @MainActor open func present(_ viewControllerToPresent: UIViewController, animated flag: Bool, completion: (() -> Void)? = nil)}
                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPictureInPictureController.swift:67:29: warning: call to main actor-isolated instance method 'sendAction(_:to:for:)' in a synchronous nonisolated context
                UIControl().sendAction(#selector(URLSessionTask.suspend), to: UIApplication.shared, for: nil)
                            ^
UIKit.UIControl.sendAction:2:22: note: calls to instance method 'sendAction(_:to:for:)' from outside of its actor context are implicitly asynchronous
@MainActor open func sendAction(_ action: Selector, to target: Any?, for event: UIEvent?)}
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPictureInPictureController.swift:67:17: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context
                UIControl().sendAction(#selector(URLSessionTask.suspend), to: UIApplication.shared, for: nil)
                ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:154:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
- (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPictureInPictureController.swift:67:93: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context
                UIControl().sendAction(#selector(URLSessionTask.suspend), to: UIApplication.shared, for: nil)
                                                                                            ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:87:54: note: class property declared here
@property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
                                                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPictureInPictureController.swift:75:68: warning: main actor-isolated property 'viewController' can not be referenced from a nonisolated context
            guard let self, let viewController = view.player.view?.viewController else { return }
                                                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/PlayerView.swift:210:9: note: property declared here
    var viewController: UIViewController? {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPictureInPictureController.swift:78:58: warning: main actor-isolated property 'navigationController' can not be referenced from a nonisolated context
            if let navigationController = viewController.navigationController, navigationController.viewControllers.count == 1 {
                                                         ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:139:72: note: property declared here
@property(nullable, nonatomic,readonly,strong) UINavigationController *navigationController; // If this view controller has been pushed onto a navigation controller, return it.
                                                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPictureInPictureController.swift:78:101: warning: main actor-isolated property 'viewControllers' can not be referenced from a nonisolated context
            if let navigationController = viewController.navigationController, navigationController.viewControllers.count == 1 {
                                                                                                    ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:70:65: note: property declared here
@property(nonatomic,copy) NSArray<__kindof UIViewController *> *viewControllers; // The current view controller stack.
                                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPictureInPictureController.swift:83:57: warning: main actor-isolated property 'navigationController' can not be referenced from a nonisolated context
            navigationController = self.viewController?.navigationController
                                                        ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h:139:72: note: property declared here
@property(nullable, nonatomic,readonly,strong) UINavigationController *navigationController; // If this view controller has been pushed onto a navigation controller, return it.
                                                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPictureInPictureController.swift:89:42: warning: call to main actor-isolated instance method 'popViewController(animated:)' in a synchronous nonisolated context
                    navigationController.popViewController(animated: true)
                                         ^
UIKit.UINavigationController.popViewController:2:22: note: calls to instance method 'popViewController(animated:)' from outside of its actor context are implicitly asynchronous
@MainActor open func popViewController(animated: Bool) -> UIViewController?}
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPictureInPictureController.swift:98:72: warning: main actor-isolated property 'presentingViewController' can not be referenced from a nonisolated context
                    presentingViewController = originalViewController?.presentingViewController
                                                                       ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:223:59: note: property declared here
@property(nullable, nonatomic,readonly) UIViewController *presentingViewController API_AVAILABLE(ios(5.0));
                                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPictureInPictureController.swift:99:45: warning: call to main actor-isolated instance method 'dismiss(animated:completion:)' in a synchronous nonisolated context
                    originalViewController?.dismiss(animated: true)
                                            ^
UIKit.UIViewController.dismiss:3:24: note: calls to instance method 'dismiss(animated:completion:)' from outside of its actor context are implicitly asynchronous
  @MainActor open func dismiss(animated flag: Bool, completion: (() -> Void)? = nil)}
                       ^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:84:35: warning: capture of 'self' with non-Sendable type 'KSPlayerLayer?' in a '@Sendable' closure
                        guard let self else { return }
                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:67:12: note: class 'KSPlayerLayer' does not conform to the 'Sendable' protocol
open class KSPlayerLayer: NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:85:25: warning: capture of 'pipController' with non-Sendable type 'KSPictureInPictureController' in a '@Sendable' closure
                        pipController.start(view: self)
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPictureInPictureController.swift:11:14: note: class 'KSPictureInPictureController' does not conform to the 'Sendable' protocol
public class KSPictureInPictureController: AVPictureInPictureController {
             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:102:73: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context
                if let oldView = oldValue.view, let superview = oldView.superview, let view = player.view {
                                                                        ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:225:55: note: property declared here
@property(nullable, nonatomic,readonly) UIView       *superview;
                                                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:104:31: warning: call to main actor-isolated instance method 'insertSubview(_:belowSubview:)' in a synchronous nonisolated context
                    superview.insertSubview(view, belowSubview: oldView)
                              ^
UIKit.UIView.insertSubview:2:22: note: calls to instance method 'insertSubview(_:belowSubview:)' from outside of its actor context are implicitly asynchronous
@MainActor open func insertSubview(_ view: UIView, belowSubview siblingSubview: UIView)}
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:108:26: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context
                    view.translatesAutoresizingMaskIntoConstraints = false
                         ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:478:27: note: mutation of this property is only permitted within the actor
@property(nonatomic) BOOL translatesAutoresizingMaskIntoConstraints API_AVAILABLE(ios(6.0)); // Default YES
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:109:40: warning: call to main actor-isolated class method 'activate' in a synchronous nonisolated context
                    NSLayoutConstraint.activate([
                                       ^
UIKit.NSLayoutConstraint.activate:3:30: note: calls to class method 'activate' from outside of its actor context are implicitly asynchronous
  @MainActor open class func activate(_ constraints: [NSLayoutConstraint])}
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:110:40: warning: call to main actor-isolated instance method 'constraint(equalTo:)' in a synchronous nonisolated context
                        view.topAnchor.constraint(equalTo: superview.topAnchor),
                                       ^
UIKit.NSLayoutAnchor.constraint:2:22: note: calls to instance method 'constraint(equalTo:)' from outside of its actor context are implicitly asynchronous
@MainActor open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint}
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:110:30: warning: main actor-isolated property 'topAnchor' can not be referenced from a nonisolated context
                        view.topAnchor.constraint(equalTo: superview.topAnchor),
                             ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:590:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutYAxisAnchor *topAnchor API_AVAILABLE(ios(9.0));
                                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:110:70: warning: main actor-isolated property 'topAnchor' can not be referenced from a nonisolated context
                        view.topAnchor.constraint(equalTo: superview.topAnchor),
                                                                     ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:590:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutYAxisAnchor *topAnchor API_AVAILABLE(ios(9.0));
                                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:111:44: warning: call to main actor-isolated instance method 'constraint(equalTo:)' in a synchronous nonisolated context
                        view.leadingAnchor.constraint(equalTo: superview.leadingAnchor),
                                           ^
UIKit.NSLayoutAnchor.constraint:2:22: note: calls to instance method 'constraint(equalTo:)' from outside of its actor context are implicitly asynchronous
@MainActor open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint}
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:111:30: warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context
                        view.leadingAnchor.constraint(equalTo: superview.leadingAnchor),
                             ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:586:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutXAxisAnchor *leadingAnchor API_AVAILABLE(ios(9.0));
                                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:111:74: warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context
                        view.leadingAnchor.constraint(equalTo: superview.leadingAnchor),
                                                                         ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:586:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutXAxisAnchor *leadingAnchor API_AVAILABLE(ios(9.0));
                                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:112:43: warning: call to main actor-isolated instance method 'constraint(equalTo:)' in a synchronous nonisolated context
                        view.bottomAnchor.constraint(equalTo: superview.bottomAnchor),
                                          ^
UIKit.NSLayoutAnchor.constraint:2:22: note: calls to instance method 'constraint(equalTo:)' from outside of its actor context are implicitly asynchronous
@MainActor open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint}
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:112:30: warning: main actor-isolated property 'bottomAnchor' can not be referenced from a nonisolated context
                        view.bottomAnchor.constraint(equalTo: superview.bottomAnchor),
                             ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:591:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutYAxisAnchor *bottomAnchor API_AVAILABLE(ios(9.0));
                                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:112:73: warning: main actor-isolated property 'bottomAnchor' can not be referenced from a nonisolated context
                        view.bottomAnchor.constraint(equalTo: superview.bottomAnchor),
                                                                        ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:591:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutYAxisAnchor *bottomAnchor API_AVAILABLE(ios(9.0));
                                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:113:45: warning: call to main actor-isolated instance method 'constraint(equalTo:)' in a synchronous nonisolated context
                        view.trailingAnchor.constraint(equalTo: superview.trailingAnchor),
                                            ^
UIKit.NSLayoutAnchor.constraint:2:22: note: calls to instance method 'constraint(equalTo:)' from outside of its actor context are implicitly asynchronous
@MainActor open func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint}
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:113:30: warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context
                        view.trailingAnchor.constraint(equalTo: superview.trailingAnchor),
                             ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:587:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutXAxisAnchor *trailingAnchor API_AVAILABLE(ios(9.0));
                                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:113:75: warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context
                        view.trailingAnchor.constraint(equalTo: superview.trailingAnchor),
                                                                          ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:587:59: note: property declared here
@property(nonatomic,readonly,strong) NSLayoutXAxisAnchor *trailingAnchor API_AVAILABLE(ios(9.0));
                                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:116:32: warning: call to main actor-isolated instance method 'removeFromSuperview()' in a synchronous nonisolated context
                oldValue.view?.removeFromSuperview()
                               ^
UIKit.UIView.removeFromSuperview:2:22: note: calls to instance method 'removeFromSuperview()' from outside of its actor context are implicitly asynchronous
@MainActor open func removeFromSuperview()}
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:176:19: warning: capture of 'self' with non-Sendable type 'KSPlayerLayer?' in a '@Sendable' closure
        guard let self, self.player.isReadyToPlay else {
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:67:12: note: class 'KSPlayerLayer' does not conform to the 'Sendable' protocol
open class KSPlayerLayer: NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:179:24: warning: call to main actor-isolated instance method 'player(layer:currentTime:totalTime:)' in a synchronous nonisolated context
        self.delegate?.player(layer: self, currentTime: self.player.currentPlaybackTime, totalTime: self.player.duration)
                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:62:10: note: calls to instance method 'player(layer:currentTime:totalTime:)' from outside of its actor context are implicitly asynchronous
    func player(layer: KSPlayerLayer, currentTime: TimeInterval, totalTime: TimeInterval)
         ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:488:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
    open func prepareToPlay() {
    ^~~~
    public
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:169:36: warning: call to main actor-isolated instance method 'player(layer:state:)' in a synchronous nonisolated context
                    self.delegate?.player(layer: self, state: newValue)
                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:61:10: note: calls to instance method 'player(layer:state:)' from outside of its actor context are implicitly asynchronous
    func player(layer: KSPlayerLayer, state: KSPlayerState)
         ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:281:34: warning: main actor-isolated property 'isIdleTimerDisabled' can not be mutated from a nonisolated context
            UIApplication.shared.isIdleTimerDisabled = true
                                 ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:95:60: note: mutation of this property is only permitted within the actor
@property(nonatomic,getter=isIdleTimerDisabled)       BOOL idleTimerDisabled;     // default is NO
                                                           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:281:27: warning: main actor-isolated class property 'shared' can not be mutated from a nonisolated context
            UIApplication.shared.isIdleTimerDisabled = true
                          ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:87:54: note: mutation of this class property is only permitted within the actor
@property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
                                                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:314:34: warning: main actor-isolated property 'isIdleTimerDisabled' can not be mutated from a nonisolated context
            UIApplication.shared.isIdleTimerDisabled = false
                                 ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:95:60: note: mutation of this property is only permitted within the actor
@property(nonatomic,getter=isIdleTimerDisabled)       BOOL idleTimerDisabled;     // default is NO
                                                           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:314:27: warning: main actor-isolated class property 'shared' can not be mutated from a nonisolated context
            UIApplication.shared.isIdleTimerDisabled = false
                          ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:87:54: note: mutation of this class property is only permitted within the actor
@property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
                                                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:328:34: warning: main actor-isolated property 'isIdleTimerDisabled' can not be mutated from a nonisolated context
            UIApplication.shared.isIdleTimerDisabled = false
                                 ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:95:60: note: mutation of this property is only permitted within the actor
@property(nonatomic,getter=isIdleTimerDisabled)       BOOL idleTimerDisabled;     // default is NO
                                                           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:328:27: warning: main actor-isolated class property 'shared' can not be mutated from a nonisolated context
            UIApplication.shared.isIdleTimerDisabled = false
                          ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:87:54: note: mutation of this class property is only permitted within the actor
@property(class, nonatomic, readonly) UIApplication *sharedApplication NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.");
                                                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:84:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
                        guard let self else { return }
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:84:25: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
                        guard let self else { return }
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:85:39: warning: sending 'pipController' risks causing data races; this is an error in the Swift 6 language mode
                        pipController.start(view: self)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:85:39: note: task-isolated 'pipController' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
                        pipController.start(view: self)
                                      ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:169:36: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
                    self.delegate?.player(layer: self, state: newValue)
                    ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:169:36: note: sending task-isolated 'self' to main actor-isolated instance method 'player(layer:state:)' risks causing data races between main actor-isolated and task-isolated uses
                    self.delegate?.player(layer: self, state: newValue)
                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:169:36: warning: sending 'newValue' risks causing data races; this is an error in the Swift 6 language mode
                    self.delegate?.player(layer: self, state: newValue)
                    ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:169:36: note: sending task-isolated 'newValue' to main actor-isolated instance method 'player(layer:state:)' risks causing data races between main actor-isolated and task-isolated uses
                    self.delegate?.player(layer: self, state: newValue)
                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:169:36: warning: sending value of non-Sendable type 'any KSPlayerLayerDelegate' risks causing data races; this is an error in the Swift 6 language mode
                    self.delegate?.player(layer: self, state: newValue)
                    ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:169:36: note: sending task-isolated value of non-Sendable type 'any KSPlayerLayerDelegate' to main actor-isolated instance method 'player(layer:state:)' risks causing races in between task-isolated and main actor-isolated uses
                    self.delegate?.player(layer: self, state: newValue)
                                   ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:179:24: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
        self.delegate?.player(layer: self, currentTime: self.player.currentPlaybackTime, totalTime: self.player.duration)
        ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:179:24: note: sending task-isolated 'self' to main actor-isolated instance method 'player(layer:currentTime:totalTime:)' risks causing data races between main actor-isolated and task-isolated uses
        self.delegate?.player(layer: self, currentTime: self.player.currentPlaybackTime, totalTime: self.player.duration)
                       ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:179:24: warning: sending value of non-Sendable type 'any KSPlayerLayerDelegate' risks causing data races; this is an error in the Swift 6 language mode
        self.delegate?.player(layer: self, currentTime: self.player.currentPlaybackTime, totalTime: self.player.duration)
        ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSPlayerLayer.swift:179:24: note: sending task-isolated value of non-Sendable type 'any KSPlayerLayerDelegate' to main actor-isolated instance method 'player(layer:currentTime:totalTime:)' risks causing races in between task-isolated and main actor-isolated uses
        self.delegate?.player(layer: self, currentTime: self.player.currentPlaybackTime, totalTime: self.player.duration)
                       ^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/AVPlayer/KSVideoPlayer.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ MetalRender.swift,\ MotionSensor.swift,\ PixelBufferProtocol.swift,\ Transforms.swift,\ AudioRecognize.swift,\ KSParseProtocol.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MotionSensor.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/PixelBufferProtocol.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/Transforms.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/AudioRecognize.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSParseProtocol.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MetalRender.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/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 the Swift 6 language mode
    private lazy var colorConversion601VideoRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_601_4.pointee.videoRange.buffer
                                                                            ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Types.h:881:51: note: var declared here
extern VIMAGE_PF const vImage_YpCbCrToARGBMatrix *kvImage_YpCbCrToARGBMatrix_ITU_R_601_4 API_AVAILABLE(macos(10.10), ios(8.0), watchos(1.0), tvos(8.0));
                                                  ^
/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 the Swift 6 language mode
    private lazy var colorConversion601FullRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_601_4.pointee.buffer
                                                                           ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Types.h:881:51: note: var declared here
extern VIMAGE_PF const vImage_YpCbCrToARGBMatrix *kvImage_YpCbCrToARGBMatrix_ITU_R_601_4 API_AVAILABLE(macos(10.10), ios(8.0), watchos(1.0), tvos(8.0));
                                                  ^
/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 the Swift 6 language mode
    private lazy var colorConversion709VideoRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_709_2.pointee.videoRange.buffer
                                                                            ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Types.h:885:51: note: var declared here
extern VIMAGE_PF const vImage_YpCbCrToARGBMatrix *kvImage_YpCbCrToARGBMatrix_ITU_R_709_2 API_AVAILABLE(macos(10.10), ios(8.0), watchos(1.0), tvos(8.0));
                                                  ^
/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 the Swift 6 language mode
    private lazy var colorConversion709FullRangeMatrixBuffer: MTLBuffer? = kvImage_YpCbCrToARGBMatrix_ITU_R_709_2.pointee.buffer
                                                                           ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS.sdk/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Types.h:885:51: note: var declared here
extern VIMAGE_PF const vImage_YpCbCrToARGBMatrix *kvImage_YpCbCrToARGBMatrix_ITU_R_709_2 API_AVAILABLE(macos(10.10), ios(8.0), watchos(1.0), tvos(8.0));
                                                  ^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/MotionSensor.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/PixelBufferProtocol.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/PixelBufferProtocol.swift:50:28: warning: 'CVBufferGetAttachment' was deprecated in visionOS 1.0: renamed to 'CVBufferCopyAttachment(_:_:_:)'
            if let ratio = CVBufferGetAttachment(self, kCVImageBufferPixelAspectRatioKey, nil)?.takeUnretainedValue() as? NSDictionary,
                           ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/PixelBufferProtocol.swift:50:28: note: use 'CVBufferCopyAttachment(_:_:_:)' instead
            if let ratio = CVBufferGetAttachment(self, kCVImageBufferPixelAspectRatioKey, nil)?.takeUnretainedValue() as? NSDictionary,
                           ^~~~~~~~~~~~~~~~~~~~~
                           CVBufferCopyAttachment
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/PixelBufferProtocol.swift:80:9: warning: 'CVBufferGetAttachment' was deprecated in visionOS 1.0: renamed to 'CVBufferCopyAttachment(_:_:_:)'
        CVBufferGetAttachment(self, kCMFormatDescriptionExtension_FullRangeVideo, nil)?.takeUnretainedValue() as? Bool ?? false
        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/PixelBufferProtocol.swift:80:9: note: use 'CVBufferCopyAttachment(_:_:_:)' instead
        CVBufferGetAttachment(self, kCMFormatDescriptionExtension_FullRangeVideo, nil)?.takeUnretainedValue() as? Bool ?? false
        ^~~~~~~~~~~~~~~~~~~~~
        CVBufferCopyAttachment
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/PixelBufferProtocol.swift:84:9: warning: 'CVBufferGetAttachments' was deprecated in visionOS 1.0: renamed to 'CVBufferCopyAttachments(_:_:)'
        CVBufferGetAttachments(self, .shouldPropagate)
        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/PixelBufferProtocol.swift:84:9: note: use 'CVBufferCopyAttachments(_:_:)' instead
        CVBufferGetAttachments(self, .shouldPropagate)
        ^~~~~~~~~~~~~~~~~~~~~~
        CVBufferCopyAttachments
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/PixelBufferProtocol.swift:89:13: warning: 'CVBufferGetAttachment' was deprecated in visionOS 1.0: renamed to 'CVBufferCopyAttachment(_:_:_:)'
            CVBufferGetAttachment(self, kCVImageBufferYCbCrMatrixKey, nil)?.takeUnretainedValue() as? NSString
            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/PixelBufferProtocol.swift:89:13: note: use 'CVBufferCopyAttachment(_:_:_:)' instead
            CVBufferGetAttachment(self, kCVImageBufferYCbCrMatrixKey, nil)?.takeUnretainedValue() as? NSString
            ^~~~~~~~~~~~~~~~~~~~~
            CVBufferCopyAttachment
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/PixelBufferProtocol.swift:100:13: warning: 'CVBufferGetAttachment' was deprecated in visionOS 1.0: renamed to 'CVBufferCopyAttachment(_:_:_:)'
            CVBufferGetAttachment(self, kCVImageBufferColorPrimariesKey, nil)?.takeUnretainedValue() as? NSString
            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/PixelBufferProtocol.swift:100:13: note: use 'CVBufferCopyAttachment(_:_:_:)' instead
            CVBufferGetAttachment(self, kCVImageBufferColorPrimariesKey, nil)?.takeUnretainedValue() as? NSString
            ^~~~~~~~~~~~~~~~~~~~~
            CVBufferCopyAttachment
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/PixelBufferProtocol.swift:111:13: warning: 'CVBufferGetAttachment' was deprecated in visionOS 1.0: renamed to 'CVBufferCopyAttachment(_:_:_:)'
            CVBufferGetAttachment(self, kCVImageBufferTransferFunctionKey, nil)?.takeUnretainedValue() as? NSString
            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/PixelBufferProtocol.swift:111:13: note: use 'CVBufferCopyAttachment(_:_:_:)' instead
            CVBufferGetAttachment(self, kCVImageBufferTransferFunctionKey, nil)?.takeUnretainedValue() as? NSString
            ^~~~~~~~~~~~~~~~~~~~~
            CVBufferCopyAttachment
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Metal/Transforms.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/AudioRecognize.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSParseProtocol.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSParseProtocol.swift:20:16: warning: static property 'subtitleParses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var subtitleParses: [KSParseProtocol] = [AssParse(), VTTParse(), SrtParse()]
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSParseProtocol.swift:20:16: note: convert 'subtitleParses' to a 'let' constant to make 'Sendable' shared state immutable
    static var subtitleParses: [KSParseProtocol] = [AssParse(), VTTParse(), SrtParse()]
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSParseProtocol.swift:20:16: note: add '@MainActor' to make static property 'subtitleParses' part of global actor 'MainActor'
    static var subtitleParses: [KSParseProtocol] = [AssParse(), VTTParse(), SrtParse()]
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSParseProtocol.swift:20:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var subtitleParses: [KSParseProtocol] = [AssParse(), VTTParse(), SrtParse()]
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSParseProtocol.swift:194:29: warning: 'expansion' was deprecated in visionOS 1.0: This attribute is not supported with TextKit 2
                attributes[.expansion] = scanner.scanFloat()
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSParseProtocol.swift:205:29: warning: 'obliqueness' was deprecated in visionOS 1.0: This attribute is not supported with TextKit 2
                attributes[.obliqueness] = scanner.scanFloat()
                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSParseProtocol.swift:262:75: warning: left side of nil coalescing operator '??' has non-optional type 'UIFont', so the right side is never used
                font = UIFont(descriptor: fontDescriptor, size: fontSize) ?? font
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSParseProtocol.swift:275:25: warning: 'expansion' was deprecated in visionOS 1.0: This attribute is not supported with TextKit 2
            attributes[.expansion] = 1
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSParseProtocol.swift:278:25: warning: 'obliqueness' was deprecated in visionOS 1.0: This attribute is not supported with TextKit 2
            attributes[.obliqueness] = 1
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Subtitle/KSParseProtocol.swift:271:16: warning: value 'assColor' was defined but never used; consider replacing with boolean test
        if let assColor = self["SecondaryColour"] {
           ~~~~^~~~~~~~~~~
                                                  != nil
SwiftCompile normal arm64 Compiling\ Slider.swift,\ BrightnessVolume.swift,\ IOSVideoPlayerView.swift,\ KSMenu.swift,\ KSPlayerItem.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/Slider.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/IOSVideoPlayerView.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/KSMenu.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/KSPlayerItem.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/SwiftUI/Slider.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:132:23: warning: conformance of 'SystemView' to protocol 'BrightnessVolumeViewProtocol' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode
extension SystemView: BrightnessVolumeViewProtocol {
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:132:23: note: isolate this conformance to the main actor with '@MainActor'
extension SystemView: BrightnessVolumeViewProtocol {
                      ^
                      @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:132:1: note: mark all declarations used in the conformance 'nonisolated'
extension SystemView: BrightnessVolumeViewProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:132:23: note: turn data races into runtime errors with '@preconcurrency'
extension SystemView: BrightnessVolumeViewProtocol {
                      ^
                      @preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:133:17: note: main actor-isolated instance method 'setProgress(_:type:)' cannot satisfy nonisolated requirement
    public func setProgress(_ progress: Float, type: UInt) {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:152:17: note: main actor-isolated instance method 'move(to:)' cannot satisfy nonisolated requirement
    public func move(to view: UIView) {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:201:25: warning: conformance of 'ProgressView' to protocol 'BrightnessVolumeViewProtocol' crosses into main actor-isolated code and can cause data races; this is an error in the Swift 6 language mode
extension ProgressView: BrightnessVolumeViewProtocol {
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:201:25: note: isolate this conformance to the main actor with '@MainActor'
extension ProgressView: BrightnessVolumeViewProtocol {
                        ^
                        @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:201:1: note: mark all declarations used in the conformance 'nonisolated'
extension ProgressView: BrightnessVolumeViewProtocol {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:201:25: note: turn data races into runtime errors with '@preconcurrency'
extension ProgressView: BrightnessVolumeViewProtocol {
                        ^
                        @preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:202:10: note: main actor-isolated instance method 'setProgress(_:type:)' cannot satisfy nonisolated requirement
    func setProgress(_ progress: Float, type: UInt) {
         ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/BrightnessVolume.swift:211:10: note: main actor-isolated instance method 'move(to:)' cannot satisfy nonisolated requirement
    func move(to view: UIView) {
         ^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/IOSVideoPlayerView.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/IOSVideoPlayerView.swift:360:16: warning: static property 'supportedInterfaceOrientations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    static var supportedInterfaceOrientations = UIInterfaceOrientationMask.portrait
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/IOSVideoPlayerView.swift:360:16: note: convert 'supportedInterfaceOrientations' to a 'let' constant to make 'Sendable' shared state immutable
    static var supportedInterfaceOrientations = UIInterfaceOrientationMask.portrait
           ~~~ ^
           let
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/IOSVideoPlayerView.swift:360:16: note: add '@MainActor' to make static property 'supportedInterfaceOrientations' part of global actor 'MainActor'
    static var supportedInterfaceOrientations = UIInterfaceOrientationMask.portrait
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/IOSVideoPlayerView.swift:360:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    static var supportedInterfaceOrientations = UIInterfaceOrientationMask.portrait
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/IOSVideoPlayerView.swift:365:30: warning: 'windows' was deprecated in visionOS 1.0: Use UIWindowScene.windows on a relevant window scene instead
        UIApplication.shared.windows.first?.windowScene?.interfaceOrientation.isLandscape ?? false
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/IOSVideoPlayerView.swift:384:30: warning: 'init(documentTypes:in:)' was deprecated in visionOS 1.0
        let documentPicker = UIDocumentPickerViewController(documentTypes: [kUTTypeAudio, kUTTypeMovie, kUTTypePlainText] as [String], in: .open)
                             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/IOSVideoPlayerView.swift:384:77: warning: 'kUTTypeAudio' was deprecated in visionOS 1.0: Use UTTypeAudio or UTType.audio (swift) instead.
        let documentPicker = UIDocumentPickerViewController(documentTypes: [kUTTypeAudio, kUTTypeMovie, kUTTypePlainText] as [String], in: .open)
                                                                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/IOSVideoPlayerView.swift:384:91: warning: 'kUTTypeMovie' was deprecated in visionOS 1.0: Use UTTypeMovie or UTType.movie (swift) instead.
        let documentPicker = UIDocumentPickerViewController(documentTypes: [kUTTypeAudio, kUTTypeMovie, kUTTypePlainText] as [String], in: .open)
                                                                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/IOSVideoPlayerView.swift:384:105: warning: 'kUTTypePlainText' was deprecated in visionOS 1.0: Use UTTypePlainText or UTType.plainText (swift) instead.
        let documentPicker = UIDocumentPickerViewController(documentTypes: [kUTTypeAudio, kUTTypeMovie, kUTTypePlainText] as [String], in: .open)
                                                                                                        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/IOSVideoPlayerView.swift:234:51: warning: sending value of non-Sendable type 'any MediaPlayerProtocol' risks causing data races; this is an error in the Swift 6 language mode
            let image = await playerLayer?.player.thumbnailImageAtCurrentTime()
                              ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/IOSVideoPlayerView.swift:234:51: note: sending main actor-isolated value of non-Sendable type 'any MediaPlayerProtocol' to nonisolated instance method 'thumbnailImageAtCurrentTime()' risks causing races in between main actor-isolated and nonisolated uses
            let image = await playerLayer?.player.thumbnailImageAtCurrentTime()
                                                  ^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/KSMenu.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Video/KSPlayerItem.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ AudioGraphPlayer.swift,\ AudioRendererPlayer.swift,\ AudioUnitPlayer.swift,\ CircularBuffer.swift,\ EmbedDataSouce.swift,\ FFmpegAssetTrack.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AudioGraphPlayer.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AudioRendererPlayer.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AudioUnitPlayer.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/CircularBuffer.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/EmbedDataSouce.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/FFmpegAssetTrack.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AudioGraphPlayer.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AudioRendererPlayer.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AudioRendererPlayer.swift:88:23: warning: capture of 'self' with non-Sendable type 'AudioRendererPlayer?' in a '@Sendable' closure
            guard let self else {
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AudioRendererPlayer.swift:11:14: note: class 'AudioRendererPlayer' does not conform to the 'Sendable' protocol
public class AudioRendererPlayer: AudioOutput {
             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AudioRendererPlayer.swift:94:23: warning: capture of 'self' with non-Sendable type 'AudioRendererPlayer?' in a '@Sendable' closure
            guard let self else {
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AudioRendererPlayer.swift:11:14: note: class 'AudioRendererPlayer' does not conform to the 'Sendable' protocol
public class AudioRendererPlayer: AudioOutput {
             ^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AudioUnitPlayer.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/CircularBuffer.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/EmbedDataSouce.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/FFmpegAssetTrack.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ UIKitExtend.swift,\ UXKit.swift,\ Utility.swift,\ AVFFmpegExtension.swift,\ AVFoundationExtension.swift,\ AudioEnginePlayer.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/UIKitExtend.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/UXKit.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFoundationExtension.swift /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AudioEnginePlayer.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/UIKitExtend.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/UXKit.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:531:1: warning: extension declares a conformance of imported type 'TextAlignment' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
extension TextAlignment: RawRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:531:1: note: add '@retroactive' to silence this warning
extension TextAlignment: RawRepresentable {
^                        ~~~~~~~~~~~~~~~~
                         @retroactive RawRepresentable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:557:1: warning: extension declares a conformance of imported type 'TextAlignment' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
extension TextAlignment: Identifiable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:557:1: note: add '@retroactive' to silence this warning
extension TextAlignment: Identifiable {
^                        ~~~~~~~~~~~~
                         @retroactive Identifiable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:561:1: warning: extension declares a conformance of imported type 'HorizontalAlignment' to imported protocols 'Hashable', 'RawRepresentable'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
extension HorizontalAlignment: Hashable, RawRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:561:1: note: add '@retroactive' to silence this warning
extension HorizontalAlignment: Hashable, RawRepresentable {
^                              ~~~~~~~~  ~~~~~~~~~~~~~~~~
                               @retroactive Hashable @retroactive RawRepresentable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:589:1: warning: extension declares a conformance of imported type 'HorizontalAlignment' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
extension HorizontalAlignment: Identifiable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:589:1: note: add '@retroactive' to silence this warning
extension HorizontalAlignment: Identifiable {
^                              ~~~~~~~~~~~~
                               @retroactive Identifiable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:593:1: warning: extension declares a conformance of imported type 'VerticalAlignment' to imported protocols 'Hashable', 'RawRepresentable'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
extension VerticalAlignment: Hashable, RawRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:593:1: note: add '@retroactive' to silence this warning
extension VerticalAlignment: Hashable, RawRepresentable {
^                            ~~~~~~~~  ~~~~~~~~~~~~~~~~
                             @retroactive Hashable @retroactive RawRepresentable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:621:1: warning: extension declares a conformance of imported type 'VerticalAlignment' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
extension VerticalAlignment: Identifiable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:621:1: note: add '@retroactive' to silence this warning
extension VerticalAlignment: Identifiable {
^                            ~~~~~~~~~~~~
                             @retroactive Identifiable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:625:1: warning: extension declares a conformance of imported type 'Color' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
extension Color: RawRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:625:1: note: add '@retroactive' to silence this warning
extension Color: RawRepresentable {
^                ~~~~~~~~~~~~~~~~
                 @retroactive RawRepresentable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:655:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
extension Array: RawRepresentable where Element: Codable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:655:1: note: add '@retroactive' to silence this warning
extension Array: RawRepresentable where Element: Codable {
^                ~~~~~~~~~~~~~~~~
                 @retroactive RawRepresentable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:673:1: warning: extension declares a conformance of imported type 'Date' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
extension Date: RawRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:673:1: note: add '@retroactive' to silence this warning
extension Date: RawRepresentable {
^               ~~~~~~~~~~~~~~~~
                @retroactive RawRepresentable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:753:33: warning: 'kUTTypePNG' was deprecated in visionOS 1.0: Use UTTypePNG or UTType.png (swift) instead.
    static let png = AVFileType(kUTTypePNG as String)
                                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:754:38: warning: 'kUTTypeJPEG2000' was deprecated in visionOS 1.0: JPEG2000 is no longer supported by this operating system.
    static let jpeg2000 = AVFileType(kUTTypeJPEG2000 as String)
                                     ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:757:1: warning: extension declares a conformance of imported type 'URL' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
extension URL: Identifiable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:757:1: note: add '@retroactive' to silence this warning
extension URL: Identifiable {
^              ~~~~~~~~~~~~
               @retroactive Identifiable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:761:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
extension String: Identifiable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:761:1: note: add '@retroactive' to silence this warning
extension String: Identifiable {
^                 ~~~~~~~~~~~~
                  @retroactive Identifiable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:765:1: warning: extension declares a conformance of imported type 'Float' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
extension Float: Identifiable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:765:1: note: add '@retroactive' to silence this warning
extension Float: Identifiable {
^                ~~~~~~~~~~~~
                 @retroactive Identifiable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:50:74: warning: 'kUTTypeGIF' was deprecated in visionOS 1.0: Use UTTypeGIF or UTType.gif (swift) instead.
        destination = CGImageDestinationCreateWithURL(savePath as CFURL, kUTTypeGIF, imagesCount, nil)!
                                                                         ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:171:17: warning: capture of 'gifCreator' with non-Sendable type 'GIFCreator' in a '@Sendable' closure
                gifCreator.add(image: imageRef)
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:43:7: note: class 'GIFCreator' does not conform to the 'Sendable' protocol
class GIFCreator {
      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:172:17: warning: capture of 'progress' with non-Sendable type '(Double) -> Void' in a '@Sendable' closure
                progress(Double(i) / Double(count))
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:172:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
                progress(Double(i) / Double(count))
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:175:21: warning: capture of 'completion' with non-Sendable type '((any Error)?) -> Void' in a '@Sendable' closure
                    completion(nil)
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:175:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
                    completion(nil)
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:170:17: warning: mutation of captured var 'i' in concurrently-executing code
                i += 1
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:172:33: warning: reference to captured var 'i' in concurrently-executing code
                progress(Double(i) / Double(count))
                                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:173:23: warning: reference to captured var 'i' in concurrently-executing code
                guard i == count else { return }
                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:360:39: warning: passing non-Sendable parameter 'block' to function expecting a '@Sendable' closure
            await MainActor.run(body: block)
                                      ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:355:29: note: parameter 'block' is implicitly non-Sendable
public func runOnMainThread(block: @escaping () -> Void) {
                            ^
                                   @Sendable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:368:20: warning: 'UTTypeConformsTo' was deprecated in visionOS 1.0: Use -[UTType conformsToType:] instead.
            return UTTypeConformsTo(typeID, kUTTypeMovie)
                   ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:368:45: warning: 'kUTTypeMovie' was deprecated in visionOS 1.0: Use UTTypeMovie or UTType.movie (swift) instead.
            return UTTypeConformsTo(typeID, kUTTypeMovie)
                                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:375:20: warning: 'UTTypeConformsTo' was deprecated in visionOS 1.0: Use -[UTType conformsToType:] instead.
            return UTTypeConformsTo(typeID, kUTTypeAudio)
                   ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:375:45: warning: 'kUTTypeAudio' was deprecated in visionOS 1.0: Use UTTypeAudio or UTType.audio (swift) instead.
            return UTTypeConformsTo(typeID, kUTTypeAudio)
                                            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:424:13: warning: capture of 'completion' with non-Sendable type '(String, URL) -> Void' in a '@Sendable' closure
            completion(response.suggestedFilename ?? url.lastPathComponent, url)
            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:424:13: note: a function type must be marked '@Sendable' to conform to 'Sendable'
            completion(response.suggestedFilename ?? url.lastPathComponent, url)
            ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:227:9: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
        Task {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:228:49: note: closure captures 'self' which is accessible to code in the current task
            guard let exportSession = try await createExportSession(beginTime: beginTime, endTime: endTime) else { return }
                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:359:9: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
        Task {
        ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/Core/Utility.swift:360:39: note: closure captures 'block' which is accessible to code in the current task
            await MainActor.run(body: block)
                                      ^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift:385:1: warning: extension declares a conformance of imported type 'AVBufferSrcParameters' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Libavfilter' introduce this conformance in the future
extension AVBufferSrcParameters: Equatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift:385:1: note: add '@retroactive' to silence this warning
extension AVBufferSrcParameters: Equatable {
^                                ~~~~~~~~~
                                 @retroactive Equatable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift:400:1: warning: extension declares a conformance of imported type 'AVChannelLayout' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Libavutil' introduce this conformance in the future
extension AVChannelLayout: Equatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift:400:1: note: add '@retroactive' to silence this warning
extension AVChannelLayout: Equatable {
^                          ~~~~~~~~~
                           @retroactive Equatable
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift:408:1: warning: extension declares a conformance of imported type 'AVChannelLayout' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Libavutil' introduce this conformance in the future
extension AVChannelLayout: CustomStringConvertible {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift:408:1: note: add '@retroactive' to silence this warning
extension AVChannelLayout: CustomStringConvertible {
^                          ~~~~~~~~~~~~~~~~~~~~~~~
                           @retroactive CustomStringConvertible
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift:409:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AVChannelLayout' may have shared mutable state; this is an error in the Swift 6 language mode
    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/.derivedData/Build/Products/Debug-xros/Libavutil.framework/Headers/channel_layout.h:307:16: note: struct 'AVChannelLayout' does not conform to the 'Sendable' protocol
typedef struct AVChannelLayout {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Libavutil'
import FFmpegKit
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift:409:16: note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
    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)
               ^
    @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift:409:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
    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)
               ^
    nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift:431:1: warning: extension declares a conformance of imported type 'AVRational' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Libavutil' introduce this conformance in the future
extension AVRational: Equatable {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFFmpegExtension.swift:431:1: note: add '@retroactive' to silence this warning
extension AVRational: Equatable {
^                     ~~~~~~~~~
                      @retroactive Equatable
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFoundationExtension.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFoundationExtension.swift:108:1: warning: extension declares a conformance of imported type 'AudioChannelLayout' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'CoreAudioTypes' introduce this conformance in the future
extension AudioChannelLayout: CustomStringConvertible {
^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AVFoundationExtension.swift:108:1: note: add '@retroactive' to silence this warning
extension AudioChannelLayout: CustomStringConvertible {
^                             ~~~~~~~~~~~~~~~~~~~~~~~
                              @retroactive CustomStringConvertible
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AudioEnginePlayer.swift (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AudioEnginePlayer.swift:203:17: warning: capture of 'self' with non-Sendable type 'AudioEnginePlayer?' in a '@Sendable' closure
                self?.play()
                ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AudioEnginePlayer.swift:103:14: note: class 'AudioEnginePlayer' does not conform to the 'Sendable' protocol
public class AudioEnginePlayer: AudioOutput {
             ^
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AudioEnginePlayer.swift:203:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
                self?.play()
~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/KSPlayer/MEPlayer/AudioEnginePlayer.swift:203:21: note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
                self?.play()
                ~~~~^
SwiftDriverJobDiscovery normal arm64 Emitting module for KSPlayer (in target 'KSPlayer' from project 'KSPlayer')
SwiftDriver\ Compilation\ Requirements KSPlayer normal arm64 com.apple.xcode.tools.swift.compiler (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-Swift-Compilation-Requirements -- /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name KSPlayer -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64/KSPlayer.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/FFmpegKit.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/DisplayCriteria.modulemap -DXcode -enable-experimental-feature StrictConcurrency -plugin-path /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/Developer/Library/Frameworks -emit-localized-strings -emit-localized-strings-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64 -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros26.4-23O238-688ef53f1462e2c8f657fdc38a81448fc42b1e75d12c8f651050d7e98f89897c.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64/KSPlayer-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64/KSPlayer.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64/KSPlayer_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/FFmpegKit/Sources/FFmpegKit/include -Xcc -I/Users/admin/builder/spi-builder-workspace/Sources/DisplayCriteria/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64/KSPlayer-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriverJobDiscovery normal arm64 Compiling AudioGraphPlayer.swift, AudioRendererPlayer.swift, AudioUnitPlayer.swift, CircularBuffer.swift, EmbedDataSouce.swift, FFmpegAssetTrack.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftMergeGeneratedHeaders /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/KSPlayer-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64/KSPlayer-Swift.h (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-swiftHeaderTool -arch arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64/KSPlayer-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/KSPlayer-Swift.h
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KSPlayer.swiftmodule/arm64-apple-xros.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64/KSPlayer.swiftmodule (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64/KSPlayer.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KSPlayer.swiftmodule/arm64-apple-xros.swiftmodule
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KSPlayer.swiftmodule/arm64-apple-xros.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64/KSPlayer.swiftdoc (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64/KSPlayer.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KSPlayer.swiftmodule/arm64-apple-xros.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KSPlayer.swiftmodule/arm64-apple-xros.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64/KSPlayer.abi.json (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64/KSPlayer.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KSPlayer.swiftmodule/arm64-apple-xros.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KSPlayer.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64/KSPlayer.swiftsourceinfo (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64/KSPlayer.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KSPlayer.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo
SwiftDriverJobDiscovery normal arm64 Compiling Model.swift, Resample.swift, SubtitleDecode.swift, ThumbnailController.swift, VideoToolboxDecode.swift, DisplayModel.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftDriverJobDiscovery normal arm64 Compiling MediaPlayerProtocol.swift, PlayerDefines.swift, AudioPlayerView.swift, AppKitExtend.swift, PlayerToolBar.swift, PlayerView.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftDriverJobDiscovery normal arm64 Compiling resource_bundle_accessor.swift, KSAVPlayer.swift, KSOptions.swift, KSPictureInPictureController.swift, KSPlayerLayer.swift, KSVideoPlayer.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftDriverJobDiscovery normal arm64 Compiling MacVideoPlayerView.swift, PlayerFullScreenViewController.swift, PlayerTransitionAnimator.swift, SeekView.swift, VideoPlayerView.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftDriverJobDiscovery normal arm64 Compiling Slider.swift, BrightnessVolume.swift, IOSVideoPlayerView.swift, KSMenu.swift, KSPlayerItem.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftDriverJobDiscovery normal arm64 Compiling MetalRender.swift, MotionSensor.swift, PixelBufferProtocol.swift, Transforms.swift, AudioRecognize.swift, KSParseProtocol.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftDriverJobDiscovery normal arm64 Compiling KSSubtitle.swift, SubtitleDataSouce.swift, AirPlayView.swift, KSVideoPlayerView.swift, KSVideoPlayerViewBuilder.swift, LiveTextImage.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftDriverJobDiscovery normal arm64 Compiling FFmpegDecode.swift, Filter.swift, KSMEPlayer.swift, MEPlayerItem.swift, MEPlayerItemTrack.swift, MetalPlayView.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftDriverJobDiscovery normal arm64 Compiling UIKitExtend.swift, UXKit.swift, Utility.swift, AVFFmpegExtension.swift, AVFoundationExtension.swift, AudioEnginePlayer.swift (in target 'KSPlayer' from project 'KSPlayer')
SwiftDriver\ Compilation KSPlayer normal arm64 com.apple.xcode.tools.swift.compiler (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-Swift-Compilation -- /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name KSPlayer -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64/KSPlayer.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/FFmpegKit.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/DisplayCriteria.modulemap -DXcode -enable-experimental-feature StrictConcurrency -plugin-path /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/Developer/Library/Frameworks -emit-localized-strings -emit-localized-strings-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64 -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros26.4-23O238-688ef53f1462e2c8f657fdc38a81448fc42b1e75d12c8f651050d7e98f89897c.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64/KSPlayer-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64/KSPlayer.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64/KSPlayer_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/FFmpegKit/Sources/FFmpegKit/include -Xcc -I/Users/admin/builder/spi-builder-workspace/Sources/DisplayCriteria/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64/KSPlayer-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KSPlayer.o normal (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-xros1.0 -r -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk -O0 -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64/KSPlayer.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64/KSPlayer_lto.o -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64/KSPlayer_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/xros -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64/KSPlayer.swiftmodule @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64/KSPlayer-linker-args.resp -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KSPlayer.o
ExtractAppIntentsMetadata (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/appintentsmetadataprocessor --toolchain-dir /var/run/com.apple.security.cryptexd/mnt/com.apple.MobileAsset.MetalToolchain-v17.5.188.0.ZwLuXN/Metal.xctoolchain --module-name KSPlayer --sdk-root /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS26.4.sdk --xcode-version 17E192 --platform-family xrOS --deployment-target 1.0 --bundle-identifier spi-builder-workspace.KSPlayer --output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KSPlayer.appintents --target-triple arm64-apple-xros1.0 --binary-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KSPlayer.o --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64/KSPlayer_dependency_info.dat --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64/KSPlayer.SwiftFileList --metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/KSPlayer.DependencyMetadataFileList --static-metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/KSPlayer.DependencyStaticMetadataFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/KSPlayer.build/Debug-xros/KSPlayer.build/Objects-normal/arm64/KSPlayer.SwiftConstValuesFileList --force --compile-time-extraction --deployment-aware-processing --validate-assistant-intents --no-app-shortcuts-localization
2026-04-30 11:56:38.306 appintentsmetadataprocessor[1116:6829] Starting appintentsmetadataprocessor export
2026-04-30 11:56:38.326 appintentsmetadataprocessor[1116:6829] Extracted no relevant App Intents symbols, skipping writing output
RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KSPlayer.o (in target 'KSPlayer' from project 'KSPlayer')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/KSPlayer.o
** BUILD SUCCEEDED **
2026-04-30 11:56:23.619 xcodebuild[887:5892] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
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.