Build Information
Failed to build AudioVisualService, reference 0.0.1 (3a3d27), with Swift 6.4 for watchOS using Xcode 27.0 on 23 Sep 2026 13:45:56 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme AudioVisualService -destination generic/platform=watchOSBuild Log
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreVideo-2P8HI0403J99LBDPKNFJ5D4DL.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ImageIO-2Y4S05VUFWLNTRW92S35BUMG8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ImageIO-208F4GO13XRG67XXLAMH07N4X.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreVideo-8MRR5MNWUOAW2DBPGUQ8FKK4.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMedia-AO387T8CHWTTZODD1DGT0UAFA.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMedia-1AJVCUZNAO74KIKMFVFUUHWDI.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/QuartzCore-6375NPYACK5NYVHPMC1QQ8MC2.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UniformTypeIdentifiers-CJZ3NTHPSBH4XWX5EVOG56UZS.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMIDI-8Q3SSIDM9J726670QKKYTPP3W.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/LocalAuthentication-ATD947DC6Q0HA129OWBMG6HNP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UniformTypeIdentifiers-8L08Q8DQJV8C4AW84YVGFGTRN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/QuartzCore-94KFMWNOU7ZLUZNB4T5DLZC9D.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/LocalAuthentication-E2VERNNN1K2IWY24TR43TU59K.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMIDI-DMNFPOXYVF7STUO5GNB3DF2BQ.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVFAudio-E592LPPEJNCSUD5VBNV0IP3RS.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVFAudio-6A028BJEJQTO3623H6QZ4E26C.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVFoundation-EPE1OBOP1126QTAL5QEGZFKYT.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVFoundation-78VW43DHMXH57E9M5JLISD2E9.pcm
SwiftEmitModule normal arm64 Emitting\ module\ for\ AudioVisualService (in target 'AudioVisualService' from project 'AudioVisualService')
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager.swift:53:9: warning: stored property 'cachedCodableURLResponse' of 'Sendable'-conforming class 'CacheManager' is mutable; this is an error in the Swift 6 language mode
51 | /// This property holds the decoded `CodableURLResponse` containing information
52 | /// about the video's content length, MIME type, and cached data ranges.
53 | var cachedCodableURLResponse: CodableURLResponse? = nil
| `- warning: stored property 'cachedCodableURLResponse' of 'Sendable'-conforming class 'CacheManager' is mutable; this is an error in the Swift 6 language mode
54 |
55 | /// The maximum duration to retain cached files before automatic cleanup.
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:26:27: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
24 | /// - Returns: `true` if the request was fulfilled immediately, `false` if handled asynchronously.
25 | internal func handleContentInformationRequest(
26 | _ loadingRequest: AVAssetResourceLoadingRequest,
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
27 | contentInformationRequest: AVAssetResourceLoadingContentInformationRequest
28 | ) -> Bool {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:27:36: error: 'AVAssetResourceLoadingContentInformationRequest' is unavailable in watchOS
25 | internal func handleContentInformationRequest(
26 | _ loadingRequest: AVAssetResourceLoadingRequest,
27 | contentInformationRequest: AVAssetResourceLoadingContentInformationRequest
| `- error: 'AVAssetResourceLoadingContentInformationRequest' is unavailable in watchOS
28 | ) -> Bool {
29 | if let response = cacheManager.getCachedResponse() {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:294:12: note: 'AVAssetResourceLoadingContentInformationRequest' has been explicitly marked unavailable here
292 |
293 | API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
294 | @interface AVAssetResourceLoadingContentInformationRequest : NSObject {
| `- note: 'AVAssetResourceLoadingContentInformationRequest' has been explicitly marked unavailable here
295 | @private
296 | AVAssetResourceLoadingContentInformationRequestInternal *_contentInformationRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:69:25: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
67 | /// - urlResponse: The URL response containing the metadata to provide.
68 | nonisolated func handleResponseForContentInformationRequest(
69 | loadingRequest: AVAssetResourceLoadingRequest,
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
70 | contentInformationRequest: AVAssetResourceLoadingContentInformationRequest,
71 | urlResponse: URLResponse
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:70:36: error: 'AVAssetResourceLoadingContentInformationRequest' is unavailable in watchOS
68 | nonisolated func handleResponseForContentInformationRequest(
69 | loadingRequest: AVAssetResourceLoadingRequest,
70 | contentInformationRequest: AVAssetResourceLoadingContentInformationRequest,
| `- error: 'AVAssetResourceLoadingContentInformationRequest' is unavailable in watchOS
71 | urlResponse: URLResponse
72 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:294:12: note: 'AVAssetResourceLoadingContentInformationRequest' has been explicitly marked unavailable here
292 |
293 | API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
294 | @interface AVAssetResourceLoadingContentInformationRequest : NSObject {
| `- note: 'AVAssetResourceLoadingContentInformationRequest' has been explicitly marked unavailable here
295 | @private
296 | AVAssetResourceLoadingContentInformationRequestInternal *_contentInformationRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/DataRequest.swift:26:27: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
24 | /// - Returns: Always returns `true` as the request is handled asynchronously.
25 | func handleDataRequest(
26 | _ loadingRequest: AVAssetResourceLoadingRequest,
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
27 | dataRequest: AVAssetResourceLoadingDataRequest
28 | ) -> Bool {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/DataRequest.swift:27:22: error: 'AVAssetResourceLoadingDataRequest' is unavailable in watchOS
25 | func handleDataRequest(
26 | _ loadingRequest: AVAssetResourceLoadingRequest,
27 | dataRequest: AVAssetResourceLoadingDataRequest
| `- error: 'AVAssetResourceLoadingDataRequest' is unavailable in watchOS
28 | ) -> Bool {
29 | let requestedOffset = Int(dataRequest.requestedOffset)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:360:12: note: 'AVAssetResourceLoadingDataRequest' has been explicitly marked unavailable here
358 |
359 | API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
360 | @interface AVAssetResourceLoadingDataRequest : NSObject {
| `- note: 'AVAssetResourceLoadingDataRequest' has been explicitly marked unavailable here
361 | @private
362 | AVAssetResourceLoadingDataRequestInternal *_dataRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/LoadingRequest.swift:20:41: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
18 | ///
19 | /// - Parameter request: The loading request to add and process.
20 | internal func addRequest(_ request: AVAssetResourceLoadingRequest) {
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
21 | loadingRequests.append(request)
22 | processRequests()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/LoadingRequest.swift:31:35: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
29 | ///
30 | /// - Parameter request: The loading request to remove.
31 | func removeRequest(_ request: AVAssetResourceLoadingRequest) {
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
32 | if let index = loadingRequests.firstIndex(of: request) {
33 | pendingRequests[loadingRequests[index]]?.cancel()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/LoadingRequest.swift:56:51: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
54 | /// - Parameter request: The loading request to handle.
55 | /// - Returns: `true` if the request was successfully handled, `false` otherwise.
56 | internal func handleLoadingRequest(_ request: AVAssetResourceLoadingRequest) -> Bool {
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
57 | if let contentInformationRequest = request.contentInformationRequest {
58 | return handleContentInformationRequest(request, contentInformationRequest: contentInformationRequest)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift:26:27: error: 'AVAssetResourceLoader' is unavailable in watchOS
24 | /// - Returns: Always returns `true` to indicate asynchronous handling of the request.
25 | nonisolated public func resourceLoader(
26 | _ resourceLoader: AVAssetResourceLoader,
| `- error: 'AVAssetResourceLoader' is unavailable in watchOS
27 | shouldWaitForLoadingOfRequestedResource loadingRequest: AVAssetResourceLoadingRequest
28 | ) -> Bool {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:33:12: note: 'AVAssetResourceLoader' has been explicitly marked unavailable here
31 |
32 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
33 | @interface AVAssetResourceLoader : NSObject {
| `- note: 'AVAssetResourceLoader' has been explicitly marked unavailable here
34 | @private
35 | AVAssetResourceLoaderInternal *_resourceLoader;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift:27:65: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
25 | nonisolated public func resourceLoader(
26 | _ resourceLoader: AVAssetResourceLoader,
27 | shouldWaitForLoadingOfRequestedResource loadingRequest: AVAssetResourceLoadingRequest
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
28 | ) -> Bool {
29 | Task {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift:46:27: error: 'AVAssetResourceLoader' is unavailable in watchOS
44 | /// - loadingRequest: The loading request that was cancelled.
45 | nonisolated public func resourceLoader(
46 | _ resourceLoader: AVAssetResourceLoader,
| `- error: 'AVAssetResourceLoader' is unavailable in watchOS
47 | didCancel loadingRequest: AVAssetResourceLoadingRequest
48 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:33:12: note: 'AVAssetResourceLoader' has been explicitly marked unavailable here
31 |
32 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
33 | @interface AVAssetResourceLoader : NSObject {
| `- note: 'AVAssetResourceLoader' has been explicitly marked unavailable here
34 | @private
35 | AVAssetResourceLoaderInternal *_resourceLoader;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift:47:35: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
45 | nonisolated public func resourceLoader(
46 | _ resourceLoader: AVAssetResourceLoader,
47 | didCancel loadingRequest: AVAssetResourceLoadingRequest
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
48 | ) {
49 | Task {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift:25:29: error: cannot override 'resourceLoader' which has been marked unavailable
23 | /// - loadingRequest: The loading request containing information about the data needed.
24 | /// - Returns: Always returns `true` to indicate asynchronous handling of the request.
25 | nonisolated public func resourceLoader(
| `- error: cannot override 'resourceLoader' which has been marked unavailable
26 | _ resourceLoader: AVAssetResourceLoader,
27 | shouldWaitForLoadingOfRequestedResource loadingRequest: AVAssetResourceLoadingRequest
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:98:1: note: 'resourceLoader(_:shouldWaitForLoadingOfRequestedResource:)' has been explicitly marked unavailable here
96 |
97 | */
98 | - (BOOL)resourceLoader:(AVAssetResourceLoader *)resourceLoader shouldWaitForLoadingOfRequestedResource:(AVAssetResourceLoadingRequest *)loadingRequest API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'resourceLoader(_:shouldWaitForLoadingOfRequestedResource:)' has been explicitly marked unavailable here
99 |
100 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift:45:29: error: cannot override 'resourceLoader' which has been marked unavailable
43 | /// - resourceLoader: The resource loader that cancelled the request.
44 | /// - loadingRequest: The loading request that was cancelled.
45 | nonisolated public func resourceLoader(
| `- error: cannot override 'resourceLoader' which has been marked unavailable
46 | _ resourceLoader: AVAssetResourceLoader,
47 | didCancel loadingRequest: AVAssetResourceLoadingRequest
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:125:1: note: 'resourceLoader(_:didCancel:)' has been explicitly marked unavailable here
123 | @discussion Previously issued loading requests can be cancelled when data from the resource is no longer required or when a loading request is superseded by new requests for data from the same resource. For example, if to complete a seek operation it becomes necessary to load a range of bytes that's different from a range previously requested, the prior request may be cancelled while the delegate is still handling it.
124 | */
125 | - (void)resourceLoader:(AVAssetResourceLoader *)resourceLoader didCancelLoadingRequest:(AVAssetResourceLoadingRequest *)loadingRequest API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'resourceLoader(_:didCancel:)' has been explicitly marked unavailable here
126 |
127 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader.swift:37:27: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
35 |
36 | /// The queue of pending loading requests.
37 | var loadingRequests: [AVAssetResourceLoadingRequest] = []
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
38 |
39 | /// A mapping of loading requests to their associated download tasks.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader.swift:40:27: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
38 |
39 | /// A mapping of loading requests to their associated download tasks.
40 | var pendingRequests: [AVAssetResourceLoadingRequest: URLSessionTask] = [:]
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
41 |
42 | /// Creates a new resource loader for the specified video URL.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
Failed frontend command:
SwiftCompile normal arm64 (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/AudioVisualServiceDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager+CachedResponse.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager+Data.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager+DataRange.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager+Helpers.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CodableURLResponse.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CachingAVURLAsset.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CachingPlayerItem.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/Extensions/URL+md5String.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/Preloader.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/DataRequest.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/LoadingRequest.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/Objects-normal/arm64/AudioVisualService-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-upcoming-feature StrictConcurrency\=complete -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AudioVisualService -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/Objects-normal/arm64/AudioVisualService_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/Objects-normal/arm64/AudioVisualService.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/Objects-normal/arm64/AudioVisualService.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/Objects-normal/arm64/AudioVisualService-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/Objects-normal/arm64/AudioVisualService-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/Objects-normal/arm64/AudioVisualService-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/Objects-normal/arm64/AudioVisualService.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/Objects-normal/arm64/AudioVisualService.abi.json
SwiftCompile normal arm64 Compiling\ LoadingRequest.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/LoadingRequest.swift (in target 'AudioVisualService' from project 'AudioVisualService')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/LoadingRequest.swift (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LoadingRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/LoadingRequest.swift:20:41: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
18 | ///
19 | /// - Parameter request: The loading request to add and process.
20 | internal func addRequest(_ request: AVAssetResourceLoadingRequest) {
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
21 | loadingRequests.append(request)
22 | processRequests()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/LoadingRequest.swift:31:35: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
29 | ///
30 | /// - Parameter request: The loading request to remove.
31 | func removeRequest(_ request: AVAssetResourceLoadingRequest) {
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
32 | if let index = loadingRequests.firstIndex(of: request) {
33 | pendingRequests[loadingRequests[index]]?.cancel()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/LoadingRequest.swift:56:51: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
54 | /// - Parameter request: The loading request to handle.
55 | /// - Returns: `true` if the request was successfully handled, `false` otherwise.
56 | internal func handleLoadingRequest(_ request: AVAssetResourceLoadingRequest) -> Bool {
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
57 | if let contentInformationRequest = request.contentInformationRequest {
58 | return handleContentInformationRequest(request, contentInformationRequest: contentInformationRequest)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/LoadingRequest.swift:57:52: error: 'contentInformationRequest' is unavailable in watchOS
55 | /// - Returns: `true` if the request was successfully handled, `false` otherwise.
56 | internal func handleLoadingRequest(_ request: AVAssetResourceLoadingRequest) -> Bool {
57 | if let contentInformationRequest = request.contentInformationRequest {
| `- error: 'contentInformationRequest' is unavailable in watchOS
58 | return handleContentInformationRequest(request, contentInformationRequest: contentInformationRequest)
59 | } else if let dataRequest = request.dataRequest {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:222:92: note: 'contentInformationRequest' has been explicitly marked unavailable here
220 | @abstract An instance of AVAssetResourceLoadingContentInformationRequest that you must populate with information about the resource before responding to any AVAssetResourceLoadingDataRequests for the resource. The value of this property will be nil if no such information is being requested.
221 | */
222 | @property (nonatomic, readonly, nullable) AVAssetResourceLoadingContentInformationRequest *contentInformationRequest API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'contentInformationRequest' has been explicitly marked unavailable here
223 |
224 | /*!
SwiftCompile normal arm64 Compiling\ ResourceLoader.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader.swift (in target 'AudioVisualService' from project 'AudioVisualService')
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader.swift:37:27: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
35 |
36 | /// The queue of pending loading requests.
37 | var loadingRequests: [AVAssetResourceLoadingRequest] = []
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
38 |
39 | /// A mapping of loading requests to their associated download tasks.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader.swift:40:27: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
38 |
39 | /// A mapping of loading requests to their associated download tasks.
40 | var pendingRequests: [AVAssetResourceLoadingRequest: URLSessionTask] = [:]
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
41 |
42 | /// Creates a new resource loader for the specified video URL.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader.swift:58:9: warning: actor-isolated instance method 'invalidate()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
55 | }
56 |
57 | deinit {
| `- note: add 'isolated' to run isolated to 'ResourceLoader', which may be later than 'nonisolated deinit'
58 | invalidate()
| `- warning: actor-isolated instance method 'invalidate()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 |
:
64 | /// It ensures that all loading requests are properly completed and any ongoing
65 | /// network operations are cancelled. The URL session is also invalidated.
66 | public func invalidate() {
| `- note: calls to instance method 'invalidate()' from outside of its actor context are implicitly asynchronous
67 | let pendingRequests = pendingRequests
68 | self.loadingRequests.forEach {
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader.swift (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ResourceLoader.swift
SwiftCompile normal arm64 Compiling\ Preloader.swift,\ ContentInformationRequest.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/Preloader.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift (in target 'AudioVisualService' from project 'AudioVisualService')
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:26:27: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
24 | /// - Returns: `true` if the request was fulfilled immediately, `false` if handled asynchronously.
25 | internal func handleContentInformationRequest(
26 | _ loadingRequest: AVAssetResourceLoadingRequest,
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
27 | contentInformationRequest: AVAssetResourceLoadingContentInformationRequest
28 | ) -> Bool {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:27:36: error: 'AVAssetResourceLoadingContentInformationRequest' is unavailable in watchOS
25 | internal func handleContentInformationRequest(
26 | _ loadingRequest: AVAssetResourceLoadingRequest,
27 | contentInformationRequest: AVAssetResourceLoadingContentInformationRequest
| `- error: 'AVAssetResourceLoadingContentInformationRequest' is unavailable in watchOS
28 | ) -> Bool {
29 | if let response = cacheManager.getCachedResponse() {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:294:12: note: 'AVAssetResourceLoadingContentInformationRequest' has been explicitly marked unavailable here
292 |
293 | API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
294 | @interface AVAssetResourceLoadingContentInformationRequest : NSObject {
| `- note: 'AVAssetResourceLoadingContentInformationRequest' has been explicitly marked unavailable here
295 | @private
296 | AVAssetResourceLoadingContentInformationRequestInternal *_contentInformationRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:69:25: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
67 | /// - urlResponse: The URL response containing the metadata to provide.
68 | nonisolated func handleResponseForContentInformationRequest(
69 | loadingRequest: AVAssetResourceLoadingRequest,
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
70 | contentInformationRequest: AVAssetResourceLoadingContentInformationRequest,
71 | urlResponse: URLResponse
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:70:36: error: 'AVAssetResourceLoadingContentInformationRequest' is unavailable in watchOS
68 | nonisolated func handleResponseForContentInformationRequest(
69 | loadingRequest: AVAssetResourceLoadingRequest,
70 | contentInformationRequest: AVAssetResourceLoadingContentInformationRequest,
| `- error: 'AVAssetResourceLoadingContentInformationRequest' is unavailable in watchOS
71 | urlResponse: URLResponse
72 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:294:12: note: 'AVAssetResourceLoadingContentInformationRequest' has been explicitly marked unavailable here
292 |
293 | API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
294 | @interface AVAssetResourceLoadingContentInformationRequest : NSObject {
| `- note: 'AVAssetResourceLoadingContentInformationRequest' has been explicitly marked unavailable here
295 | @private
296 | AVAssetResourceLoadingContentInformationRequestInternal *_contentInformationRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:35:28: error: 'finishLoading()' is unavailable in watchOS
33 | urlResponse: response.urlResponse
34 | )
35 | loadingRequest.finishLoading()
| `- error: 'finishLoading()' is unavailable in watchOS
36 | return true
37 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:254:1: note: 'finishLoading()' has been explicitly marked unavailable here
252 | @discussion If a dataRequest is present, and the resource does not contain the full extent of the data that has been requested according to the values of the requestedOffset and requestedLength properties of the dataRequest, or if requestsAllDataToEndOfResource has a value of YES, -finishLoading may be invoked after providing as much of the requested data as the resource contains. If the contentInformationRequest property is not nil and specifies a non-empty allowedContentTypes array, the contentInformationRequest's contentType property must be set to a value within allowedContentTypes. Otherwise, this method will throw an exception.
253 | */
254 | - (void)finishLoading API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'finishLoading()' has been explicitly marked unavailable here
255 |
256 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:44:17: warning: capture of 'loadingRequest' with non-Sendable type 'AVAssetResourceLoadingRequest' in a '@Sendable' closure [#SendableClosureCaptures]
42 | let task = urlSession.dataTask(with: urlRequest) { _, urlResponse, error in
43 | guard let urlResponse, error == nil else {
44 | loadingRequest.finishLoading(with: error)
| `- warning: capture of 'loadingRequest' with non-Sendable type 'AVAssetResourceLoadingRequest' in a '@Sendable' closure [#SendableClosureCaptures]
45 | return
46 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: class 'AVAssetResourceLoadingRequest' does not conform to the 'Sendable' protocol
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: class 'AVAssetResourceLoadingRequest' does not conform to the 'Sendable' protocol
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:50:44: warning: capture of 'contentInformationRequest' with non-Sendable type 'AVAssetResourceLoadingContentInformationRequest' in a '@Sendable' closure [#SendableClosureCaptures]
48 | self.handleResponseForContentInformationRequest(
49 | loadingRequest: loadingRequest,
50 | contentInformationRequest: contentInformationRequest,
| `- warning: capture of 'contentInformationRequest' with non-Sendable type 'AVAssetResourceLoadingContentInformationRequest' in a '@Sendable' closure [#SendableClosureCaptures]
51 | urlResponse: urlResponse
52 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:294:12: note: class 'AVAssetResourceLoadingContentInformationRequest' does not conform to the 'Sendable' protocol
292 |
293 | API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
294 | @interface AVAssetResourceLoadingContentInformationRequest : NSObject {
| `- note: class 'AVAssetResourceLoadingContentInformationRequest' does not conform to the 'Sendable' protocol
295 | @private
296 | AVAssetResourceLoadingContentInformationRequestInternal *_contentInformationRequest;
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/Preloader.swift (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Preloader.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ContentInformationRequest.swift
SwiftCompile normal arm64 Compiling\ DataRequest.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/DataRequest.swift (in target 'AudioVisualService' from project 'AudioVisualService')
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/DataRequest.swift:26:27: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
24 | /// - Returns: Always returns `true` as the request is handled asynchronously.
25 | func handleDataRequest(
26 | _ loadingRequest: AVAssetResourceLoadingRequest,
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
27 | dataRequest: AVAssetResourceLoadingDataRequest
28 | ) -> Bool {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/DataRequest.swift:27:22: error: 'AVAssetResourceLoadingDataRequest' is unavailable in watchOS
25 | func handleDataRequest(
26 | _ loadingRequest: AVAssetResourceLoadingRequest,
27 | dataRequest: AVAssetResourceLoadingDataRequest
| `- error: 'AVAssetResourceLoadingDataRequest' is unavailable in watchOS
28 | ) -> Bool {
29 | let requestedOffset = Int(dataRequest.requestedOffset)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:360:12: note: 'AVAssetResourceLoadingDataRequest' has been explicitly marked unavailable here
358 |
359 | API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
360 | @interface AVAssetResourceLoadingDataRequest : NSObject {
| `- note: 'AVAssetResourceLoadingDataRequest' has been explicitly marked unavailable here
361 | @private
362 | AVAssetResourceLoadingDataRequestInternal *_dataRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/DataRequest.swift:34:28: error: 'finishLoading()' is unavailable in watchOS
32 | if let data = self.cacheManager.cachedData(in: range) {
33 | dataRequest.respond(with: data)
34 | loadingRequest.finishLoading()
| `- error: 'finishLoading()' is unavailable in watchOS
35 | return true
36 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:254:1: note: 'finishLoading()' has been explicitly marked unavailable here
252 | @discussion If a dataRequest is present, and the resource does not contain the full extent of the data that has been requested according to the values of the requestedOffset and requestedLength properties of the dataRequest, or if requestsAllDataToEndOfResource has a value of YES, -finishLoading may be invoked after providing as much of the requested data as the resource contains. If the contentInformationRequest property is not nil and specifies a non-empty allowedContentTypes array, the contentInformationRequest's contentType property must be set to a value within allowedContentTypes. Otherwise, this method will throw an exception.
253 | */
254 | - (void)finishLoading API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'finishLoading()' has been explicitly marked unavailable here
255 |
256 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/DataRequest.swift:48:28: error: 'finishLoading()' is unavailable in watchOS
46 |
47 | dataRequest.respond(with: data)
48 | loadingRequest.finishLoading()
| `- error: 'finishLoading()' is unavailable in watchOS
49 | self.cacheManager.appendData(data, offset: requestedOffset)
50 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:254:1: note: 'finishLoading()' has been explicitly marked unavailable here
252 | @discussion If a dataRequest is present, and the resource does not contain the full extent of the data that has been requested according to the values of the requestedOffset and requestedLength properties of the dataRequest, or if requestsAllDataToEndOfResource has a value of YES, -finishLoading may be invoked after providing as much of the requested data as the resource contains. If the contentInformationRequest property is not nil and specifies a non-empty allowedContentTypes array, the contentInformationRequest's contentType property must be set to a value within allowedContentTypes. Otherwise, this method will throw an exception.
253 | */
254 | - (void)finishLoading API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'finishLoading()' has been explicitly marked unavailable here
255 |
256 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/DataRequest.swift:43:17: warning: capture of 'loadingRequest' with non-Sendable type 'AVAssetResourceLoadingRequest' in a '@Sendable' closure [#SendableClosureCaptures]
41 | let task = urlSession.dataTask(with: urlRequest) { data, _, error in
42 | guard let data, error == nil else {
43 | loadingRequest.finishLoading(with: error)
| `- warning: capture of 'loadingRequest' with non-Sendable type 'AVAssetResourceLoadingRequest' in a '@Sendable' closure [#SendableClosureCaptures]
44 | return
45 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: class 'AVAssetResourceLoadingRequest' does not conform to the 'Sendable' protocol
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: class 'AVAssetResourceLoadingRequest' does not conform to the 'Sendable' protocol
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/DataRequest.swift (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DataRequest.swift
SwiftCompile normal arm64 Compiling\ ResourceLoader+Delegate.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift (in target 'AudioVisualService' from project 'AudioVisualService')
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift:26:27: error: 'AVAssetResourceLoader' is unavailable in watchOS
24 | /// - Returns: Always returns `true` to indicate asynchronous handling of the request.
25 | nonisolated public func resourceLoader(
26 | _ resourceLoader: AVAssetResourceLoader,
| `- error: 'AVAssetResourceLoader' is unavailable in watchOS
27 | shouldWaitForLoadingOfRequestedResource loadingRequest: AVAssetResourceLoadingRequest
28 | ) -> Bool {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:33:12: note: 'AVAssetResourceLoader' has been explicitly marked unavailable here
31 |
32 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
33 | @interface AVAssetResourceLoader : NSObject {
| `- note: 'AVAssetResourceLoader' has been explicitly marked unavailable here
34 | @private
35 | AVAssetResourceLoaderInternal *_resourceLoader;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift:27:65: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
25 | nonisolated public func resourceLoader(
26 | _ resourceLoader: AVAssetResourceLoader,
27 | shouldWaitForLoadingOfRequestedResource loadingRequest: AVAssetResourceLoadingRequest
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
28 | ) -> Bool {
29 | Task {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift:46:27: error: 'AVAssetResourceLoader' is unavailable in watchOS
44 | /// - loadingRequest: The loading request that was cancelled.
45 | nonisolated public func resourceLoader(
46 | _ resourceLoader: AVAssetResourceLoader,
| `- error: 'AVAssetResourceLoader' is unavailable in watchOS
47 | didCancel loadingRequest: AVAssetResourceLoadingRequest
48 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:33:12: note: 'AVAssetResourceLoader' has been explicitly marked unavailable here
31 |
32 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
33 | @interface AVAssetResourceLoader : NSObject {
| `- note: 'AVAssetResourceLoader' has been explicitly marked unavailable here
34 | @private
35 | AVAssetResourceLoaderInternal *_resourceLoader;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift:47:35: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
45 | nonisolated public func resourceLoader(
46 | _ resourceLoader: AVAssetResourceLoader,
47 | didCancel loadingRequest: AVAssetResourceLoadingRequest
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
48 | ) {
49 | Task {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift:25:29: error: cannot override 'resourceLoader' which has been marked unavailable
23 | /// - loadingRequest: The loading request containing information about the data needed.
24 | /// - Returns: Always returns `true` to indicate asynchronous handling of the request.
25 | nonisolated public func resourceLoader(
| `- error: cannot override 'resourceLoader' which has been marked unavailable
26 | _ resourceLoader: AVAssetResourceLoader,
27 | shouldWaitForLoadingOfRequestedResource loadingRequest: AVAssetResourceLoadingRequest
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:98:1: note: 'resourceLoader(_:shouldWaitForLoadingOfRequestedResource:)' has been explicitly marked unavailable here
96 |
97 | */
98 | - (BOOL)resourceLoader:(AVAssetResourceLoader *)resourceLoader shouldWaitForLoadingOfRequestedResource:(AVAssetResourceLoadingRequest *)loadingRequest API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'resourceLoader(_:shouldWaitForLoadingOfRequestedResource:)' has been explicitly marked unavailable here
99 |
100 | /*!
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ResourceLoader+Delegate.swift
SwiftCompile normal arm64 Compiling\ CacheManager+Helpers.swift,\ CacheManager.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager+Helpers.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager.swift (in target 'AudioVisualService' from project 'AudioVisualService')
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager+Helpers.swift:79:44: warning: instance method 'makeIterator' is unavailable from asynchronous contexts; this is an error in the Swift 6 language mode
77 |
78 | var cacheFiles: [(fileURL: URL, modificationDate: Date)] = []
79 | for case let fileURL as URL in enumerator {
| `- warning: instance method 'makeIterator' is unavailable from asynchronous contexts; this is an error in the Swift 6 language mode
80 | guard let resourceValues = try? fileURL.resourceValues(forKeys: Set(resourceKeys)) else { continue }
81 | guard resourceValues.isDirectory == false else { continue }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager+Helpers.swift (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CacheManager+Helpers.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager.swift (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CacheManager.swift
SwiftCompile normal arm64_32 Compiling\ Preloader.swift,\ ContentInformationRequest.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/Preloader.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift (in target 'AudioVisualService' from project 'AudioVisualService')
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:26:27: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
24 | /// - Returns: `true` if the request was fulfilled immediately, `false` if handled asynchronously.
25 | internal func handleContentInformationRequest(
26 | _ loadingRequest: AVAssetResourceLoadingRequest,
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
27 | contentInformationRequest: AVAssetResourceLoadingContentInformationRequest
28 | ) -> Bool {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:27:36: error: 'AVAssetResourceLoadingContentInformationRequest' is unavailable in watchOS
25 | internal func handleContentInformationRequest(
26 | _ loadingRequest: AVAssetResourceLoadingRequest,
27 | contentInformationRequest: AVAssetResourceLoadingContentInformationRequest
| `- error: 'AVAssetResourceLoadingContentInformationRequest' is unavailable in watchOS
28 | ) -> Bool {
29 | if let response = cacheManager.getCachedResponse() {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:294:12: note: 'AVAssetResourceLoadingContentInformationRequest' has been explicitly marked unavailable here
292 |
293 | API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
294 | @interface AVAssetResourceLoadingContentInformationRequest : NSObject {
| `- note: 'AVAssetResourceLoadingContentInformationRequest' has been explicitly marked unavailable here
295 | @private
296 | AVAssetResourceLoadingContentInformationRequestInternal *_contentInformationRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:69:25: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
67 | /// - urlResponse: The URL response containing the metadata to provide.
68 | nonisolated func handleResponseForContentInformationRequest(
69 | loadingRequest: AVAssetResourceLoadingRequest,
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
70 | contentInformationRequest: AVAssetResourceLoadingContentInformationRequest,
71 | urlResponse: URLResponse
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:70:36: error: 'AVAssetResourceLoadingContentInformationRequest' is unavailable in watchOS
68 | nonisolated func handleResponseForContentInformationRequest(
69 | loadingRequest: AVAssetResourceLoadingRequest,
70 | contentInformationRequest: AVAssetResourceLoadingContentInformationRequest,
| `- error: 'AVAssetResourceLoadingContentInformationRequest' is unavailable in watchOS
71 | urlResponse: URLResponse
72 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:294:12: note: 'AVAssetResourceLoadingContentInformationRequest' has been explicitly marked unavailable here
292 |
293 | API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
294 | @interface AVAssetResourceLoadingContentInformationRequest : NSObject {
| `- note: 'AVAssetResourceLoadingContentInformationRequest' has been explicitly marked unavailable here
295 | @private
296 | AVAssetResourceLoadingContentInformationRequestInternal *_contentInformationRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:35:28: error: 'finishLoading()' is unavailable in watchOS
33 | urlResponse: response.urlResponse
34 | )
35 | loadingRequest.finishLoading()
| `- error: 'finishLoading()' is unavailable in watchOS
36 | return true
37 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:254:1: note: 'finishLoading()' has been explicitly marked unavailable here
252 | @discussion If a dataRequest is present, and the resource does not contain the full extent of the data that has been requested according to the values of the requestedOffset and requestedLength properties of the dataRequest, or if requestsAllDataToEndOfResource has a value of YES, -finishLoading may be invoked after providing as much of the requested data as the resource contains. If the contentInformationRequest property is not nil and specifies a non-empty allowedContentTypes array, the contentInformationRequest's contentType property must be set to a value within allowedContentTypes. Otherwise, this method will throw an exception.
253 | */
254 | - (void)finishLoading API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'finishLoading()' has been explicitly marked unavailable here
255 |
256 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:44:17: warning: capture of 'loadingRequest' with non-Sendable type 'AVAssetResourceLoadingRequest' in a '@Sendable' closure [#SendableClosureCaptures]
42 | let task = urlSession.dataTask(with: urlRequest) { _, urlResponse, error in
43 | guard let urlResponse, error == nil else {
44 | loadingRequest.finishLoading(with: error)
| `- warning: capture of 'loadingRequest' with non-Sendable type 'AVAssetResourceLoadingRequest' in a '@Sendable' closure [#SendableClosureCaptures]
45 | return
46 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: class 'AVAssetResourceLoadingRequest' does not conform to the 'Sendable' protocol
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: class 'AVAssetResourceLoadingRequest' does not conform to the 'Sendable' protocol
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:50:44: warning: capture of 'contentInformationRequest' with non-Sendable type 'AVAssetResourceLoadingContentInformationRequest' in a '@Sendable' closure [#SendableClosureCaptures]
48 | self.handleResponseForContentInformationRequest(
49 | loadingRequest: loadingRequest,
50 | contentInformationRequest: contentInformationRequest,
| `- warning: capture of 'contentInformationRequest' with non-Sendable type 'AVAssetResourceLoadingContentInformationRequest' in a '@Sendable' closure [#SendableClosureCaptures]
51 | urlResponse: urlResponse
52 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:294:12: note: class 'AVAssetResourceLoadingContentInformationRequest' does not conform to the 'Sendable' protocol
292 |
293 | API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
294 | @interface AVAssetResourceLoadingContentInformationRequest : NSObject {
| `- note: class 'AVAssetResourceLoadingContentInformationRequest' does not conform to the 'Sendable' protocol
295 | @private
296 | AVAssetResourceLoadingContentInformationRequestInternal *_contentInformationRequest;
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/Preloader.swift (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Preloader.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ContentInformationRequest.swift
SwiftCompile normal arm64_32 Compiling\ LoadingRequest.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/LoadingRequest.swift (in target 'AudioVisualService' from project 'AudioVisualService')
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/LoadingRequest.swift:20:41: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
18 | ///
19 | /// - Parameter request: The loading request to add and process.
20 | internal func addRequest(_ request: AVAssetResourceLoadingRequest) {
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
21 | loadingRequests.append(request)
22 | processRequests()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/LoadingRequest.swift:31:35: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
29 | ///
30 | /// - Parameter request: The loading request to remove.
31 | func removeRequest(_ request: AVAssetResourceLoadingRequest) {
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
32 | if let index = loadingRequests.firstIndex(of: request) {
33 | pendingRequests[loadingRequests[index]]?.cancel()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/LoadingRequest.swift:56:51: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
54 | /// - Parameter request: The loading request to handle.
55 | /// - Returns: `true` if the request was successfully handled, `false` otherwise.
56 | internal func handleLoadingRequest(_ request: AVAssetResourceLoadingRequest) -> Bool {
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
57 | if let contentInformationRequest = request.contentInformationRequest {
58 | return handleContentInformationRequest(request, contentInformationRequest: contentInformationRequest)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/LoadingRequest.swift:57:52: error: 'contentInformationRequest' is unavailable in watchOS
55 | /// - Returns: `true` if the request was successfully handled, `false` otherwise.
56 | internal func handleLoadingRequest(_ request: AVAssetResourceLoadingRequest) -> Bool {
57 | if let contentInformationRequest = request.contentInformationRequest {
| `- error: 'contentInformationRequest' is unavailable in watchOS
58 | return handleContentInformationRequest(request, contentInformationRequest: contentInformationRequest)
59 | } else if let dataRequest = request.dataRequest {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:222:92: note: 'contentInformationRequest' has been explicitly marked unavailable here
220 | @abstract An instance of AVAssetResourceLoadingContentInformationRequest that you must populate with information about the resource before responding to any AVAssetResourceLoadingDataRequests for the resource. The value of this property will be nil if no such information is being requested.
221 | */
222 | @property (nonatomic, readonly, nullable) AVAssetResourceLoadingContentInformationRequest *contentInformationRequest API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'contentInformationRequest' has been explicitly marked unavailable here
223 |
224 | /*!
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/LoadingRequest.swift (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LoadingRequest.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ AudioVisualService (in target 'AudioVisualService' from project 'AudioVisualService')
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager.swift:53:9: warning: stored property 'cachedCodableURLResponse' of 'Sendable'-conforming class 'CacheManager' is mutable; this is an error in the Swift 6 language mode
51 | /// This property holds the decoded `CodableURLResponse` containing information
52 | /// about the video's content length, MIME type, and cached data ranges.
53 | var cachedCodableURLResponse: CodableURLResponse? = nil
| `- warning: stored property 'cachedCodableURLResponse' of 'Sendable'-conforming class 'CacheManager' is mutable; this is an error in the Swift 6 language mode
54 |
55 | /// The maximum duration to retain cached files before automatic cleanup.
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:26:27: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
24 | /// - Returns: `true` if the request was fulfilled immediately, `false` if handled asynchronously.
25 | internal func handleContentInformationRequest(
26 | _ loadingRequest: AVAssetResourceLoadingRequest,
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
27 | contentInformationRequest: AVAssetResourceLoadingContentInformationRequest
28 | ) -> Bool {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:27:36: error: 'AVAssetResourceLoadingContentInformationRequest' is unavailable in watchOS
25 | internal func handleContentInformationRequest(
26 | _ loadingRequest: AVAssetResourceLoadingRequest,
27 | contentInformationRequest: AVAssetResourceLoadingContentInformationRequest
| `- error: 'AVAssetResourceLoadingContentInformationRequest' is unavailable in watchOS
28 | ) -> Bool {
29 | if let response = cacheManager.getCachedResponse() {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:294:12: note: 'AVAssetResourceLoadingContentInformationRequest' has been explicitly marked unavailable here
292 |
293 | API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
294 | @interface AVAssetResourceLoadingContentInformationRequest : NSObject {
| `- note: 'AVAssetResourceLoadingContentInformationRequest' has been explicitly marked unavailable here
295 | @private
296 | AVAssetResourceLoadingContentInformationRequestInternal *_contentInformationRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:69:25: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
67 | /// - urlResponse: The URL response containing the metadata to provide.
68 | nonisolated func handleResponseForContentInformationRequest(
69 | loadingRequest: AVAssetResourceLoadingRequest,
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
70 | contentInformationRequest: AVAssetResourceLoadingContentInformationRequest,
71 | urlResponse: URLResponse
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:70:36: error: 'AVAssetResourceLoadingContentInformationRequest' is unavailable in watchOS
68 | nonisolated func handleResponseForContentInformationRequest(
69 | loadingRequest: AVAssetResourceLoadingRequest,
70 | contentInformationRequest: AVAssetResourceLoadingContentInformationRequest,
| `- error: 'AVAssetResourceLoadingContentInformationRequest' is unavailable in watchOS
71 | urlResponse: URLResponse
72 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:294:12: note: 'AVAssetResourceLoadingContentInformationRequest' has been explicitly marked unavailable here
292 |
293 | API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
294 | @interface AVAssetResourceLoadingContentInformationRequest : NSObject {
| `- note: 'AVAssetResourceLoadingContentInformationRequest' has been explicitly marked unavailable here
295 | @private
296 | AVAssetResourceLoadingContentInformationRequestInternal *_contentInformationRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/DataRequest.swift:26:27: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
24 | /// - Returns: Always returns `true` as the request is handled asynchronously.
25 | func handleDataRequest(
26 | _ loadingRequest: AVAssetResourceLoadingRequest,
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
27 | dataRequest: AVAssetResourceLoadingDataRequest
28 | ) -> Bool {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/DataRequest.swift:27:22: error: 'AVAssetResourceLoadingDataRequest' is unavailable in watchOS
25 | func handleDataRequest(
26 | _ loadingRequest: AVAssetResourceLoadingRequest,
27 | dataRequest: AVAssetResourceLoadingDataRequest
| `- error: 'AVAssetResourceLoadingDataRequest' is unavailable in watchOS
28 | ) -> Bool {
29 | let requestedOffset = Int(dataRequest.requestedOffset)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:360:12: note: 'AVAssetResourceLoadingDataRequest' has been explicitly marked unavailable here
358 |
359 | API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
360 | @interface AVAssetResourceLoadingDataRequest : NSObject {
| `- note: 'AVAssetResourceLoadingDataRequest' has been explicitly marked unavailable here
361 | @private
362 | AVAssetResourceLoadingDataRequestInternal *_dataRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/LoadingRequest.swift:20:41: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
18 | ///
19 | /// - Parameter request: The loading request to add and process.
20 | internal func addRequest(_ request: AVAssetResourceLoadingRequest) {
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
21 | loadingRequests.append(request)
22 | processRequests()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/LoadingRequest.swift:31:35: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
29 | ///
30 | /// - Parameter request: The loading request to remove.
31 | func removeRequest(_ request: AVAssetResourceLoadingRequest) {
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
32 | if let index = loadingRequests.firstIndex(of: request) {
33 | pendingRequests[loadingRequests[index]]?.cancel()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/LoadingRequest.swift:56:51: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
54 | /// - Parameter request: The loading request to handle.
55 | /// - Returns: `true` if the request was successfully handled, `false` otherwise.
56 | internal func handleLoadingRequest(_ request: AVAssetResourceLoadingRequest) -> Bool {
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
57 | if let contentInformationRequest = request.contentInformationRequest {
58 | return handleContentInformationRequest(request, contentInformationRequest: contentInformationRequest)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift:26:27: error: 'AVAssetResourceLoader' is unavailable in watchOS
24 | /// - Returns: Always returns `true` to indicate asynchronous handling of the request.
25 | nonisolated public func resourceLoader(
26 | _ resourceLoader: AVAssetResourceLoader,
| `- error: 'AVAssetResourceLoader' is unavailable in watchOS
27 | shouldWaitForLoadingOfRequestedResource loadingRequest: AVAssetResourceLoadingRequest
28 | ) -> Bool {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:33:12: note: 'AVAssetResourceLoader' has been explicitly marked unavailable here
31 |
32 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
33 | @interface AVAssetResourceLoader : NSObject {
| `- note: 'AVAssetResourceLoader' has been explicitly marked unavailable here
34 | @private
35 | AVAssetResourceLoaderInternal *_resourceLoader;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift:27:65: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
25 | nonisolated public func resourceLoader(
26 | _ resourceLoader: AVAssetResourceLoader,
27 | shouldWaitForLoadingOfRequestedResource loadingRequest: AVAssetResourceLoadingRequest
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
28 | ) -> Bool {
29 | Task {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift:46:27: error: 'AVAssetResourceLoader' is unavailable in watchOS
44 | /// - loadingRequest: The loading request that was cancelled.
45 | nonisolated public func resourceLoader(
46 | _ resourceLoader: AVAssetResourceLoader,
| `- error: 'AVAssetResourceLoader' is unavailable in watchOS
47 | didCancel loadingRequest: AVAssetResourceLoadingRequest
48 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:33:12: note: 'AVAssetResourceLoader' has been explicitly marked unavailable here
31 |
32 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
33 | @interface AVAssetResourceLoader : NSObject {
| `- note: 'AVAssetResourceLoader' has been explicitly marked unavailable here
34 | @private
35 | AVAssetResourceLoaderInternal *_resourceLoader;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift:47:35: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
45 | nonisolated public func resourceLoader(
46 | _ resourceLoader: AVAssetResourceLoader,
47 | didCancel loadingRequest: AVAssetResourceLoadingRequest
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
48 | ) {
49 | Task {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift:25:29: error: cannot override 'resourceLoader' which has been marked unavailable
23 | /// - loadingRequest: The loading request containing information about the data needed.
24 | /// - Returns: Always returns `true` to indicate asynchronous handling of the request.
25 | nonisolated public func resourceLoader(
| `- error: cannot override 'resourceLoader' which has been marked unavailable
26 | _ resourceLoader: AVAssetResourceLoader,
27 | shouldWaitForLoadingOfRequestedResource loadingRequest: AVAssetResourceLoadingRequest
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:98:1: note: 'resourceLoader(_:shouldWaitForLoadingOfRequestedResource:)' has been explicitly marked unavailable here
96 |
97 | */
98 | - (BOOL)resourceLoader:(AVAssetResourceLoader *)resourceLoader shouldWaitForLoadingOfRequestedResource:(AVAssetResourceLoadingRequest *)loadingRequest API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'resourceLoader(_:shouldWaitForLoadingOfRequestedResource:)' has been explicitly marked unavailable here
99 |
100 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift:45:29: error: cannot override 'resourceLoader' which has been marked unavailable
43 | /// - resourceLoader: The resource loader that cancelled the request.
44 | /// - loadingRequest: The loading request that was cancelled.
45 | nonisolated public func resourceLoader(
| `- error: cannot override 'resourceLoader' which has been marked unavailable
46 | _ resourceLoader: AVAssetResourceLoader,
47 | didCancel loadingRequest: AVAssetResourceLoadingRequest
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:125:1: note: 'resourceLoader(_:didCancel:)' has been explicitly marked unavailable here
123 | @discussion Previously issued loading requests can be cancelled when data from the resource is no longer required or when a loading request is superseded by new requests for data from the same resource. For example, if to complete a seek operation it becomes necessary to load a range of bytes that's different from a range previously requested, the prior request may be cancelled while the delegate is still handling it.
124 | */
125 | - (void)resourceLoader:(AVAssetResourceLoader *)resourceLoader didCancelLoadingRequest:(AVAssetResourceLoadingRequest *)loadingRequest API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'resourceLoader(_:didCancel:)' has been explicitly marked unavailable here
126 |
127 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader.swift:37:27: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
35 |
36 | /// The queue of pending loading requests.
37 | var loadingRequests: [AVAssetResourceLoadingRequest] = []
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
38 |
39 | /// A mapping of loading requests to their associated download tasks.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader.swift:40:27: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
38 |
39 | /// A mapping of loading requests to their associated download tasks.
40 | var pendingRequests: [AVAssetResourceLoadingRequest: URLSessionTask] = [:]
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
41 |
42 | /// Creates a new resource loader for the specified video URL.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
SwiftCompile normal arm64_32 (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ ResourceLoader+Delegate.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift (in target 'AudioVisualService' from project 'AudioVisualService')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ResourceLoader+Delegate.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-23 09:45:47.833 xcodebuild[627:3873] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'AudioVisualService' from project 'AudioVisualService')
SwiftEmitModule normal arm64 Emitting\ module\ for\ AudioVisualService (in target 'AudioVisualService' from project 'AudioVisualService')
Building workspace AudioVisualService with scheme AudioVisualService
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
AudioVisualService: /Users/admin/builder/spi-builder-workspace
resolved source packages: AudioVisualService
2026-09-23 09:45:53.349 xcodebuild[755:4468] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "AudioVisualService",
"name" : "AudioVisualService",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "AudioVisualService",
"targets" : [
"AudioVisualService"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AudioVisualServiceTests",
"module_type" : "SwiftTarget",
"name" : "AudioVisualServiceTests",
"path" : "Tests/AudioVisualServiceTests",
"sources" : [
"CachingPlayerItemTests.swift"
],
"target_dependencies" : [
"AudioVisualService"
],
"type" : "test"
},
{
"c99name" : "AudioVisualService",
"module_type" : "SwiftTarget",
"name" : "AudioVisualService",
"path" : "Sources/AudioVisualService",
"product_memberships" : [
"AudioVisualService"
],
"sources" : [
"AudioVisualServiceDelegate.swift",
"CacheManager/CacheManager+CachedResponse.swift",
"CacheManager/CacheManager+Data.swift",
"CacheManager/CacheManager+DataRange.swift",
"CacheManager/CacheManager+Helpers.swift",
"CacheManager/CacheManager.swift",
"CacheManager/CodableURLResponse.swift",
"CachingAVURLAsset.swift",
"CachingPlayerItem.swift",
"Extensions/URL+md5String.swift",
"Preloader.swift",
"ResourceLoaderDelegate/ContentInformationRequest.swift",
"ResourceLoaderDelegate/DataRequest.swift",
"ResourceLoaderDelegate/LoadingRequest.swift",
"ResourceLoaderDelegate/ResourceLoader+Delegate.swift",
"ResourceLoaderDelegate/ResourceLoader.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
{
"workspace" : {
"name" : "AudioVisualService",
"schemes" : [
"AudioVisualService"
]
}
}
2026-09-23 09:45:54.563 xcodebuild[763:4534] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme AudioVisualService -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme AudioVisualService -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
AudioVisualService: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'AudioVisualService-product' in project 'AudioVisualService'
➜ Explicit dependency on target 'AudioVisualService' in project 'AudioVisualService'
Target 'AudioVisualService' in project 'AudioVisualService' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
SwiftDriver AudioVisualService normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name AudioVisualService -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/Objects-normal/arm64_32/AudioVisualService.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -enable-upcoming-feature StrictConcurrency\=complete -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.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-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/Objects-normal/arm64_32/AudioVisualService-OutputFileMap.json -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/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/Objects-normal/arm64_32/AudioVisualService.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/Objects-normal/arm64_32/AudioVisualService-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/Objects-normal/arm64_32/AudioVisualService_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.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/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/Objects-normal/arm64_32/AudioVisualService-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver AudioVisualService normal arm64 com.apple.xcode.tools.swift.compiler (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name AudioVisualService -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/Objects-normal/arm64/AudioVisualService.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -enable-upcoming-feature StrictConcurrency\=complete -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.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-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/Objects-normal/arm64/AudioVisualService-OutputFileMap.json -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/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/Objects-normal/arm64/AudioVisualService.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/Objects-normal/arm64/AudioVisualService-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/Objects-normal/arm64/AudioVisualService_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.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/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/Objects-normal/arm64/AudioVisualService-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ AudioVisualService (in target 'AudioVisualService' from project 'AudioVisualService')
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager.swift:53:9: warning: stored property 'cachedCodableURLResponse' of 'Sendable'-conforming class 'CacheManager' is mutable; this is an error in the Swift 6 language mode
51 | /// This property holds the decoded `CodableURLResponse` containing information
52 | /// about the video's content length, MIME type, and cached data ranges.
53 | var cachedCodableURLResponse: CodableURLResponse? = nil
| `- warning: stored property 'cachedCodableURLResponse' of 'Sendable'-conforming class 'CacheManager' is mutable; this is an error in the Swift 6 language mode
54 |
55 | /// The maximum duration to retain cached files before automatic cleanup.
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:26:27: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
24 | /// - Returns: `true` if the request was fulfilled immediately, `false` if handled asynchronously.
25 | internal func handleContentInformationRequest(
26 | _ loadingRequest: AVAssetResourceLoadingRequest,
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
27 | contentInformationRequest: AVAssetResourceLoadingContentInformationRequest
28 | ) -> Bool {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:27:36: error: 'AVAssetResourceLoadingContentInformationRequest' is unavailable in watchOS
25 | internal func handleContentInformationRequest(
26 | _ loadingRequest: AVAssetResourceLoadingRequest,
27 | contentInformationRequest: AVAssetResourceLoadingContentInformationRequest
| `- error: 'AVAssetResourceLoadingContentInformationRequest' is unavailable in watchOS
28 | ) -> Bool {
29 | if let response = cacheManager.getCachedResponse() {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:294:12: note: 'AVAssetResourceLoadingContentInformationRequest' has been explicitly marked unavailable here
292 |
293 | API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
294 | @interface AVAssetResourceLoadingContentInformationRequest : NSObject {
| `- note: 'AVAssetResourceLoadingContentInformationRequest' has been explicitly marked unavailable here
295 | @private
296 | AVAssetResourceLoadingContentInformationRequestInternal *_contentInformationRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:69:25: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
67 | /// - urlResponse: The URL response containing the metadata to provide.
68 | nonisolated func handleResponseForContentInformationRequest(
69 | loadingRequest: AVAssetResourceLoadingRequest,
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
70 | contentInformationRequest: AVAssetResourceLoadingContentInformationRequest,
71 | urlResponse: URLResponse
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:70:36: error: 'AVAssetResourceLoadingContentInformationRequest' is unavailable in watchOS
68 | nonisolated func handleResponseForContentInformationRequest(
69 | loadingRequest: AVAssetResourceLoadingRequest,
70 | contentInformationRequest: AVAssetResourceLoadingContentInformationRequest,
| `- error: 'AVAssetResourceLoadingContentInformationRequest' is unavailable in watchOS
71 | urlResponse: URLResponse
72 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:294:12: note: 'AVAssetResourceLoadingContentInformationRequest' has been explicitly marked unavailable here
292 |
293 | API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
294 | @interface AVAssetResourceLoadingContentInformationRequest : NSObject {
| `- note: 'AVAssetResourceLoadingContentInformationRequest' has been explicitly marked unavailable here
295 | @private
296 | AVAssetResourceLoadingContentInformationRequestInternal *_contentInformationRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/DataRequest.swift:26:27: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
24 | /// - Returns: Always returns `true` as the request is handled asynchronously.
25 | func handleDataRequest(
26 | _ loadingRequest: AVAssetResourceLoadingRequest,
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
27 | dataRequest: AVAssetResourceLoadingDataRequest
28 | ) -> Bool {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/DataRequest.swift:27:22: error: 'AVAssetResourceLoadingDataRequest' is unavailable in watchOS
25 | func handleDataRequest(
26 | _ loadingRequest: AVAssetResourceLoadingRequest,
27 | dataRequest: AVAssetResourceLoadingDataRequest
| `- error: 'AVAssetResourceLoadingDataRequest' is unavailable in watchOS
28 | ) -> Bool {
29 | let requestedOffset = Int(dataRequest.requestedOffset)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:360:12: note: 'AVAssetResourceLoadingDataRequest' has been explicitly marked unavailable here
358 |
359 | API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
360 | @interface AVAssetResourceLoadingDataRequest : NSObject {
| `- note: 'AVAssetResourceLoadingDataRequest' has been explicitly marked unavailable here
361 | @private
362 | AVAssetResourceLoadingDataRequestInternal *_dataRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/LoadingRequest.swift:20:41: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
18 | ///
19 | /// - Parameter request: The loading request to add and process.
20 | internal func addRequest(_ request: AVAssetResourceLoadingRequest) {
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
21 | loadingRequests.append(request)
22 | processRequests()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/LoadingRequest.swift:31:35: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
29 | ///
30 | /// - Parameter request: The loading request to remove.
31 | func removeRequest(_ request: AVAssetResourceLoadingRequest) {
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
32 | if let index = loadingRequests.firstIndex(of: request) {
33 | pendingRequests[loadingRequests[index]]?.cancel()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/LoadingRequest.swift:56:51: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
54 | /// - Parameter request: The loading request to handle.
55 | /// - Returns: `true` if the request was successfully handled, `false` otherwise.
56 | internal func handleLoadingRequest(_ request: AVAssetResourceLoadingRequest) -> Bool {
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
57 | if let contentInformationRequest = request.contentInformationRequest {
58 | return handleContentInformationRequest(request, contentInformationRequest: contentInformationRequest)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift:26:27: error: 'AVAssetResourceLoader' is unavailable in watchOS
24 | /// - Returns: Always returns `true` to indicate asynchronous handling of the request.
25 | nonisolated public func resourceLoader(
26 | _ resourceLoader: AVAssetResourceLoader,
| `- error: 'AVAssetResourceLoader' is unavailable in watchOS
27 | shouldWaitForLoadingOfRequestedResource loadingRequest: AVAssetResourceLoadingRequest
28 | ) -> Bool {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:33:12: note: 'AVAssetResourceLoader' has been explicitly marked unavailable here
31 |
32 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
33 | @interface AVAssetResourceLoader : NSObject {
| `- note: 'AVAssetResourceLoader' has been explicitly marked unavailable here
34 | @private
35 | AVAssetResourceLoaderInternal *_resourceLoader;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift:27:65: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
25 | nonisolated public func resourceLoader(
26 | _ resourceLoader: AVAssetResourceLoader,
27 | shouldWaitForLoadingOfRequestedResource loadingRequest: AVAssetResourceLoadingRequest
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
28 | ) -> Bool {
29 | Task {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift:46:27: error: 'AVAssetResourceLoader' is unavailable in watchOS
44 | /// - loadingRequest: The loading request that was cancelled.
45 | nonisolated public func resourceLoader(
46 | _ resourceLoader: AVAssetResourceLoader,
| `- error: 'AVAssetResourceLoader' is unavailable in watchOS
47 | didCancel loadingRequest: AVAssetResourceLoadingRequest
48 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:33:12: note: 'AVAssetResourceLoader' has been explicitly marked unavailable here
31 |
32 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
33 | @interface AVAssetResourceLoader : NSObject {
| `- note: 'AVAssetResourceLoader' has been explicitly marked unavailable here
34 | @private
35 | AVAssetResourceLoaderInternal *_resourceLoader;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift:47:35: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
45 | nonisolated public func resourceLoader(
46 | _ resourceLoader: AVAssetResourceLoader,
47 | didCancel loadingRequest: AVAssetResourceLoadingRequest
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
48 | ) {
49 | Task {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift:25:29: error: cannot override 'resourceLoader' which has been marked unavailable
23 | /// - loadingRequest: The loading request containing information about the data needed.
24 | /// - Returns: Always returns `true` to indicate asynchronous handling of the request.
25 | nonisolated public func resourceLoader(
| `- error: cannot override 'resourceLoader' which has been marked unavailable
26 | _ resourceLoader: AVAssetResourceLoader,
27 | shouldWaitForLoadingOfRequestedResource loadingRequest: AVAssetResourceLoadingRequest
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:98:1: note: 'resourceLoader(_:shouldWaitForLoadingOfRequestedResource:)' has been explicitly marked unavailable here
96 |
97 | */
98 | - (BOOL)resourceLoader:(AVAssetResourceLoader *)resourceLoader shouldWaitForLoadingOfRequestedResource:(AVAssetResourceLoadingRequest *)loadingRequest API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'resourceLoader(_:shouldWaitForLoadingOfRequestedResource:)' has been explicitly marked unavailable here
99 |
100 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift:45:29: error: cannot override 'resourceLoader' which has been marked unavailable
43 | /// - resourceLoader: The resource loader that cancelled the request.
44 | /// - loadingRequest: The loading request that was cancelled.
45 | nonisolated public func resourceLoader(
| `- error: cannot override 'resourceLoader' which has been marked unavailable
46 | _ resourceLoader: AVAssetResourceLoader,
47 | didCancel loadingRequest: AVAssetResourceLoadingRequest
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:125:1: note: 'resourceLoader(_:didCancel:)' has been explicitly marked unavailable here
123 | @discussion Previously issued loading requests can be cancelled when data from the resource is no longer required or when a loading request is superseded by new requests for data from the same resource. For example, if to complete a seek operation it becomes necessary to load a range of bytes that's different from a range previously requested, the prior request may be cancelled while the delegate is still handling it.
124 | */
125 | - (void)resourceLoader:(AVAssetResourceLoader *)resourceLoader didCancelLoadingRequest:(AVAssetResourceLoadingRequest *)loadingRequest API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'resourceLoader(_:didCancel:)' has been explicitly marked unavailable here
126 |
127 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader.swift:37:27: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
35 |
36 | /// The queue of pending loading requests.
37 | var loadingRequests: [AVAssetResourceLoadingRequest] = []
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
38 |
39 | /// A mapping of loading requests to their associated download tasks.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader.swift:40:27: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
38 |
39 | /// A mapping of loading requests to their associated download tasks.
40 | var pendingRequests: [AVAssetResourceLoadingRequest: URLSessionTask] = [:]
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
41 |
42 | /// Creates a new resource loader for the specified video URL.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
Failed frontend command:
SwiftCompile normal arm64_32 (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/AudioVisualServiceDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager+CachedResponse.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager+Data.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager+DataRange.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager+Helpers.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CodableURLResponse.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CachingAVURLAsset.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CachingPlayerItem.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/Extensions/URL+md5String.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/Preloader.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/DataRequest.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/LoadingRequest.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/Objects-normal/arm64_32/AudioVisualService-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-upcoming-feature StrictConcurrency\=complete -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AudioVisualService -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/Objects-normal/arm64_32/AudioVisualService_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/Objects-normal/arm64_32/AudioVisualService.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/Objects-normal/arm64_32/AudioVisualService.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/Objects-normal/arm64_32/AudioVisualService-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/Objects-normal/arm64_32/AudioVisualService-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/Objects-normal/arm64_32/AudioVisualService-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/Objects-normal/arm64_32/AudioVisualService.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AudioVisualService.build/Debug-watchos/AudioVisualService-t.build/Objects-normal/arm64_32/AudioVisualService.abi.json
SwiftCompile normal arm64_32 Compiling\ CacheManager+Helpers.swift,\ CacheManager.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager+Helpers.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager.swift (in target 'AudioVisualService' from project 'AudioVisualService')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager+Helpers.swift (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CacheManager+Helpers.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager.swift (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CacheManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager+Helpers.swift:79:44: warning: instance method 'makeIterator' is unavailable from asynchronous contexts; this is an error in the Swift 6 language mode
77 |
78 | var cacheFiles: [(fileURL: URL, modificationDate: Date)] = []
79 | for case let fileURL as URL in enumerator {
| `- warning: instance method 'makeIterator' is unavailable from asynchronous contexts; this is an error in the Swift 6 language mode
80 | guard let resourceValues = try? fileURL.resourceValues(forKeys: Set(resourceKeys)) else { continue }
81 | guard resourceValues.isDirectory == false else { continue }
SwiftCompile normal arm64_32 Compiling\ CodableURLResponse.swift,\ CachingAVURLAsset.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CodableURLResponse.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CachingAVURLAsset.swift (in target 'AudioVisualService' from project 'AudioVisualService')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CodableURLResponse.swift (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CodableURLResponse.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CachingAVURLAsset.swift (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CachingAVURLAsset.swift
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CachingAVURLAsset.swift:50:14: error: 'resourceLoader' is unavailable in watchOS
48 | self.customResourceLoader = ResourceLoader(url: url, serviceDelegate: serviceDelegate)
49 | super.init(url: urlWithCustomScheme, options: options)
50 | self.resourceLoader.setDelegate(self.customResourceLoader, queue: .global(qos: .userInteractive))
| `- error: 'resourceLoader' is unavailable in watchOS
51 | }
52 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAsset.h:708:56: note: 'resourceLoader' has been explicitly marked unavailable here
706 | ///
707 | /// Note that copies of an AVAsset will vend the same instance of AVAssetResourceLoader.
708 | @property (nonatomic, readonly) AVAssetResourceLoader *resourceLoader API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'resourceLoader' has been explicitly marked unavailable here
709 |
710 | @end
SwiftCompile normal arm64_32 Compiling\ AudioVisualServiceDelegate.swift,\ CacheManager+CachedResponse.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/AudioVisualServiceDelegate.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager+CachedResponse.swift (in target 'AudioVisualService' from project 'AudioVisualService')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/AudioVisualServiceDelegate.swift (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AudioVisualServiceDelegate.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CacheManager/CacheManager+CachedResponse.swift (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CacheManager+CachedResponse.swift
SwiftCompile normal arm64_32 Compiling\ Preloader.swift,\ ContentInformationRequest.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/Preloader.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift (in target 'AudioVisualService' from project 'AudioVisualService')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/Preloader.swift (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Preloader.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ContentInformationRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:26:27: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
24 | /// - Returns: `true` if the request was fulfilled immediately, `false` if handled asynchronously.
25 | internal func handleContentInformationRequest(
26 | _ loadingRequest: AVAssetResourceLoadingRequest,
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
27 | contentInformationRequest: AVAssetResourceLoadingContentInformationRequest
28 | ) -> Bool {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:27:36: error: 'AVAssetResourceLoadingContentInformationRequest' is unavailable in watchOS
25 | internal func handleContentInformationRequest(
26 | _ loadingRequest: AVAssetResourceLoadingRequest,
27 | contentInformationRequest: AVAssetResourceLoadingContentInformationRequest
| `- error: 'AVAssetResourceLoadingContentInformationRequest' is unavailable in watchOS
28 | ) -> Bool {
29 | if let response = cacheManager.getCachedResponse() {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:294:12: note: 'AVAssetResourceLoadingContentInformationRequest' has been explicitly marked unavailable here
292 |
293 | API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
294 | @interface AVAssetResourceLoadingContentInformationRequest : NSObject {
| `- note: 'AVAssetResourceLoadingContentInformationRequest' has been explicitly marked unavailable here
295 | @private
296 | AVAssetResourceLoadingContentInformationRequestInternal *_contentInformationRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:69:25: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
67 | /// - urlResponse: The URL response containing the metadata to provide.
68 | nonisolated func handleResponseForContentInformationRequest(
69 | loadingRequest: AVAssetResourceLoadingRequest,
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
70 | contentInformationRequest: AVAssetResourceLoadingContentInformationRequest,
71 | urlResponse: URLResponse
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:70:36: error: 'AVAssetResourceLoadingContentInformationRequest' is unavailable in watchOS
68 | nonisolated func handleResponseForContentInformationRequest(
69 | loadingRequest: AVAssetResourceLoadingRequest,
70 | contentInformationRequest: AVAssetResourceLoadingContentInformationRequest,
| `- error: 'AVAssetResourceLoadingContentInformationRequest' is unavailable in watchOS
71 | urlResponse: URLResponse
72 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:294:12: note: 'AVAssetResourceLoadingContentInformationRequest' has been explicitly marked unavailable here
292 |
293 | API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
294 | @interface AVAssetResourceLoadingContentInformationRequest : NSObject {
| `- note: 'AVAssetResourceLoadingContentInformationRequest' has been explicitly marked unavailable here
295 | @private
296 | AVAssetResourceLoadingContentInformationRequestInternal *_contentInformationRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:35:28: error: 'finishLoading()' is unavailable in watchOS
33 | urlResponse: response.urlResponse
34 | )
35 | loadingRequest.finishLoading()
| `- error: 'finishLoading()' is unavailable in watchOS
36 | return true
37 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:254:1: note: 'finishLoading()' has been explicitly marked unavailable here
252 | @discussion If a dataRequest is present, and the resource does not contain the full extent of the data that has been requested according to the values of the requestedOffset and requestedLength properties of the dataRequest, or if requestsAllDataToEndOfResource has a value of YES, -finishLoading may be invoked after providing as much of the requested data as the resource contains. If the contentInformationRequest property is not nil and specifies a non-empty allowedContentTypes array, the contentInformationRequest's contentType property must be set to a value within allowedContentTypes. Otherwise, this method will throw an exception.
253 | */
254 | - (void)finishLoading API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'finishLoading()' has been explicitly marked unavailable here
255 |
256 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:44:17: warning: capture of 'loadingRequest' with non-Sendable type 'AVAssetResourceLoadingRequest' in a '@Sendable' closure [#SendableClosureCaptures]
42 | let task = urlSession.dataTask(with: urlRequest) { _, urlResponse, error in
43 | guard let urlResponse, error == nil else {
44 | loadingRequest.finishLoading(with: error)
| `- warning: capture of 'loadingRequest' with non-Sendable type 'AVAssetResourceLoadingRequest' in a '@Sendable' closure [#SendableClosureCaptures]
45 | return
46 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: class 'AVAssetResourceLoadingRequest' does not conform to the 'Sendable' protocol
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: class 'AVAssetResourceLoadingRequest' does not conform to the 'Sendable' protocol
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ContentInformationRequest.swift:50:44: warning: capture of 'contentInformationRequest' with non-Sendable type 'AVAssetResourceLoadingContentInformationRequest' in a '@Sendable' closure [#SendableClosureCaptures]
48 | self.handleResponseForContentInformationRequest(
49 | loadingRequest: loadingRequest,
50 | contentInformationRequest: contentInformationRequest,
| `- warning: capture of 'contentInformationRequest' with non-Sendable type 'AVAssetResourceLoadingContentInformationRequest' in a '@Sendable' closure [#SendableClosureCaptures]
51 | urlResponse: urlResponse
52 | )
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:294:12: note: class 'AVAssetResourceLoadingContentInformationRequest' does not conform to the 'Sendable' protocol
292 |
293 | API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
294 | @interface AVAssetResourceLoadingContentInformationRequest : NSObject {
| `- note: class 'AVAssetResourceLoadingContentInformationRequest' does not conform to the 'Sendable' protocol
295 | @private
296 | AVAssetResourceLoadingContentInformationRequestInternal *_contentInformationRequest;
SwiftCompile normal arm64_32 Compiling\ CachingPlayerItem.swift,\ URL+md5String.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CachingPlayerItem.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/Extensions/URL+md5String.swift (in target 'AudioVisualService' from project 'AudioVisualService')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/CachingPlayerItem.swift (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CachingPlayerItem.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/Extensions/URL+md5String.swift (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile URL+md5String.swift
SwiftCompile normal arm64_32 Compiling\ LoadingRequest.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/LoadingRequest.swift (in target 'AudioVisualService' from project 'AudioVisualService')
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/LoadingRequest.swift:20:41: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
18 | ///
19 | /// - Parameter request: The loading request to add and process.
20 | internal func addRequest(_ request: AVAssetResourceLoadingRequest) {
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
21 | loadingRequests.append(request)
22 | processRequests()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/LoadingRequest.swift:31:35: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
29 | ///
30 | /// - Parameter request: The loading request to remove.
31 | func removeRequest(_ request: AVAssetResourceLoadingRequest) {
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
32 | if let index = loadingRequests.firstIndex(of: request) {
33 | pendingRequests[loadingRequests[index]]?.cancel()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/LoadingRequest.swift:56:51: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
54 | /// - Parameter request: The loading request to handle.
55 | /// - Returns: `true` if the request was successfully handled, `false` otherwise.
56 | internal func handleLoadingRequest(_ request: AVAssetResourceLoadingRequest) -> Bool {
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
57 | if let contentInformationRequest = request.contentInformationRequest {
58 | return handleContentInformationRequest(request, contentInformationRequest: contentInformationRequest)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/LoadingRequest.swift:57:52: error: 'contentInformationRequest' is unavailable in watchOS
55 | /// - Returns: `true` if the request was successfully handled, `false` otherwise.
56 | internal func handleLoadingRequest(_ request: AVAssetResourceLoadingRequest) -> Bool {
57 | if let contentInformationRequest = request.contentInformationRequest {
| `- error: 'contentInformationRequest' is unavailable in watchOS
58 | return handleContentInformationRequest(request, contentInformationRequest: contentInformationRequest)
59 | } else if let dataRequest = request.dataRequest {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:222:92: note: 'contentInformationRequest' has been explicitly marked unavailable here
220 | @abstract An instance of AVAssetResourceLoadingContentInformationRequest that you must populate with information about the resource before responding to any AVAssetResourceLoadingDataRequests for the resource. The value of this property will be nil if no such information is being requested.
221 | */
222 | @property (nonatomic, readonly, nullable) AVAssetResourceLoadingContentInformationRequest *contentInformationRequest API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'contentInformationRequest' has been explicitly marked unavailable here
223 |
224 | /*!
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/LoadingRequest.swift (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LoadingRequest.swift
SwiftCompile normal arm64_32 Compiling\ DataRequest.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/DataRequest.swift (in target 'AudioVisualService' from project 'AudioVisualService')
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/DataRequest.swift:26:27: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
24 | /// - Returns: Always returns `true` as the request is handled asynchronously.
25 | func handleDataRequest(
26 | _ loadingRequest: AVAssetResourceLoadingRequest,
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
27 | dataRequest: AVAssetResourceLoadingDataRequest
28 | ) -> Bool {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/DataRequest.swift:27:22: error: 'AVAssetResourceLoadingDataRequest' is unavailable in watchOS
25 | func handleDataRequest(
26 | _ loadingRequest: AVAssetResourceLoadingRequest,
27 | dataRequest: AVAssetResourceLoadingDataRequest
| `- error: 'AVAssetResourceLoadingDataRequest' is unavailable in watchOS
28 | ) -> Bool {
29 | let requestedOffset = Int(dataRequest.requestedOffset)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:360:12: note: 'AVAssetResourceLoadingDataRequest' has been explicitly marked unavailable here
358 |
359 | API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
360 | @interface AVAssetResourceLoadingDataRequest : NSObject {
| `- note: 'AVAssetResourceLoadingDataRequest' has been explicitly marked unavailable here
361 | @private
362 | AVAssetResourceLoadingDataRequestInternal *_dataRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/DataRequest.swift:34:28: error: 'finishLoading()' is unavailable in watchOS
32 | if let data = self.cacheManager.cachedData(in: range) {
33 | dataRequest.respond(with: data)
34 | loadingRequest.finishLoading()
| `- error: 'finishLoading()' is unavailable in watchOS
35 | return true
36 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:254:1: note: 'finishLoading()' has been explicitly marked unavailable here
252 | @discussion If a dataRequest is present, and the resource does not contain the full extent of the data that has been requested according to the values of the requestedOffset and requestedLength properties of the dataRequest, or if requestsAllDataToEndOfResource has a value of YES, -finishLoading may be invoked after providing as much of the requested data as the resource contains. If the contentInformationRequest property is not nil and specifies a non-empty allowedContentTypes array, the contentInformationRequest's contentType property must be set to a value within allowedContentTypes. Otherwise, this method will throw an exception.
253 | */
254 | - (void)finishLoading API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'finishLoading()' has been explicitly marked unavailable here
255 |
256 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/DataRequest.swift:48:28: error: 'finishLoading()' is unavailable in watchOS
46 |
47 | dataRequest.respond(with: data)
48 | loadingRequest.finishLoading()
| `- error: 'finishLoading()' is unavailable in watchOS
49 | self.cacheManager.appendData(data, offset: requestedOffset)
50 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:254:1: note: 'finishLoading()' has been explicitly marked unavailable here
252 | @discussion If a dataRequest is present, and the resource does not contain the full extent of the data that has been requested according to the values of the requestedOffset and requestedLength properties of the dataRequest, or if requestsAllDataToEndOfResource has a value of YES, -finishLoading may be invoked after providing as much of the requested data as the resource contains. If the contentInformationRequest property is not nil and specifies a non-empty allowedContentTypes array, the contentInformationRequest's contentType property must be set to a value within allowedContentTypes. Otherwise, this method will throw an exception.
253 | */
254 | - (void)finishLoading API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'finishLoading()' has been explicitly marked unavailable here
255 |
256 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/DataRequest.swift:43:17: warning: capture of 'loadingRequest' with non-Sendable type 'AVAssetResourceLoadingRequest' in a '@Sendable' closure [#SendableClosureCaptures]
41 | let task = urlSession.dataTask(with: urlRequest) { data, _, error in
42 | guard let data, error == nil else {
43 | loadingRequest.finishLoading(with: error)
| `- warning: capture of 'loadingRequest' with non-Sendable type 'AVAssetResourceLoadingRequest' in a '@Sendable' closure [#SendableClosureCaptures]
44 | return
45 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: class 'AVAssetResourceLoadingRequest' does not conform to the 'Sendable' protocol
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: class 'AVAssetResourceLoadingRequest' does not conform to the 'Sendable' protocol
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/DataRequest.swift (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DataRequest.swift
SwiftCompile normal arm64_32 Compiling\ ResourceLoader+Delegate.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift (in target 'AudioVisualService' from project 'AudioVisualService')
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift:26:27: error: 'AVAssetResourceLoader' is unavailable in watchOS
24 | /// - Returns: Always returns `true` to indicate asynchronous handling of the request.
25 | nonisolated public func resourceLoader(
26 | _ resourceLoader: AVAssetResourceLoader,
| `- error: 'AVAssetResourceLoader' is unavailable in watchOS
27 | shouldWaitForLoadingOfRequestedResource loadingRequest: AVAssetResourceLoadingRequest
28 | ) -> Bool {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:33:12: note: 'AVAssetResourceLoader' has been explicitly marked unavailable here
31 |
32 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
33 | @interface AVAssetResourceLoader : NSObject {
| `- note: 'AVAssetResourceLoader' has been explicitly marked unavailable here
34 | @private
35 | AVAssetResourceLoaderInternal *_resourceLoader;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift:27:65: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
25 | nonisolated public func resourceLoader(
26 | _ resourceLoader: AVAssetResourceLoader,
27 | shouldWaitForLoadingOfRequestedResource loadingRequest: AVAssetResourceLoadingRequest
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
28 | ) -> Bool {
29 | Task {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift:46:27: error: 'AVAssetResourceLoader' is unavailable in watchOS
44 | /// - loadingRequest: The loading request that was cancelled.
45 | nonisolated public func resourceLoader(
46 | _ resourceLoader: AVAssetResourceLoader,
| `- error: 'AVAssetResourceLoader' is unavailable in watchOS
47 | didCancel loadingRequest: AVAssetResourceLoadingRequest
48 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:33:12: note: 'AVAssetResourceLoader' has been explicitly marked unavailable here
31 |
32 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
33 | @interface AVAssetResourceLoader : NSObject {
| `- note: 'AVAssetResourceLoader' has been explicitly marked unavailable here
34 | @private
35 | AVAssetResourceLoaderInternal *_resourceLoader;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift:47:35: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
45 | nonisolated public func resourceLoader(
46 | _ resourceLoader: AVAssetResourceLoader,
47 | didCancel loadingRequest: AVAssetResourceLoadingRequest
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
48 | ) {
49 | Task {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift:25:29: error: cannot override 'resourceLoader' which has been marked unavailable
23 | /// - loadingRequest: The loading request containing information about the data needed.
24 | /// - Returns: Always returns `true` to indicate asynchronous handling of the request.
25 | nonisolated public func resourceLoader(
| `- error: cannot override 'resourceLoader' which has been marked unavailable
26 | _ resourceLoader: AVAssetResourceLoader,
27 | shouldWaitForLoadingOfRequestedResource loadingRequest: AVAssetResourceLoadingRequest
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:98:1: note: 'resourceLoader(_:shouldWaitForLoadingOfRequestedResource:)' has been explicitly marked unavailable here
96 |
97 | */
98 | - (BOOL)resourceLoader:(AVAssetResourceLoader *)resourceLoader shouldWaitForLoadingOfRequestedResource:(AVAssetResourceLoadingRequest *)loadingRequest API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'resourceLoader(_:shouldWaitForLoadingOfRequestedResource:)' has been explicitly marked unavailable here
99 |
100 | /*!
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader+Delegate.swift (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ResourceLoader+Delegate.swift
SwiftCompile normal arm64_32 Compiling\ ResourceLoader.swift /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader.swift (in target 'AudioVisualService' from project 'AudioVisualService')
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader.swift:37:27: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
35 |
36 | /// The queue of pending loading requests.
37 | var loadingRequests: [AVAssetResourceLoadingRequest] = []
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
38 |
39 | /// A mapping of loading requests to their associated download tasks.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader.swift:40:27: error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
38 |
39 | /// A mapping of loading requests to their associated download tasks.
40 | var pendingRequests: [AVAssetResourceLoadingRequest: URLSessionTask] = [:]
| `- error: 'AVAssetResourceLoadingRequest' is unavailable in watchOS
41 |
42 | /// Creates a new resource loader for the specified video URL.
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h:192:12: note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
190 |
191 | API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
192 | @interface AVAssetResourceLoadingRequest : NSObject {
| `- note: 'AVAssetResourceLoadingRequest' has been explicitly marked unavailable here
193 | @private
194 | AVAssetResourceLoadingRequestInternal *_loadingRequest;
/Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader.swift:58:9: warning: actor-isolated instance method 'invalidate()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
55 | }
56 |
57 | deinit {
| `- note: add 'isolated' to run isolated to 'ResourceLoader', which may be later than 'nonisolated deinit'
58 | invalidate()
| `- warning: actor-isolated instance method 'invalidate()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 |
:
64 | /// It ensures that all loading requests are properly completed and any ongoing
65 | /// network operations are cancelled. The URL session is also invalidated.
66 | public func invalidate() {
| `- note: calls to instance method 'invalidate()' from outside of its actor context are implicitly asynchronous
67 | let pendingRequests = pendingRequests
68 | self.loadingRequests.forEach {
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AudioVisualService/ResourceLoaderDelegate/ResourceLoader.swift (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ResourceLoader.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ AudioVisualService (in target 'AudioVisualService' from project 'AudioVisualService')
SwiftCompile normal arm64 (in target 'AudioVisualService' from project 'AudioVisualService')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-23 09:45:55.528 xcodebuild[764:4561] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 (in target 'AudioVisualService' from project 'AudioVisualService')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ AudioVisualService (in target 'AudioVisualService' from project 'AudioVisualService')
Building workspace AudioVisualService with scheme AudioVisualService
(3 failures)
BUILD FAILURE 6.4 watchOS