Build Information
Failed to build QRScanner, reference master (4f36bd), with Swift 6.4 for watchOS using Xcode 27.0 on 23 Sep 2026 15:20:14 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 QRScanner -destination generic/platform=watchOSBuild Log
59 | /* UIBlurEffect will provide a blur that appears to have been applied to the content layered behind the UIVisualEffectView. Views added to the contentView of a blur visual effect are not blurred themselves. */
60 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
61 | @interface UIBlurEffect : UIVisualEffect
| `- note: 'UIBlurEffect' has been explicitly marked unavailable here
62 |
63 | + (UIBlurEffect *)effectWithStyle:(UIBlurEffectStyle)style;
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:27:29: error: 'UIView' is unavailable in watchOS
25 | // MARK: - QRScannerView
26 | @IBDesignable
27 | public class QRScannerView: UIView {
| `- error: 'UIView' is unavailable in watchOS
28 |
29 | // MARK: - Input
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:352:42: error: 'AVCaptureMetadataOutput' is unavailable in watchOS
350 |
351 | extension QRScannerView: AVCaptureMetadataOutputObjectsDelegate {
352 | public func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) {
| `- error: 'AVCaptureMetadataOutput' is unavailable in watchOS
353 | guard metadataOutputEnable else { return }
354 | if let metadataObject = metadataObjects.first {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h:29:12: note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
27 | */
28 | API_AVAILABLE(macos(13.0), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
29 | @interface AVCaptureMetadataOutput : AVCaptureOutput
| `- note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
30 | {
31 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:352:95: error: 'AVMetadataObject' is unavailable in watchOS
350 |
351 | extension QRScannerView: AVCaptureMetadataOutputObjectsDelegate {
352 | public func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) {
| `- error: 'AVMetadataObject' is unavailable in watchOS
353 | guard metadataOutputEnable else { return }
354 | if let metadataObject = metadataObjects.first {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:44:12: note: 'AVMetadataObject' has been explicitly marked unavailable here
42 | */
43 | API_AVAILABLE(macos(10.10), ios(6.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos)
44 | @interface AVMetadataObject : NSObject
| `- note: 'AVMetadataObject' has been explicitly marked unavailable here
45 | {
46 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:352:131: error: 'AVCaptureConnection' is unavailable in watchOS
350 |
351 | extension QRScannerView: AVCaptureMetadataOutputObjectsDelegate {
352 | public func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) {
| `- error: 'AVCaptureConnection' is unavailable in watchOS
353 | guard metadataOutputEnable else { return }
354 | if let metadataObject = metadataObjects.first {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:894:12: note: 'AVCaptureConnection' has been explicitly marked unavailable here
892 | */
893 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
894 | @interface AVCaptureConnection : NSObject
| `- note: 'AVCaptureConnection' has been explicitly marked unavailable here
895 | {
896 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:351:26: error: 'AVCaptureMetadataOutputObjectsDelegate' is unavailable in watchOS
349 | // MARK: - AVCaptureMetadataOutputObjectsDelegate
350 |
351 | extension QRScannerView: AVCaptureMetadataOutputObjectsDelegate {
| `- error: 'AVCaptureMetadataOutputObjectsDelegate' is unavailable in watchOS
352 | public func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) {
353 | guard metadataOutputEnable else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h:126:11: note: 'AVCaptureMetadataOutputObjectsDelegate' has been explicitly marked unavailable here
124 | */
125 | API_AVAILABLE(macos(13.0), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
126 | @protocol AVCaptureMetadataOutputObjectsDelegate <NSObject>
| `- note: 'AVCaptureMetadataOutputObjectsDelegate' has been explicitly marked unavailable here
127 |
128 | @optional
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:372:41: error: 'AVCaptureOutput' is unavailable in watchOS
370 |
371 | extension QRScannerView: AVCaptureVideoDataOutputSampleBufferDelegate {
372 | public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
| `- error: 'AVCaptureOutput' is unavailable in watchOS
373 | connection.videoOrientation = .portrait
374 | guard videoDataOutputEnable else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureOutputBase.h:35:12: note: 'AVCaptureOutput' has been explicitly marked unavailable here
33 | */
34 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
35 | @interface AVCaptureOutput : NSObject
| `- note: 'AVCaptureOutput' has been explicitly marked unavailable here
36 | {
37 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:372:115: error: 'AVCaptureConnection' is unavailable in watchOS
370 |
371 | extension QRScannerView: AVCaptureVideoDataOutputSampleBufferDelegate {
372 | public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
| `- error: 'AVCaptureConnection' is unavailable in watchOS
373 | connection.videoOrientation = .portrait
374 | guard videoDataOutputEnable else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:894:12: note: 'AVCaptureConnection' has been explicitly marked unavailable here
892 | */
893 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
894 | @interface AVCaptureConnection : NSObject
| `- note: 'AVCaptureConnection' has been explicitly marked unavailable here
895 | {
896 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:371:26: error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
369 | // MARK: - AVCaptureVideoDataOutputSampleBufferDelegate
370 |
371 | extension QRScannerView: AVCaptureVideoDataOutputSampleBufferDelegate {
| `- error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
372 | public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
373 | connection.videoOrientation = .portrait
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:289:11: note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
287 | */
288 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
289 | @protocol AVCaptureVideoDataOutputSampleBufferDelegate <NSObject>
| `- note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
290 |
291 | @optional
Failed frontend command:
SwiftCompile normal arm64 (in target 'QRScanner' from project 'QRScanner')
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/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/QRScanner/Bundle+Module.swift /Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerError.swift /Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerSwiftUIView.swift /Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources/GeneratedAssetSymbols.swift -target arm64-apple-watchos9.0 -module-can-import-version DeveloperToolsSupport 24.0.24 24.0.24 -module-can-import-version SwiftUI 8.0.84.1 8.0.84 -module-can-import-version UIKit 9127.0.84.1 9127.0.84 -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/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -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 -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -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/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64/QRScanner-dependencies-1.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 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -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/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name QRScanner -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64/QRScanner_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/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64/QRScanner.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64/QRScanner.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64/QRScanner-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64/QRScanner-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64/QRScanner-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64/QRScanner.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64/QRScanner.abi.json
SwiftCompile normal arm64 Compiling\ QRScannerSwiftUIView.swift /Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerSwiftUIView.swift (in target 'QRScanner' from project 'QRScanner')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerSwiftUIView.swift (in target 'QRScanner' from project 'QRScanner')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile QRScannerSwiftUIView.swift
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerSwiftUIView.swift:52:37: error: cannot find type 'Context' in scope
50 |
51 | // MARK: - UIViewRepresentable
52 | public func makeUIView(context: Context) -> QRScannerView {
| `- error: cannot find type 'Context' in scope
53 | let qrScannerView = QRScannerView()
54 | let input = QRScannerView.Input(
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerSwiftUIView.swift:70:64: error: cannot find type 'Context' in scope
68 | }
69 |
70 | public func updateUIView(_ uiView: QRScannerView, context: Context) {
| `- error: cannot find type 'Context' in scope
71 | if isScanning {
72 | uiView.startRunning()
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerSwiftUIView.swift:4:37: error: cannot find type 'UIViewRepresentable' in scope
2 |
3 | // MARK: - QRScannerSwiftUIView
4 | public struct QRScannerSwiftUIView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
5 |
6 | // MARK: - Configuration
SwiftCompile normal arm64 Compiling\ GeneratedAssetSymbols.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources/GeneratedAssetSymbols.swift (in target 'QRScanner' from project 'QRScanner')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources/GeneratedAssetSymbols.swift (in target 'QRScanner' from project 'QRScanner')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GeneratedAssetSymbols.swift
SwiftCompile normal arm64 Compiling\ QRScannerError.swift /Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerError.swift (in target 'QRScanner' from project 'QRScanner')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerError.swift (in target 'QRScanner' from project 'QRScanner')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile QRScannerError.swift
SwiftCompile normal arm64 Compiling\ QRScannerView.swift /Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift (in target 'QRScanner' from project 'QRScanner')
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:157:27: error: 'AVCaptureSession' is unavailable in watchOS
155 | private let metadataQueue = DispatchQueue(label: "metadata.session.qrreader.queue")
156 | private let videoDataQueue = DispatchQueue(label: "videoData.session.qrreader.queue")
157 | private let session = AVCaptureSession()
| `- error: 'AVCaptureSession' is unavailable in watchOS
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
159 | private var focusImageView = UIImageView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:137:12: note: 'AVCaptureSession' has been explicitly marked unavailable here
135 | */
136 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
137 | @interface AVCaptureSession : NSObject
| `- note: 'AVCaptureSession' has been explicitly marked unavailable here
138 | {
139 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:158:31: error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
156 | private let videoDataQueue = DispatchQueue(label: "videoData.session.qrreader.queue")
157 | private let session = AVCaptureSession()
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
| `- error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
159 | private var focusImageView = UIImageView()
160 | private var qrCodeImageView = UIImageView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h:33:12: note: 'AVCaptureVideoPreviewLayer' has been explicitly marked unavailable here
31 | */
32 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
33 | @interface AVCaptureVideoPreviewLayer : CALayer
| `- note: 'AVCaptureVideoPreviewLayer' has been explicitly marked unavailable here
34 | {
35 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:159:34: error: 'UIImageView' is unavailable in watchOS
157 | private let session = AVCaptureSession()
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
159 | private var focusImageView = UIImageView()
| `- error: 'UIImageView' is unavailable in watchOS
160 | private var qrCodeImageView = UIImageView()
161 | private var metadataOutput = AVCaptureMetadataOutput()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:159:34: error: 'init()' is unavailable in watchOS
157 | private let session = AVCaptureSession()
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
159 | private var focusImageView = UIImageView()
| `- error: 'init()' is unavailable in watchOS
160 | private var qrCodeImageView = UIImageView()
161 | private var metadataOutput = AVCaptureMetadataOutput()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:160:35: error: 'UIImageView' is unavailable in watchOS
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
159 | private var focusImageView = UIImageView()
160 | private var qrCodeImageView = UIImageView()
| `- error: 'UIImageView' is unavailable in watchOS
161 | private var metadataOutput = AVCaptureMetadataOutput()
162 | private var videoDataOutput = AVCaptureVideoDataOutput()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:160:35: error: 'init()' is unavailable in watchOS
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
159 | private var focusImageView = UIImageView()
160 | private var qrCodeImageView = UIImageView()
| `- error: 'init()' is unavailable in watchOS
161 | private var metadataOutput = AVCaptureMetadataOutput()
162 | private var videoDataOutput = AVCaptureVideoDataOutput()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:161:34: error: 'AVCaptureMetadataOutput' is unavailable in watchOS
159 | private var focusImageView = UIImageView()
160 | private var qrCodeImageView = UIImageView()
161 | private var metadataOutput = AVCaptureMetadataOutput()
| `- error: 'AVCaptureMetadataOutput' is unavailable in watchOS
162 | private var videoDataOutput = AVCaptureVideoDataOutput()
163 | private var metadataOutputEnable = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h:29:12: note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
27 | */
28 | API_AVAILABLE(macos(13.0), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
29 | @interface AVCaptureMetadataOutput : AVCaptureOutput
| `- note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
30 | {
31 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:162:35: error: 'AVCaptureVideoDataOutput' is unavailable in watchOS
160 | private var qrCodeImageView = UIImageView()
161 | private var metadataOutput = AVCaptureMetadataOutput()
162 | private var videoDataOutput = AVCaptureVideoDataOutput()
| `- error: 'AVCaptureVideoDataOutput' is unavailable in watchOS
163 | private var metadataOutputEnable = false
164 | private var videoDataOutputEnable = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:31:12: note: 'AVCaptureVideoDataOutput' has been explicitly marked unavailable here
29 | */
30 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
31 | @interface AVCaptureVideoDataOutput : AVCaptureOutput
| `- note: 'AVCaptureVideoDataOutput' has been explicitly marked unavailable here
32 | {
33 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:167:38: error: 'UIVisualEffectView' is unavailable in watchOS
165 | private var torchActiveObservation: NSKeyValueObservation?
166 | private var qrCodeImage: UIImage?
167 | private lazy var blurEffectView: UIVisualEffectView = {
| `- error: 'UIVisualEffectView' is unavailable in watchOS
168 | let blurEffectView = UIVisualEffectView(effect: UIBlurEffect(style: .light))
169 | blurEffectView.frame = self.bounds
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h:28:12: note: 'UIVisualEffectView' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UIVisualEffectView : UIView <NSSecureCoding>
| `- note: 'UIVisualEffectView' has been explicitly marked unavailable here
29 |
30 | @property (nonatomic, strong, readonly) UIView *contentView; // Do not add subviews directly to UIVisualEffectView, use this view instead.
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:168:30: error: 'UIVisualEffectView' is unavailable in watchOS
166 | private var qrCodeImage: UIImage?
167 | private lazy var blurEffectView: UIVisualEffectView = {
168 | let blurEffectView = UIVisualEffectView(effect: UIBlurEffect(style: .light))
| `- error: 'UIVisualEffectView' is unavailable in watchOS
169 | blurEffectView.frame = self.bounds
170 | blurEffectView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h:28:12: note: 'UIVisualEffectView' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UIVisualEffectView : UIView <NSSecureCoding>
| `- note: 'UIVisualEffectView' has been explicitly marked unavailable here
29 |
30 | @property (nonatomic, strong, readonly) UIView *contentView; // Do not add subviews directly to UIVisualEffectView, use this view instead.
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:168:57: error: 'UIBlurEffect' is unavailable in watchOS
166 | private var qrCodeImage: UIImage?
167 | private lazy var blurEffectView: UIVisualEffectView = {
168 | let blurEffectView = UIVisualEffectView(effect: UIBlurEffect(style: .light))
| `- error: 'UIBlurEffect' is unavailable in watchOS
169 | blurEffectView.frame = self.bounds
170 | blurEffectView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h:61:12: note: 'UIBlurEffect' has been explicitly marked unavailable here
59 | /* UIBlurEffect will provide a blur that appears to have been applied to the content layered behind the UIVisualEffectView. Views added to the contentView of a blur visual effect are not blurred themselves. */
60 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
61 | @interface UIBlurEffect : UIVisualEffect
| `- note: 'UIBlurEffect' has been explicitly marked unavailable here
62 |
63 | + (UIBlurEffect *)effectWithStyle:(UIBlurEffectStyle)style;
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:27:29: error: 'UIView' is unavailable in watchOS
25 | // MARK: - QRScannerView
26 | @IBDesignable
27 | public class QRScannerView: UIView {
| `- error: 'UIView' is unavailable in watchOS
28 |
29 | // MARK: - Input
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:352:42: error: 'AVCaptureMetadataOutput' is unavailable in watchOS
350 |
351 | extension QRScannerView: AVCaptureMetadataOutputObjectsDelegate {
352 | public func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) {
| `- error: 'AVCaptureMetadataOutput' is unavailable in watchOS
353 | guard metadataOutputEnable else { return }
354 | if let metadataObject = metadataObjects.first {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h:29:12: note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
27 | */
28 | API_AVAILABLE(macos(13.0), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
29 | @interface AVCaptureMetadataOutput : AVCaptureOutput
| `- note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
30 | {
31 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:352:95: error: 'AVMetadataObject' is unavailable in watchOS
350 |
351 | extension QRScannerView: AVCaptureMetadataOutputObjectsDelegate {
352 | public func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) {
| `- error: 'AVMetadataObject' is unavailable in watchOS
353 | guard metadataOutputEnable else { return }
354 | if let metadataObject = metadataObjects.first {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:44:12: note: 'AVMetadataObject' has been explicitly marked unavailable here
42 | */
43 | API_AVAILABLE(macos(10.10), ios(6.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos)
44 | @interface AVMetadataObject : NSObject
| `- note: 'AVMetadataObject' has been explicitly marked unavailable here
45 | {
46 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:352:131: error: 'AVCaptureConnection' is unavailable in watchOS
350 |
351 | extension QRScannerView: AVCaptureMetadataOutputObjectsDelegate {
352 | public func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) {
| `- error: 'AVCaptureConnection' is unavailable in watchOS
353 | guard metadataOutputEnable else { return }
354 | if let metadataObject = metadataObjects.first {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:894:12: note: 'AVCaptureConnection' has been explicitly marked unavailable here
892 | */
893 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
894 | @interface AVCaptureConnection : NSObject
| `- note: 'AVCaptureConnection' has been explicitly marked unavailable here
895 | {
896 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:351:26: error: 'AVCaptureMetadataOutputObjectsDelegate' is unavailable in watchOS
349 | // MARK: - AVCaptureMetadataOutputObjectsDelegate
350 |
351 | extension QRScannerView: AVCaptureMetadataOutputObjectsDelegate {
| `- error: 'AVCaptureMetadataOutputObjectsDelegate' is unavailable in watchOS
352 | public func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) {
353 | guard metadataOutputEnable else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h:126:11: note: 'AVCaptureMetadataOutputObjectsDelegate' has been explicitly marked unavailable here
124 | */
125 | API_AVAILABLE(macos(13.0), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
126 | @protocol AVCaptureMetadataOutputObjectsDelegate <NSObject>
| `- note: 'AVCaptureMetadataOutputObjectsDelegate' has been explicitly marked unavailable here
127 |
128 | @optional
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift (in target 'QRScanner' from project 'QRScanner')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile QRScannerView.swift
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:372:41: error: 'AVCaptureOutput' is unavailable in watchOS
370 |
371 | extension QRScannerView: AVCaptureVideoDataOutputSampleBufferDelegate {
372 | public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
| `- error: 'AVCaptureOutput' is unavailable in watchOS
373 | connection.videoOrientation = .portrait
374 | guard videoDataOutputEnable else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureOutputBase.h:35:12: note: 'AVCaptureOutput' has been explicitly marked unavailable here
33 | */
34 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
35 | @interface AVCaptureOutput : NSObject
| `- note: 'AVCaptureOutput' has been explicitly marked unavailable here
36 | {
37 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:372:115: error: 'AVCaptureConnection' is unavailable in watchOS
370 |
371 | extension QRScannerView: AVCaptureVideoDataOutputSampleBufferDelegate {
372 | public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
| `- error: 'AVCaptureConnection' is unavailable in watchOS
373 | connection.videoOrientation = .portrait
374 | guard videoDataOutputEnable else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:894:12: note: 'AVCaptureConnection' has been explicitly marked unavailable here
892 | */
893 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
894 | @interface AVCaptureConnection : NSObject
| `- note: 'AVCaptureConnection' has been explicitly marked unavailable here
895 | {
896 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:371:26: error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
369 | // MARK: - AVCaptureVideoDataOutputSampleBufferDelegate
370 |
371 | extension QRScannerView: AVCaptureVideoDataOutputSampleBufferDelegate {
| `- error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
372 | public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
373 | connection.videoOrientation = .portrait
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:289:11: note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
287 | */
288 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
289 | @protocol AVCaptureVideoDataOutputSampleBufferDelegate <NSObject>
| `- note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
290 |
291 | @optional
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:119:33: error: 'AVCaptureDevice' is unavailable in watchOS
117 | assert(Thread.isMainThread)
118 |
119 | guard let videoDevice = AVCaptureDevice.default(for: .video),
| `- error: 'AVCaptureDevice' is unavailable in watchOS
120 | videoDevice.hasTorch, videoDevice.isTorchAvailable,
121 | (metadataOutputEnable || videoDataOutputEnable) else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:134:12: note: 'AVCaptureDevice' has been explicitly marked unavailable here
132 | */
133 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
134 | @interface AVCaptureDevice : NSObject
| `- note: 'AVCaptureDevice' has been explicitly marked unavailable here
135 | {
136 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:183:16: error: 'AVCaptureDevice' is unavailable in watchOS
181 |
182 | private func authorizationStatus() -> AuthorizationStatus {
183 | switch AVCaptureDevice.authorizationStatus(for: .video) {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
184 | case .authorized:
185 | return .authorized
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:134:12: note: 'AVCaptureDevice' has been explicitly marked unavailable here
132 | */
133 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
134 | @interface AVCaptureDevice : NSObject
| `- note: 'AVCaptureDevice' has been explicitly marked unavailable here
135 | {
136 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:202:33: error: 'AVCaptureDevice' is unavailable in watchOS
200 | private func configureSession() {
201 | // check device initialize
202 | guard let videoDevice = AVCaptureDevice.default(for: .video) else {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
203 | failure(.deviceFailure(.videoUnavailable))
204 | return
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:134:12: note: 'AVCaptureDevice' has been explicitly marked unavailable here
132 | */
133 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
134 | @interface AVCaptureDevice : NSObject
| `- note: 'AVCaptureDevice' has been explicitly marked unavailable here
135 | {
136 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:208:37: error: 'AVCaptureDeviceInput' is unavailable in watchOS
206 |
207 | // check input
208 | guard let videoInput = try? AVCaptureDeviceInput(device: videoDevice), session.canAddInput(videoInput) else {
| `- error: 'AVCaptureDeviceInput' is unavailable in watchOS
209 | failure(.deviceFailure(.inputInvalid))
210 | return
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureInput.h:182:12: note: 'AVCaptureDeviceInput' has been explicitly marked unavailable here
180 | */
181 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
182 | @interface AVCaptureDeviceInput : AVCaptureInput
| `- note: 'AVCaptureDeviceInput' has been explicitly marked unavailable here
183 | {
184 | @private
SwiftCompile normal arm64 Compiling\ Bundle+Module.swift /Users/admin/builder/spi-builder-workspace/QRScanner/Bundle+Module.swift (in target 'QRScanner' from project 'QRScanner')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/QRScanner/Bundle+Module.swift (in target 'QRScanner' from project 'QRScanner')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Bundle+Module.swift
SwiftCompile normal arm64 Compiling\ resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'QRScanner' from project 'QRScanner')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'QRScanner' from project 'QRScanner')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile resource_bundle_accessor.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ QRScanner (in target 'QRScanner' from project 'QRScanner')
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerError.swift:13:23: error: 'AVAuthorizationStatus' is unavailable in watchOS
11 |
12 | public enum QRScannerError: Error {
13 | case unauthorized(AVAuthorizationStatus)
| `- error: 'AVAuthorizationStatus' is unavailable in watchOS
14 | case deviceFailure(DeviceError)
15 | case readFailure
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:2147:28: note: 'AVAuthorizationStatus' has been explicitly marked unavailable here
2145 | The client is authorized to access the hardware supporting a media type.
2146 | */
2147 | typedef NS_ENUM(NSInteger, AVAuthorizationStatus) {
| `- note: 'AVAuthorizationStatus' has been explicitly marked unavailable here
2148 | AVAuthorizationStatusNotDetermined = 0,
2149 | AVAuthorizationStatusRestricted = 1,
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerSwiftUIView.swift:52:37: error: cannot find type 'Context' in scope
50 |
51 | // MARK: - UIViewRepresentable
52 | public func makeUIView(context: Context) -> QRScannerView {
| `- error: cannot find type 'Context' in scope
53 | let qrScannerView = QRScannerView()
54 | let input = QRScannerView.Input(
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerSwiftUIView.swift:70:64: error: cannot find type 'Context' in scope
68 | }
69 |
70 | public func updateUIView(_ uiView: QRScannerView, context: Context) {
| `- error: cannot find type 'Context' in scope
71 | if isScanning {
72 | uiView.startRunning()
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerSwiftUIView.swift:4:37: error: cannot find type 'UIViewRepresentable' in scope
2 |
3 | // MARK: - QRScannerSwiftUIView
4 | public struct QRScannerSwiftUIView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
5 |
6 | // MARK: - Configuration
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:157:27: error: 'AVCaptureSession' is unavailable in watchOS
155 | private let metadataQueue = DispatchQueue(label: "metadata.session.qrreader.queue")
156 | private let videoDataQueue = DispatchQueue(label: "videoData.session.qrreader.queue")
157 | private let session = AVCaptureSession()
| `- error: 'AVCaptureSession' is unavailable in watchOS
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
159 | private var focusImageView = UIImageView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:137:12: note: 'AVCaptureSession' has been explicitly marked unavailable here
135 | */
136 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
137 | @interface AVCaptureSession : NSObject
| `- note: 'AVCaptureSession' has been explicitly marked unavailable here
138 | {
139 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:158:31: error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
156 | private let videoDataQueue = DispatchQueue(label: "videoData.session.qrreader.queue")
157 | private let session = AVCaptureSession()
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
| `- error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
159 | private var focusImageView = UIImageView()
160 | private var qrCodeImageView = UIImageView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h:33:12: note: 'AVCaptureVideoPreviewLayer' has been explicitly marked unavailable here
31 | */
32 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
33 | @interface AVCaptureVideoPreviewLayer : CALayer
| `- note: 'AVCaptureVideoPreviewLayer' has been explicitly marked unavailable here
34 | {
35 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:159:34: error: 'UIImageView' is unavailable in watchOS
157 | private let session = AVCaptureSession()
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
159 | private var focusImageView = UIImageView()
| `- error: 'UIImageView' is unavailable in watchOS
160 | private var qrCodeImageView = UIImageView()
161 | private var metadataOutput = AVCaptureMetadataOutput()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:159:34: error: 'init()' is unavailable in watchOS
157 | private let session = AVCaptureSession()
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
159 | private var focusImageView = UIImageView()
| `- error: 'init()' is unavailable in watchOS
160 | private var qrCodeImageView = UIImageView()
161 | private var metadataOutput = AVCaptureMetadataOutput()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:160:35: error: 'UIImageView' is unavailable in watchOS
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
159 | private var focusImageView = UIImageView()
160 | private var qrCodeImageView = UIImageView()
| `- error: 'UIImageView' is unavailable in watchOS
161 | private var metadataOutput = AVCaptureMetadataOutput()
162 | private var videoDataOutput = AVCaptureVideoDataOutput()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:160:35: error: 'init()' is unavailable in watchOS
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
159 | private var focusImageView = UIImageView()
160 | private var qrCodeImageView = UIImageView()
| `- error: 'init()' is unavailable in watchOS
161 | private var metadataOutput = AVCaptureMetadataOutput()
162 | private var videoDataOutput = AVCaptureVideoDataOutput()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:161:34: error: 'AVCaptureMetadataOutput' is unavailable in watchOS
159 | private var focusImageView = UIImageView()
160 | private var qrCodeImageView = UIImageView()
161 | private var metadataOutput = AVCaptureMetadataOutput()
| `- error: 'AVCaptureMetadataOutput' is unavailable in watchOS
162 | private var videoDataOutput = AVCaptureVideoDataOutput()
163 | private var metadataOutputEnable = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h:29:12: note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
27 | */
28 | API_AVAILABLE(macos(13.0), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
29 | @interface AVCaptureMetadataOutput : AVCaptureOutput
| `- note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
30 | {
31 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:162:35: error: 'AVCaptureVideoDataOutput' is unavailable in watchOS
160 | private var qrCodeImageView = UIImageView()
161 | private var metadataOutput = AVCaptureMetadataOutput()
162 | private var videoDataOutput = AVCaptureVideoDataOutput()
| `- error: 'AVCaptureVideoDataOutput' is unavailable in watchOS
163 | private var metadataOutputEnable = false
164 | private var videoDataOutputEnable = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:31:12: note: 'AVCaptureVideoDataOutput' has been explicitly marked unavailable here
29 | */
30 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
31 | @interface AVCaptureVideoDataOutput : AVCaptureOutput
| `- note: 'AVCaptureVideoDataOutput' has been explicitly marked unavailable here
32 | {
33 | @private
SwiftCompile normal arm64_32 (in target 'QRScanner' from project 'QRScanner')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ GeneratedAssetSymbols.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources/GeneratedAssetSymbols.swift (in target 'QRScanner' from project 'QRScanner')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources/GeneratedAssetSymbols.swift (in target 'QRScanner' from project 'QRScanner')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GeneratedAssetSymbols.swift
SwiftCompile normal arm64_32 Compiling\ QRScannerView.swift /Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift (in target 'QRScanner' from project 'QRScanner')
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:157:27: error: 'AVCaptureSession' is unavailable in watchOS
155 | private let metadataQueue = DispatchQueue(label: "metadata.session.qrreader.queue")
156 | private let videoDataQueue = DispatchQueue(label: "videoData.session.qrreader.queue")
157 | private let session = AVCaptureSession()
| `- error: 'AVCaptureSession' is unavailable in watchOS
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
159 | private var focusImageView = UIImageView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:137:12: note: 'AVCaptureSession' has been explicitly marked unavailable here
135 | */
136 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
137 | @interface AVCaptureSession : NSObject
| `- note: 'AVCaptureSession' has been explicitly marked unavailable here
138 | {
139 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:158:31: error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
156 | private let videoDataQueue = DispatchQueue(label: "videoData.session.qrreader.queue")
157 | private let session = AVCaptureSession()
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
| `- error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
159 | private var focusImageView = UIImageView()
160 | private var qrCodeImageView = UIImageView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h:33:12: note: 'AVCaptureVideoPreviewLayer' has been explicitly marked unavailable here
31 | */
32 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
33 | @interface AVCaptureVideoPreviewLayer : CALayer
| `- note: 'AVCaptureVideoPreviewLayer' has been explicitly marked unavailable here
34 | {
35 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:159:34: error: 'UIImageView' is unavailable in watchOS
157 | private let session = AVCaptureSession()
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
159 | private var focusImageView = UIImageView()
| `- error: 'UIImageView' is unavailable in watchOS
160 | private var qrCodeImageView = UIImageView()
161 | private var metadataOutput = AVCaptureMetadataOutput()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:159:34: error: 'init()' is unavailable in watchOS
157 | private let session = AVCaptureSession()
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
159 | private var focusImageView = UIImageView()
| `- error: 'init()' is unavailable in watchOS
160 | private var qrCodeImageView = UIImageView()
161 | private var metadataOutput = AVCaptureMetadataOutput()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:160:35: error: 'UIImageView' is unavailable in watchOS
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
159 | private var focusImageView = UIImageView()
160 | private var qrCodeImageView = UIImageView()
| `- error: 'UIImageView' is unavailable in watchOS
161 | private var metadataOutput = AVCaptureMetadataOutput()
162 | private var videoDataOutput = AVCaptureVideoDataOutput()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:160:35: error: 'init()' is unavailable in watchOS
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
159 | private var focusImageView = UIImageView()
160 | private var qrCodeImageView = UIImageView()
| `- error: 'init()' is unavailable in watchOS
161 | private var metadataOutput = AVCaptureMetadataOutput()
162 | private var videoDataOutput = AVCaptureVideoDataOutput()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:161:34: error: 'AVCaptureMetadataOutput' is unavailable in watchOS
159 | private var focusImageView = UIImageView()
160 | private var qrCodeImageView = UIImageView()
161 | private var metadataOutput = AVCaptureMetadataOutput()
| `- error: 'AVCaptureMetadataOutput' is unavailable in watchOS
162 | private var videoDataOutput = AVCaptureVideoDataOutput()
163 | private var metadataOutputEnable = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h:29:12: note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
27 | */
28 | API_AVAILABLE(macos(13.0), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
29 | @interface AVCaptureMetadataOutput : AVCaptureOutput
| `- note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
30 | {
31 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:162:35: error: 'AVCaptureVideoDataOutput' is unavailable in watchOS
160 | private var qrCodeImageView = UIImageView()
161 | private var metadataOutput = AVCaptureMetadataOutput()
162 | private var videoDataOutput = AVCaptureVideoDataOutput()
| `- error: 'AVCaptureVideoDataOutput' is unavailable in watchOS
163 | private var metadataOutputEnable = false
164 | private var videoDataOutputEnable = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:31:12: note: 'AVCaptureVideoDataOutput' has been explicitly marked unavailable here
29 | */
30 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
31 | @interface AVCaptureVideoDataOutput : AVCaptureOutput
| `- note: 'AVCaptureVideoDataOutput' has been explicitly marked unavailable here
32 | {
33 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:167:38: error: 'UIVisualEffectView' is unavailable in watchOS
165 | private var torchActiveObservation: NSKeyValueObservation?
166 | private var qrCodeImage: UIImage?
167 | private lazy var blurEffectView: UIVisualEffectView = {
| `- error: 'UIVisualEffectView' is unavailable in watchOS
168 | let blurEffectView = UIVisualEffectView(effect: UIBlurEffect(style: .light))
169 | blurEffectView.frame = self.bounds
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h:28:12: note: 'UIVisualEffectView' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UIVisualEffectView : UIView <NSSecureCoding>
| `- note: 'UIVisualEffectView' has been explicitly marked unavailable here
29 |
30 | @property (nonatomic, strong, readonly) UIView *contentView; // Do not add subviews directly to UIVisualEffectView, use this view instead.
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:168:30: error: 'UIVisualEffectView' is unavailable in watchOS
166 | private var qrCodeImage: UIImage?
167 | private lazy var blurEffectView: UIVisualEffectView = {
168 | let blurEffectView = UIVisualEffectView(effect: UIBlurEffect(style: .light))
| `- error: 'UIVisualEffectView' is unavailable in watchOS
169 | blurEffectView.frame = self.bounds
170 | blurEffectView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h:28:12: note: 'UIVisualEffectView' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UIVisualEffectView : UIView <NSSecureCoding>
| `- note: 'UIVisualEffectView' has been explicitly marked unavailable here
29 |
30 | @property (nonatomic, strong, readonly) UIView *contentView; // Do not add subviews directly to UIVisualEffectView, use this view instead.
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:168:57: error: 'UIBlurEffect' is unavailable in watchOS
166 | private var qrCodeImage: UIImage?
167 | private lazy var blurEffectView: UIVisualEffectView = {
168 | let blurEffectView = UIVisualEffectView(effect: UIBlurEffect(style: .light))
| `- error: 'UIBlurEffect' is unavailable in watchOS
169 | blurEffectView.frame = self.bounds
170 | blurEffectView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h:61:12: note: 'UIBlurEffect' has been explicitly marked unavailable here
59 | /* UIBlurEffect will provide a blur that appears to have been applied to the content layered behind the UIVisualEffectView. Views added to the contentView of a blur visual effect are not blurred themselves. */
60 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
61 | @interface UIBlurEffect : UIVisualEffect
| `- note: 'UIBlurEffect' has been explicitly marked unavailable here
62 |
63 | + (UIBlurEffect *)effectWithStyle:(UIBlurEffectStyle)style;
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:27:29: error: 'UIView' is unavailable in watchOS
25 | // MARK: - QRScannerView
26 | @IBDesignable
27 | public class QRScannerView: UIView {
| `- error: 'UIView' is unavailable in watchOS
28 |
29 | // MARK: - Input
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:352:42: error: 'AVCaptureMetadataOutput' is unavailable in watchOS
350 |
351 | extension QRScannerView: AVCaptureMetadataOutputObjectsDelegate {
352 | public func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) {
| `- error: 'AVCaptureMetadataOutput' is unavailable in watchOS
353 | guard metadataOutputEnable else { return }
354 | if let metadataObject = metadataObjects.first {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h:29:12: note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
27 | */
28 | API_AVAILABLE(macos(13.0), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
29 | @interface AVCaptureMetadataOutput : AVCaptureOutput
| `- note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
30 | {
31 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:352:95: error: 'AVMetadataObject' is unavailable in watchOS
350 |
351 | extension QRScannerView: AVCaptureMetadataOutputObjectsDelegate {
352 | public func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) {
| `- error: 'AVMetadataObject' is unavailable in watchOS
353 | guard metadataOutputEnable else { return }
354 | if let metadataObject = metadataObjects.first {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:44:12: note: 'AVMetadataObject' has been explicitly marked unavailable here
42 | */
43 | API_AVAILABLE(macos(10.10), ios(6.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos)
44 | @interface AVMetadataObject : NSObject
| `- note: 'AVMetadataObject' has been explicitly marked unavailable here
45 | {
46 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:352:131: error: 'AVCaptureConnection' is unavailable in watchOS
350 |
351 | extension QRScannerView: AVCaptureMetadataOutputObjectsDelegate {
352 | public func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) {
| `- error: 'AVCaptureConnection' is unavailable in watchOS
353 | guard metadataOutputEnable else { return }
354 | if let metadataObject = metadataObjects.first {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:894:12: note: 'AVCaptureConnection' has been explicitly marked unavailable here
892 | */
893 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
894 | @interface AVCaptureConnection : NSObject
| `- note: 'AVCaptureConnection' has been explicitly marked unavailable here
895 | {
896 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:351:26: error: 'AVCaptureMetadataOutputObjectsDelegate' is unavailable in watchOS
349 | // MARK: - AVCaptureMetadataOutputObjectsDelegate
350 |
351 | extension QRScannerView: AVCaptureMetadataOutputObjectsDelegate {
| `- error: 'AVCaptureMetadataOutputObjectsDelegate' is unavailable in watchOS
352 | public func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) {
353 | guard metadataOutputEnable else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h:126:11: note: 'AVCaptureMetadataOutputObjectsDelegate' has been explicitly marked unavailable here
124 | */
125 | API_AVAILABLE(macos(13.0), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
126 | @protocol AVCaptureMetadataOutputObjectsDelegate <NSObject>
| `- note: 'AVCaptureMetadataOutputObjectsDelegate' has been explicitly marked unavailable here
127 |
128 | @optional
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:372:41: error: 'AVCaptureOutput' is unavailable in watchOS
370 |
371 | extension QRScannerView: AVCaptureVideoDataOutputSampleBufferDelegate {
372 | public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
| `- error: 'AVCaptureOutput' is unavailable in watchOS
373 | connection.videoOrientation = .portrait
374 | guard videoDataOutputEnable else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureOutputBase.h:35:12: note: 'AVCaptureOutput' has been explicitly marked unavailable here
33 | */
34 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
35 | @interface AVCaptureOutput : NSObject
| `- note: 'AVCaptureOutput' has been explicitly marked unavailable here
36 | {
37 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:372:115: error: 'AVCaptureConnection' is unavailable in watchOS
370 |
371 | extension QRScannerView: AVCaptureVideoDataOutputSampleBufferDelegate {
372 | public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
| `- error: 'AVCaptureConnection' is unavailable in watchOS
373 | connection.videoOrientation = .portrait
374 | guard videoDataOutputEnable else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:894:12: note: 'AVCaptureConnection' has been explicitly marked unavailable here
892 | */
893 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
894 | @interface AVCaptureConnection : NSObject
| `- note: 'AVCaptureConnection' has been explicitly marked unavailable here
895 | {
896 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:371:26: error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
369 | // MARK: - AVCaptureVideoDataOutputSampleBufferDelegate
370 |
371 | extension QRScannerView: AVCaptureVideoDataOutputSampleBufferDelegate {
| `- error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
372 | public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
373 | connection.videoOrientation = .portrait
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:289:11: note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
287 | */
288 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
289 | @protocol AVCaptureVideoDataOutputSampleBufferDelegate <NSObject>
| `- note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
290 |
291 | @optional
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift (in target 'QRScanner' from project 'QRScanner')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile QRScannerView.swift
SwiftCompile normal arm64_32 Compiling\ Bundle+Module.swift /Users/admin/builder/spi-builder-workspace/QRScanner/Bundle+Module.swift (in target 'QRScanner' from project 'QRScanner')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/QRScanner/Bundle+Module.swift (in target 'QRScanner' from project 'QRScanner')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Bundle+Module.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-23 11:20:01.677 xcodebuild[627:3954] [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 'QRScanner' from project 'QRScanner')
SwiftEmitModule normal arm64 Emitting\ module\ for\ QRScanner (in target 'QRScanner' from project 'QRScanner')
Building workspace QRScanner with scheme QRScanner
(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:
QRScanner: /Users/admin/builder/spi-builder-workspace
resolved source packages: QRScanner
2026-09-23 11:20:10.512 xcodebuild[822:4840] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "QRScanner",
"name" : "QRScanner",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
}
],
"products" : [
{
"name" : "QRScanner",
"targets" : [
"QRScanner"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "QRScanner",
"module_type" : "SwiftTarget",
"name" : "QRScanner",
"path" : "QRScanner",
"product_memberships" : [
"QRScanner"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/QRScanner/Images.xcassets",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/QRScanner/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Bundle+Module.swift",
"QRScannerError.swift",
"QRScannerSwiftUIView.swift",
"QRScannerView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
{
"workspace" : {
"name" : "QRScanner",
"schemes" : [
"QRScanner"
]
}
}
2026-09-23 11:20:11.766 xcodebuild[830:4907] [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 QRScanner -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 QRScanner -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
QRScanner: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (3 targets)
Target 'QRScanner-product' in project 'QRScanner'
➜ Explicit dependency on target 'QRScanner' in project 'QRScanner'
➜ Explicit dependency on target 'QRScanner_QRScanner' in project 'QRScanner'
Target 'QRScanner' in project 'QRScanner'
➜ Explicit dependency on target 'QRScanner_QRScanner' in project 'QRScanner'
Target 'QRScanner_QRScanner' in project 'QRScanner' (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 QRScanner normal arm64 com.apple.xcode.tools.swift.compiler (in target 'QRScanner' from project 'QRScanner')
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 QRScanner -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64/QRScanner.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -DXcode -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 -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/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64/QRScanner-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/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64/QRScanner.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64/QRScanner-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 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64/QRScanner_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/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-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/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64/QRScanner-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver QRScanner normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'QRScanner' from project 'QRScanner')
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 QRScanner -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64_32/QRScanner.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -DXcode -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 -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/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64_32/QRScanner-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/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64_32/QRScanner.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64_32/QRScanner-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 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64_32/QRScanner_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/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-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/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64_32/QRScanner-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'QRScanner' from project 'QRScanner')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'QRScanner' from project 'QRScanner')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile resource_bundle_accessor.swift
SwiftCompile normal arm64 Compiling\ QRScannerError.swift /Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerError.swift (in target 'QRScanner' from project 'QRScanner')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerError.swift (in target 'QRScanner' from project 'QRScanner')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile QRScannerError.swift
SwiftCompile normal arm64 Compiling\ Bundle+Module.swift /Users/admin/builder/spi-builder-workspace/QRScanner/Bundle+Module.swift (in target 'QRScanner' from project 'QRScanner')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/QRScanner/Bundle+Module.swift (in target 'QRScanner' from project 'QRScanner')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Bundle+Module.swift
SwiftCompile normal arm64 Compiling\ QRScannerView.swift /Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift (in target 'QRScanner' from project 'QRScanner')
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:157:27: error: 'AVCaptureSession' is unavailable in watchOS
155 | private let metadataQueue = DispatchQueue(label: "metadata.session.qrreader.queue")
156 | private let videoDataQueue = DispatchQueue(label: "videoData.session.qrreader.queue")
157 | private let session = AVCaptureSession()
| `- error: 'AVCaptureSession' is unavailable in watchOS
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
159 | private var focusImageView = UIImageView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:137:12: note: 'AVCaptureSession' has been explicitly marked unavailable here
135 | */
136 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
137 | @interface AVCaptureSession : NSObject
| `- note: 'AVCaptureSession' has been explicitly marked unavailable here
138 | {
139 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:158:31: error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
156 | private let videoDataQueue = DispatchQueue(label: "videoData.session.qrreader.queue")
157 | private let session = AVCaptureSession()
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
| `- error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
159 | private var focusImageView = UIImageView()
160 | private var qrCodeImageView = UIImageView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h:33:12: note: 'AVCaptureVideoPreviewLayer' has been explicitly marked unavailable here
31 | */
32 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
33 | @interface AVCaptureVideoPreviewLayer : CALayer
| `- note: 'AVCaptureVideoPreviewLayer' has been explicitly marked unavailable here
34 | {
35 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:159:34: error: 'UIImageView' is unavailable in watchOS
157 | private let session = AVCaptureSession()
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
159 | private var focusImageView = UIImageView()
| `- error: 'UIImageView' is unavailable in watchOS
160 | private var qrCodeImageView = UIImageView()
161 | private var metadataOutput = AVCaptureMetadataOutput()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:159:34: error: 'init()' is unavailable in watchOS
157 | private let session = AVCaptureSession()
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
159 | private var focusImageView = UIImageView()
| `- error: 'init()' is unavailable in watchOS
160 | private var qrCodeImageView = UIImageView()
161 | private var metadataOutput = AVCaptureMetadataOutput()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:160:35: error: 'UIImageView' is unavailable in watchOS
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
159 | private var focusImageView = UIImageView()
160 | private var qrCodeImageView = UIImageView()
| `- error: 'UIImageView' is unavailable in watchOS
161 | private var metadataOutput = AVCaptureMetadataOutput()
162 | private var videoDataOutput = AVCaptureVideoDataOutput()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:160:35: error: 'init()' is unavailable in watchOS
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
159 | private var focusImageView = UIImageView()
160 | private var qrCodeImageView = UIImageView()
| `- error: 'init()' is unavailable in watchOS
161 | private var metadataOutput = AVCaptureMetadataOutput()
162 | private var videoDataOutput = AVCaptureVideoDataOutput()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:161:34: error: 'AVCaptureMetadataOutput' is unavailable in watchOS
159 | private var focusImageView = UIImageView()
160 | private var qrCodeImageView = UIImageView()
161 | private var metadataOutput = AVCaptureMetadataOutput()
| `- error: 'AVCaptureMetadataOutput' is unavailable in watchOS
162 | private var videoDataOutput = AVCaptureVideoDataOutput()
163 | private var metadataOutputEnable = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h:29:12: note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
27 | */
28 | API_AVAILABLE(macos(13.0), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
29 | @interface AVCaptureMetadataOutput : AVCaptureOutput
| `- note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
30 | {
31 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:162:35: error: 'AVCaptureVideoDataOutput' is unavailable in watchOS
160 | private var qrCodeImageView = UIImageView()
161 | private var metadataOutput = AVCaptureMetadataOutput()
162 | private var videoDataOutput = AVCaptureVideoDataOutput()
| `- error: 'AVCaptureVideoDataOutput' is unavailable in watchOS
163 | private var metadataOutputEnable = false
164 | private var videoDataOutputEnable = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:31:12: note: 'AVCaptureVideoDataOutput' has been explicitly marked unavailable here
29 | */
30 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
31 | @interface AVCaptureVideoDataOutput : AVCaptureOutput
| `- note: 'AVCaptureVideoDataOutput' has been explicitly marked unavailable here
32 | {
33 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:167:38: error: 'UIVisualEffectView' is unavailable in watchOS
165 | private var torchActiveObservation: NSKeyValueObservation?
166 | private var qrCodeImage: UIImage?
167 | private lazy var blurEffectView: UIVisualEffectView = {
| `- error: 'UIVisualEffectView' is unavailable in watchOS
168 | let blurEffectView = UIVisualEffectView(effect: UIBlurEffect(style: .light))
169 | blurEffectView.frame = self.bounds
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h:28:12: note: 'UIVisualEffectView' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UIVisualEffectView : UIView <NSSecureCoding>
| `- note: 'UIVisualEffectView' has been explicitly marked unavailable here
29 |
30 | @property (nonatomic, strong, readonly) UIView *contentView; // Do not add subviews directly to UIVisualEffectView, use this view instead.
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:168:30: error: 'UIVisualEffectView' is unavailable in watchOS
166 | private var qrCodeImage: UIImage?
167 | private lazy var blurEffectView: UIVisualEffectView = {
168 | let blurEffectView = UIVisualEffectView(effect: UIBlurEffect(style: .light))
| `- error: 'UIVisualEffectView' is unavailable in watchOS
169 | blurEffectView.frame = self.bounds
170 | blurEffectView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h:28:12: note: 'UIVisualEffectView' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UIVisualEffectView : UIView <NSSecureCoding>
| `- note: 'UIVisualEffectView' has been explicitly marked unavailable here
29 |
30 | @property (nonatomic, strong, readonly) UIView *contentView; // Do not add subviews directly to UIVisualEffectView, use this view instead.
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:168:57: error: 'UIBlurEffect' is unavailable in watchOS
166 | private var qrCodeImage: UIImage?
167 | private lazy var blurEffectView: UIVisualEffectView = {
168 | let blurEffectView = UIVisualEffectView(effect: UIBlurEffect(style: .light))
| `- error: 'UIBlurEffect' is unavailable in watchOS
169 | blurEffectView.frame = self.bounds
170 | blurEffectView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h:61:12: note: 'UIBlurEffect' has been explicitly marked unavailable here
59 | /* UIBlurEffect will provide a blur that appears to have been applied to the content layered behind the UIVisualEffectView. Views added to the contentView of a blur visual effect are not blurred themselves. */
60 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
61 | @interface UIBlurEffect : UIVisualEffect
| `- note: 'UIBlurEffect' has been explicitly marked unavailable here
62 |
63 | + (UIBlurEffect *)effectWithStyle:(UIBlurEffectStyle)style;
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:27:29: error: 'UIView' is unavailable in watchOS
25 | // MARK: - QRScannerView
26 | @IBDesignable
27 | public class QRScannerView: UIView {
| `- error: 'UIView' is unavailable in watchOS
28 |
29 | // MARK: - Input
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:352:42: error: 'AVCaptureMetadataOutput' is unavailable in watchOS
350 |
351 | extension QRScannerView: AVCaptureMetadataOutputObjectsDelegate {
352 | public func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) {
| `- error: 'AVCaptureMetadataOutput' is unavailable in watchOS
353 | guard metadataOutputEnable else { return }
354 | if let metadataObject = metadataObjects.first {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h:29:12: note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
27 | */
28 | API_AVAILABLE(macos(13.0), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
29 | @interface AVCaptureMetadataOutput : AVCaptureOutput
| `- note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
30 | {
31 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:352:95: error: 'AVMetadataObject' is unavailable in watchOS
350 |
351 | extension QRScannerView: AVCaptureMetadataOutputObjectsDelegate {
352 | public func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) {
| `- error: 'AVMetadataObject' is unavailable in watchOS
353 | guard metadataOutputEnable else { return }
354 | if let metadataObject = metadataObjects.first {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:44:12: note: 'AVMetadataObject' has been explicitly marked unavailable here
42 | */
43 | API_AVAILABLE(macos(10.10), ios(6.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos)
44 | @interface AVMetadataObject : NSObject
| `- note: 'AVMetadataObject' has been explicitly marked unavailable here
45 | {
46 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:352:131: error: 'AVCaptureConnection' is unavailable in watchOS
350 |
351 | extension QRScannerView: AVCaptureMetadataOutputObjectsDelegate {
352 | public func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) {
| `- error: 'AVCaptureConnection' is unavailable in watchOS
353 | guard metadataOutputEnable else { return }
354 | if let metadataObject = metadataObjects.first {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:894:12: note: 'AVCaptureConnection' has been explicitly marked unavailable here
892 | */
893 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
894 | @interface AVCaptureConnection : NSObject
| `- note: 'AVCaptureConnection' has been explicitly marked unavailable here
895 | {
896 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:351:26: error: 'AVCaptureMetadataOutputObjectsDelegate' is unavailable in watchOS
349 | // MARK: - AVCaptureMetadataOutputObjectsDelegate
350 |
351 | extension QRScannerView: AVCaptureMetadataOutputObjectsDelegate {
| `- error: 'AVCaptureMetadataOutputObjectsDelegate' is unavailable in watchOS
352 | public func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) {
353 | guard metadataOutputEnable else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h:126:11: note: 'AVCaptureMetadataOutputObjectsDelegate' has been explicitly marked unavailable here
124 | */
125 | API_AVAILABLE(macos(13.0), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
126 | @protocol AVCaptureMetadataOutputObjectsDelegate <NSObject>
| `- note: 'AVCaptureMetadataOutputObjectsDelegate' has been explicitly marked unavailable here
127 |
128 | @optional
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:372:41: error: 'AVCaptureOutput' is unavailable in watchOS
370 |
371 | extension QRScannerView: AVCaptureVideoDataOutputSampleBufferDelegate {
372 | public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
| `- error: 'AVCaptureOutput' is unavailable in watchOS
373 | connection.videoOrientation = .portrait
374 | guard videoDataOutputEnable else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureOutputBase.h:35:12: note: 'AVCaptureOutput' has been explicitly marked unavailable here
33 | */
34 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
35 | @interface AVCaptureOutput : NSObject
| `- note: 'AVCaptureOutput' has been explicitly marked unavailable here
36 | {
37 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:372:115: error: 'AVCaptureConnection' is unavailable in watchOS
370 |
371 | extension QRScannerView: AVCaptureVideoDataOutputSampleBufferDelegate {
372 | public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
| `- error: 'AVCaptureConnection' is unavailable in watchOS
373 | connection.videoOrientation = .portrait
374 | guard videoDataOutputEnable else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:894:12: note: 'AVCaptureConnection' has been explicitly marked unavailable here
892 | */
893 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
894 | @interface AVCaptureConnection : NSObject
| `- note: 'AVCaptureConnection' has been explicitly marked unavailable here
895 | {
896 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:371:26: error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
369 | // MARK: - AVCaptureVideoDataOutputSampleBufferDelegate
370 |
371 | extension QRScannerView: AVCaptureVideoDataOutputSampleBufferDelegate {
| `- error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
372 | public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
373 | connection.videoOrientation = .portrait
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:289:11: note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
287 | */
288 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
289 | @protocol AVCaptureVideoDataOutputSampleBufferDelegate <NSObject>
| `- note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
290 |
291 | @optional
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:119:33: error: 'AVCaptureDevice' is unavailable in watchOS
117 | assert(Thread.isMainThread)
118 |
119 | guard let videoDevice = AVCaptureDevice.default(for: .video),
| `- error: 'AVCaptureDevice' is unavailable in watchOS
120 | videoDevice.hasTorch, videoDevice.isTorchAvailable,
121 | (metadataOutputEnable || videoDataOutputEnable) else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:134:12: note: 'AVCaptureDevice' has been explicitly marked unavailable here
132 | */
133 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
134 | @interface AVCaptureDevice : NSObject
| `- note: 'AVCaptureDevice' has been explicitly marked unavailable here
135 | {
136 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:183:16: error: 'AVCaptureDevice' is unavailable in watchOS
181 |
182 | private func authorizationStatus() -> AuthorizationStatus {
183 | switch AVCaptureDevice.authorizationStatus(for: .video) {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
184 | case .authorized:
185 | return .authorized
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:134:12: note: 'AVCaptureDevice' has been explicitly marked unavailable here
132 | */
133 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
134 | @interface AVCaptureDevice : NSObject
| `- note: 'AVCaptureDevice' has been explicitly marked unavailable here
135 | {
136 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:202:33: error: 'AVCaptureDevice' is unavailable in watchOS
200 | private func configureSession() {
201 | // check device initialize
202 | guard let videoDevice = AVCaptureDevice.default(for: .video) else {
| `- error: 'AVCaptureDevice' is unavailable in watchOS
203 | failure(.deviceFailure(.videoUnavailable))
204 | return
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:134:12: note: 'AVCaptureDevice' has been explicitly marked unavailable here
132 | */
133 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
134 | @interface AVCaptureDevice : NSObject
| `- note: 'AVCaptureDevice' has been explicitly marked unavailable here
135 | {
136 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:208:37: error: 'AVCaptureDeviceInput' is unavailable in watchOS
206 |
207 | // check input
208 | guard let videoInput = try? AVCaptureDeviceInput(device: videoDevice), session.canAddInput(videoInput) else {
| `- error: 'AVCaptureDeviceInput' is unavailable in watchOS
209 | failure(.deviceFailure(.inputInvalid))
210 | return
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureInput.h:182:12: note: 'AVCaptureDeviceInput' has been explicitly marked unavailable here
180 | */
181 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
182 | @interface AVCaptureDeviceInput : AVCaptureInput
| `- note: 'AVCaptureDeviceInput' has been explicitly marked unavailable here
183 | {
184 | @private
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift (in target 'QRScanner' from project 'QRScanner')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile QRScannerView.swift
SwiftCompile normal arm64 Compiling\ QRScannerSwiftUIView.swift /Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerSwiftUIView.swift (in target 'QRScanner' from project 'QRScanner')
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerSwiftUIView.swift:52:37: error: cannot find type 'Context' in scope
50 |
51 | // MARK: - UIViewRepresentable
52 | public func makeUIView(context: Context) -> QRScannerView {
| `- error: cannot find type 'Context' in scope
53 | let qrScannerView = QRScannerView()
54 | let input = QRScannerView.Input(
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerSwiftUIView.swift:70:64: error: cannot find type 'Context' in scope
68 | }
69 |
70 | public func updateUIView(_ uiView: QRScannerView, context: Context) {
| `- error: cannot find type 'Context' in scope
71 | if isScanning {
72 | uiView.startRunning()
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerSwiftUIView.swift:4:37: error: cannot find type 'UIViewRepresentable' in scope
2 |
3 | // MARK: - QRScannerSwiftUIView
4 | public struct QRScannerSwiftUIView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
5 |
6 | // MARK: - Configuration
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerSwiftUIView.swift (in target 'QRScanner' from project 'QRScanner')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile QRScannerSwiftUIView.swift
SwiftCompile normal arm64 Compiling\ GeneratedAssetSymbols.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources/GeneratedAssetSymbols.swift (in target 'QRScanner' from project 'QRScanner')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources/GeneratedAssetSymbols.swift (in target 'QRScanner' from project 'QRScanner')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GeneratedAssetSymbols.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ QRScanner (in target 'QRScanner' from project 'QRScanner')
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerError.swift:13:23: error: 'AVAuthorizationStatus' is unavailable in watchOS
11 |
12 | public enum QRScannerError: Error {
13 | case unauthorized(AVAuthorizationStatus)
| `- error: 'AVAuthorizationStatus' is unavailable in watchOS
14 | case deviceFailure(DeviceError)
15 | case readFailure
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:2147:28: note: 'AVAuthorizationStatus' has been explicitly marked unavailable here
2145 | The client is authorized to access the hardware supporting a media type.
2146 | */
2147 | typedef NS_ENUM(NSInteger, AVAuthorizationStatus) {
| `- note: 'AVAuthorizationStatus' has been explicitly marked unavailable here
2148 | AVAuthorizationStatusNotDetermined = 0,
2149 | AVAuthorizationStatusRestricted = 1,
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerSwiftUIView.swift:52:37: error: cannot find type 'Context' in scope
50 |
51 | // MARK: - UIViewRepresentable
52 | public func makeUIView(context: Context) -> QRScannerView {
| `- error: cannot find type 'Context' in scope
53 | let qrScannerView = QRScannerView()
54 | let input = QRScannerView.Input(
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerSwiftUIView.swift:70:64: error: cannot find type 'Context' in scope
68 | }
69 |
70 | public func updateUIView(_ uiView: QRScannerView, context: Context) {
| `- error: cannot find type 'Context' in scope
71 | if isScanning {
72 | uiView.startRunning()
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerSwiftUIView.swift:4:37: error: cannot find type 'UIViewRepresentable' in scope
2 |
3 | // MARK: - QRScannerSwiftUIView
4 | public struct QRScannerSwiftUIView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
5 |
6 | // MARK: - Configuration
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:157:27: error: 'AVCaptureSession' is unavailable in watchOS
155 | private let metadataQueue = DispatchQueue(label: "metadata.session.qrreader.queue")
156 | private let videoDataQueue = DispatchQueue(label: "videoData.session.qrreader.queue")
157 | private let session = AVCaptureSession()
| `- error: 'AVCaptureSession' is unavailable in watchOS
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
159 | private var focusImageView = UIImageView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:137:12: note: 'AVCaptureSession' has been explicitly marked unavailable here
135 | */
136 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
137 | @interface AVCaptureSession : NSObject
| `- note: 'AVCaptureSession' has been explicitly marked unavailable here
138 | {
139 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:158:31: error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
156 | private let videoDataQueue = DispatchQueue(label: "videoData.session.qrreader.queue")
157 | private let session = AVCaptureSession()
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
| `- error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
159 | private var focusImageView = UIImageView()
160 | private var qrCodeImageView = UIImageView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h:33:12: note: 'AVCaptureVideoPreviewLayer' has been explicitly marked unavailable here
31 | */
32 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
33 | @interface AVCaptureVideoPreviewLayer : CALayer
| `- note: 'AVCaptureVideoPreviewLayer' has been explicitly marked unavailable here
34 | {
35 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:159:34: error: 'UIImageView' is unavailable in watchOS
157 | private let session = AVCaptureSession()
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
159 | private var focusImageView = UIImageView()
| `- error: 'UIImageView' is unavailable in watchOS
160 | private var qrCodeImageView = UIImageView()
161 | private var metadataOutput = AVCaptureMetadataOutput()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:159:34: error: 'init()' is unavailable in watchOS
157 | private let session = AVCaptureSession()
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
159 | private var focusImageView = UIImageView()
| `- error: 'init()' is unavailable in watchOS
160 | private var qrCodeImageView = UIImageView()
161 | private var metadataOutput = AVCaptureMetadataOutput()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:160:35: error: 'UIImageView' is unavailable in watchOS
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
159 | private var focusImageView = UIImageView()
160 | private var qrCodeImageView = UIImageView()
| `- error: 'UIImageView' is unavailable in watchOS
161 | private var metadataOutput = AVCaptureMetadataOutput()
162 | private var videoDataOutput = AVCaptureVideoDataOutput()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:160:35: error: 'init()' is unavailable in watchOS
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
159 | private var focusImageView = UIImageView()
160 | private var qrCodeImageView = UIImageView()
| `- error: 'init()' is unavailable in watchOS
161 | private var metadataOutput = AVCaptureMetadataOutput()
162 | private var videoDataOutput = AVCaptureVideoDataOutput()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:161:34: error: 'AVCaptureMetadataOutput' is unavailable in watchOS
159 | private var focusImageView = UIImageView()
160 | private var qrCodeImageView = UIImageView()
161 | private var metadataOutput = AVCaptureMetadataOutput()
| `- error: 'AVCaptureMetadataOutput' is unavailable in watchOS
162 | private var videoDataOutput = AVCaptureVideoDataOutput()
163 | private var metadataOutputEnable = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h:29:12: note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
27 | */
28 | API_AVAILABLE(macos(13.0), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
29 | @interface AVCaptureMetadataOutput : AVCaptureOutput
| `- note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
30 | {
31 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:162:35: error: 'AVCaptureVideoDataOutput' is unavailable in watchOS
160 | private var qrCodeImageView = UIImageView()
161 | private var metadataOutput = AVCaptureMetadataOutput()
162 | private var videoDataOutput = AVCaptureVideoDataOutput()
| `- error: 'AVCaptureVideoDataOutput' is unavailable in watchOS
163 | private var metadataOutputEnable = false
164 | private var videoDataOutputEnable = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:31:12: note: 'AVCaptureVideoDataOutput' has been explicitly marked unavailable here
29 | */
30 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
31 | @interface AVCaptureVideoDataOutput : AVCaptureOutput
| `- note: 'AVCaptureVideoDataOutput' has been explicitly marked unavailable here
32 | {
33 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:167:38: error: 'UIVisualEffectView' is unavailable in watchOS
165 | private var torchActiveObservation: NSKeyValueObservation?
166 | private var qrCodeImage: UIImage?
167 | private lazy var blurEffectView: UIVisualEffectView = {
| `- error: 'UIVisualEffectView' is unavailable in watchOS
168 | let blurEffectView = UIVisualEffectView(effect: UIBlurEffect(style: .light))
169 | blurEffectView.frame = self.bounds
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h:28:12: note: 'UIVisualEffectView' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UIVisualEffectView : UIView <NSSecureCoding>
| `- note: 'UIVisualEffectView' has been explicitly marked unavailable here
29 |
30 | @property (nonatomic, strong, readonly) UIView *contentView; // Do not add subviews directly to UIVisualEffectView, use this view instead.
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:168:30: error: 'UIVisualEffectView' is unavailable in watchOS
166 | private var qrCodeImage: UIImage?
167 | private lazy var blurEffectView: UIVisualEffectView = {
168 | let blurEffectView = UIVisualEffectView(effect: UIBlurEffect(style: .light))
| `- error: 'UIVisualEffectView' is unavailable in watchOS
169 | blurEffectView.frame = self.bounds
170 | blurEffectView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h:28:12: note: 'UIVisualEffectView' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UIVisualEffectView : UIView <NSSecureCoding>
| `- note: 'UIVisualEffectView' has been explicitly marked unavailable here
29 |
30 | @property (nonatomic, strong, readonly) UIView *contentView; // Do not add subviews directly to UIVisualEffectView, use this view instead.
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:168:57: error: 'UIBlurEffect' is unavailable in watchOS
166 | private var qrCodeImage: UIImage?
167 | private lazy var blurEffectView: UIVisualEffectView = {
168 | let blurEffectView = UIVisualEffectView(effect: UIBlurEffect(style: .light))
| `- error: 'UIBlurEffect' is unavailable in watchOS
169 | blurEffectView.frame = self.bounds
170 | blurEffectView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h:61:12: note: 'UIBlurEffect' has been explicitly marked unavailable here
59 | /* UIBlurEffect will provide a blur that appears to have been applied to the content layered behind the UIVisualEffectView. Views added to the contentView of a blur visual effect are not blurred themselves. */
60 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
61 | @interface UIBlurEffect : UIVisualEffect
| `- note: 'UIBlurEffect' has been explicitly marked unavailable here
62 |
63 | + (UIBlurEffect *)effectWithStyle:(UIBlurEffectStyle)style;
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:27:29: error: 'UIView' is unavailable in watchOS
25 | // MARK: - QRScannerView
26 | @IBDesignable
27 | public class QRScannerView: UIView {
| `- error: 'UIView' is unavailable in watchOS
28 |
29 | // MARK: - Input
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:352:42: error: 'AVCaptureMetadataOutput' is unavailable in watchOS
350 |
351 | extension QRScannerView: AVCaptureMetadataOutputObjectsDelegate {
352 | public func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) {
| `- error: 'AVCaptureMetadataOutput' is unavailable in watchOS
353 | guard metadataOutputEnable else { return }
354 | if let metadataObject = metadataObjects.first {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h:29:12: note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
27 | */
28 | API_AVAILABLE(macos(13.0), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
29 | @interface AVCaptureMetadataOutput : AVCaptureOutput
| `- note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
30 | {
31 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:352:95: error: 'AVMetadataObject' is unavailable in watchOS
350 |
351 | extension QRScannerView: AVCaptureMetadataOutputObjectsDelegate {
352 | public func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) {
| `- error: 'AVMetadataObject' is unavailable in watchOS
353 | guard metadataOutputEnable else { return }
354 | if let metadataObject = metadataObjects.first {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:44:12: note: 'AVMetadataObject' has been explicitly marked unavailable here
42 | */
43 | API_AVAILABLE(macos(10.10), ios(6.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos)
44 | @interface AVMetadataObject : NSObject
| `- note: 'AVMetadataObject' has been explicitly marked unavailable here
45 | {
46 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:352:131: error: 'AVCaptureConnection' is unavailable in watchOS
350 |
351 | extension QRScannerView: AVCaptureMetadataOutputObjectsDelegate {
352 | public func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) {
| `- error: 'AVCaptureConnection' is unavailable in watchOS
353 | guard metadataOutputEnable else { return }
354 | if let metadataObject = metadataObjects.first {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:894:12: note: 'AVCaptureConnection' has been explicitly marked unavailable here
892 | */
893 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
894 | @interface AVCaptureConnection : NSObject
| `- note: 'AVCaptureConnection' has been explicitly marked unavailable here
895 | {
896 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:351:26: error: 'AVCaptureMetadataOutputObjectsDelegate' is unavailable in watchOS
349 | // MARK: - AVCaptureMetadataOutputObjectsDelegate
350 |
351 | extension QRScannerView: AVCaptureMetadataOutputObjectsDelegate {
| `- error: 'AVCaptureMetadataOutputObjectsDelegate' is unavailable in watchOS
352 | public func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) {
353 | guard metadataOutputEnable else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h:126:11: note: 'AVCaptureMetadataOutputObjectsDelegate' has been explicitly marked unavailable here
124 | */
125 | API_AVAILABLE(macos(13.0), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
126 | @protocol AVCaptureMetadataOutputObjectsDelegate <NSObject>
| `- note: 'AVCaptureMetadataOutputObjectsDelegate' has been explicitly marked unavailable here
127 |
128 | @optional
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:372:41: error: 'AVCaptureOutput' is unavailable in watchOS
370 |
371 | extension QRScannerView: AVCaptureVideoDataOutputSampleBufferDelegate {
372 | public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
| `- error: 'AVCaptureOutput' is unavailable in watchOS
373 | connection.videoOrientation = .portrait
374 | guard videoDataOutputEnable else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureOutputBase.h:35:12: note: 'AVCaptureOutput' has been explicitly marked unavailable here
33 | */
34 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
35 | @interface AVCaptureOutput : NSObject
| `- note: 'AVCaptureOutput' has been explicitly marked unavailable here
36 | {
37 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:372:115: error: 'AVCaptureConnection' is unavailable in watchOS
370 |
371 | extension QRScannerView: AVCaptureVideoDataOutputSampleBufferDelegate {
372 | public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
| `- error: 'AVCaptureConnection' is unavailable in watchOS
373 | connection.videoOrientation = .portrait
374 | guard videoDataOutputEnable else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:894:12: note: 'AVCaptureConnection' has been explicitly marked unavailable here
892 | */
893 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
894 | @interface AVCaptureConnection : NSObject
| `- note: 'AVCaptureConnection' has been explicitly marked unavailable here
895 | {
896 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:371:26: error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
369 | // MARK: - AVCaptureVideoDataOutputSampleBufferDelegate
370 |
371 | extension QRScannerView: AVCaptureVideoDataOutputSampleBufferDelegate {
| `- error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
372 | public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
373 | connection.videoOrientation = .portrait
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:289:11: note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
287 | */
288 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
289 | @protocol AVCaptureVideoDataOutputSampleBufferDelegate <NSObject>
| `- note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
290 |
291 | @optional
Failed frontend command:
/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/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/QRScanner/Bundle+Module.swift /Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerError.swift /Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerSwiftUIView.swift /Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources/GeneratedAssetSymbols.swift -target arm64-apple-watchos9.0 -module-can-import-version DeveloperToolsSupport 24.0.24 24.0.24 -module-can-import-version SwiftUI 8.0.84.1 8.0.84 -module-can-import-version UIKit 9127.0.84.1 9127.0.84 -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/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -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 -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -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/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64/QRScanner-dependencies-1.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 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -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/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name QRScanner -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64/QRScanner_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/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64/QRScanner.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64/QRScanner.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64/QRScanner-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64/QRScanner-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64/QRScanner-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64/QRScanner.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64/QRScanner.abi.json
SwiftCompile normal arm64 (in target 'QRScanner' from project 'QRScanner')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ QRScanner (in target 'QRScanner' from project 'QRScanner')
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerError.swift:13:23: error: 'AVAuthorizationStatus' is unavailable in watchOS
11 |
12 | public enum QRScannerError: Error {
13 | case unauthorized(AVAuthorizationStatus)
| `- error: 'AVAuthorizationStatus' is unavailable in watchOS
14 | case deviceFailure(DeviceError)
15 | case readFailure
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:2147:28: note: 'AVAuthorizationStatus' has been explicitly marked unavailable here
2145 | The client is authorized to access the hardware supporting a media type.
2146 | */
2147 | typedef NS_ENUM(NSInteger, AVAuthorizationStatus) {
| `- note: 'AVAuthorizationStatus' has been explicitly marked unavailable here
2148 | AVAuthorizationStatusNotDetermined = 0,
2149 | AVAuthorizationStatusRestricted = 1,
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerSwiftUIView.swift:52:37: error: cannot find type 'Context' in scope
50 |
51 | // MARK: - UIViewRepresentable
52 | public func makeUIView(context: Context) -> QRScannerView {
| `- error: cannot find type 'Context' in scope
53 | let qrScannerView = QRScannerView()
54 | let input = QRScannerView.Input(
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerSwiftUIView.swift:70:64: error: cannot find type 'Context' in scope
68 | }
69 |
70 | public func updateUIView(_ uiView: QRScannerView, context: Context) {
| `- error: cannot find type 'Context' in scope
71 | if isScanning {
72 | uiView.startRunning()
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerSwiftUIView.swift:4:37: error: cannot find type 'UIViewRepresentable' in scope
2 |
3 | // MARK: - QRScannerSwiftUIView
4 | public struct QRScannerSwiftUIView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
5 |
6 | // MARK: - Configuration
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:157:27: error: 'AVCaptureSession' is unavailable in watchOS
155 | private let metadataQueue = DispatchQueue(label: "metadata.session.qrreader.queue")
156 | private let videoDataQueue = DispatchQueue(label: "videoData.session.qrreader.queue")
157 | private let session = AVCaptureSession()
| `- error: 'AVCaptureSession' is unavailable in watchOS
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
159 | private var focusImageView = UIImageView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:137:12: note: 'AVCaptureSession' has been explicitly marked unavailable here
135 | */
136 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
137 | @interface AVCaptureSession : NSObject
| `- note: 'AVCaptureSession' has been explicitly marked unavailable here
138 | {
139 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:158:31: error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
156 | private let videoDataQueue = DispatchQueue(label: "videoData.session.qrreader.queue")
157 | private let session = AVCaptureSession()
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
| `- error: 'AVCaptureVideoPreviewLayer' is unavailable in watchOS
159 | private var focusImageView = UIImageView()
160 | private var qrCodeImageView = UIImageView()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h:33:12: note: 'AVCaptureVideoPreviewLayer' has been explicitly marked unavailable here
31 | */
32 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
33 | @interface AVCaptureVideoPreviewLayer : CALayer
| `- note: 'AVCaptureVideoPreviewLayer' has been explicitly marked unavailable here
34 | {
35 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:159:34: error: 'UIImageView' is unavailable in watchOS
157 | private let session = AVCaptureSession()
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
159 | private var focusImageView = UIImageView()
| `- error: 'UIImageView' is unavailable in watchOS
160 | private var qrCodeImageView = UIImageView()
161 | private var metadataOutput = AVCaptureMetadataOutput()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:159:34: error: 'init()' is unavailable in watchOS
157 | private let session = AVCaptureSession()
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
159 | private var focusImageView = UIImageView()
| `- error: 'init()' is unavailable in watchOS
160 | private var qrCodeImageView = UIImageView()
161 | private var metadataOutput = AVCaptureMetadataOutput()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:160:35: error: 'UIImageView' is unavailable in watchOS
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
159 | private var focusImageView = UIImageView()
160 | private var qrCodeImageView = UIImageView()
| `- error: 'UIImageView' is unavailable in watchOS
161 | private var metadataOutput = AVCaptureMetadataOutput()
162 | private var videoDataOutput = AVCaptureVideoDataOutput()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h:21:12: note: 'UIImageView' has been explicitly marked unavailable here
19 |
20 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
21 | @interface UIImageView : UIView
| `- note: 'UIImageView' has been explicitly marked unavailable here
22 |
23 | - (instancetype)initWithImage:(nullable UIImage *)image;
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:160:35: error: 'init()' is unavailable in watchOS
158 | private var previewLayer: AVCaptureVideoPreviewLayer?
159 | private var focusImageView = UIImageView()
160 | private var qrCodeImageView = UIImageView()
| `- error: 'init()' is unavailable in watchOS
161 | private var metadataOutput = AVCaptureMetadataOutput()
162 | private var videoDataOutput = AVCaptureVideoDataOutput()
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:158:1: note: 'init()' has been explicitly marked unavailable here
156 | - (instancetype)initWithFrame:(CGRect)frame NS_DESIGNATED_INITIALIZER;
157 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
158 | - (instancetype)init API_AVAILABLE(ios(2.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'init()' has been explicitly marked unavailable here
159 |
160 | @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default is YES. if set to NO, user events (touch, keys) are ignored and removed from the event queue.
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:161:34: error: 'AVCaptureMetadataOutput' is unavailable in watchOS
159 | private var focusImageView = UIImageView()
160 | private var qrCodeImageView = UIImageView()
161 | private var metadataOutput = AVCaptureMetadataOutput()
| `- error: 'AVCaptureMetadataOutput' is unavailable in watchOS
162 | private var videoDataOutput = AVCaptureVideoDataOutput()
163 | private var metadataOutputEnable = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h:29:12: note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
27 | */
28 | API_AVAILABLE(macos(13.0), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
29 | @interface AVCaptureMetadataOutput : AVCaptureOutput
| `- note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
30 | {
31 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:162:35: error: 'AVCaptureVideoDataOutput' is unavailable in watchOS
160 | private var qrCodeImageView = UIImageView()
161 | private var metadataOutput = AVCaptureMetadataOutput()
162 | private var videoDataOutput = AVCaptureVideoDataOutput()
| `- error: 'AVCaptureVideoDataOutput' is unavailable in watchOS
163 | private var metadataOutputEnable = false
164 | private var videoDataOutputEnable = false
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:31:12: note: 'AVCaptureVideoDataOutput' has been explicitly marked unavailable here
29 | */
30 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
31 | @interface AVCaptureVideoDataOutput : AVCaptureOutput
| `- note: 'AVCaptureVideoDataOutput' has been explicitly marked unavailable here
32 | {
33 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:167:38: error: 'UIVisualEffectView' is unavailable in watchOS
165 | private var torchActiveObservation: NSKeyValueObservation?
166 | private var qrCodeImage: UIImage?
167 | private lazy var blurEffectView: UIVisualEffectView = {
| `- error: 'UIVisualEffectView' is unavailable in watchOS
168 | let blurEffectView = UIVisualEffectView(effect: UIBlurEffect(style: .light))
169 | blurEffectView.frame = self.bounds
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h:28:12: note: 'UIVisualEffectView' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UIVisualEffectView : UIView <NSSecureCoding>
| `- note: 'UIVisualEffectView' has been explicitly marked unavailable here
29 |
30 | @property (nonatomic, strong, readonly) UIView *contentView; // Do not add subviews directly to UIVisualEffectView, use this view instead.
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:168:30: error: 'UIVisualEffectView' is unavailable in watchOS
166 | private var qrCodeImage: UIImage?
167 | private lazy var blurEffectView: UIVisualEffectView = {
168 | let blurEffectView = UIVisualEffectView(effect: UIBlurEffect(style: .light))
| `- error: 'UIVisualEffectView' is unavailable in watchOS
169 | blurEffectView.frame = self.bounds
170 | blurEffectView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h:28:12: note: 'UIVisualEffectView' has been explicitly marked unavailable here
26 |
27 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
28 | @interface UIVisualEffectView : UIView <NSSecureCoding>
| `- note: 'UIVisualEffectView' has been explicitly marked unavailable here
29 |
30 | @property (nonatomic, strong, readonly) UIView *contentView; // Do not add subviews directly to UIVisualEffectView, use this view instead.
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:168:57: error: 'UIBlurEffect' is unavailable in watchOS
166 | private var qrCodeImage: UIImage?
167 | private lazy var blurEffectView: UIVisualEffectView = {
168 | let blurEffectView = UIVisualEffectView(effect: UIBlurEffect(style: .light))
| `- error: 'UIBlurEffect' is unavailable in watchOS
169 | blurEffectView.frame = self.bounds
170 | blurEffectView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h:61:12: note: 'UIBlurEffect' has been explicitly marked unavailable here
59 | /* UIBlurEffect will provide a blur that appears to have been applied to the content layered behind the UIVisualEffectView. Views added to the contentView of a blur visual effect are not blurred themselves. */
60 | UIKIT_EXTERN API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
61 | @interface UIBlurEffect : UIVisualEffect
| `- note: 'UIBlurEffect' has been explicitly marked unavailable here
62 |
63 | + (UIBlurEffect *)effectWithStyle:(UIBlurEffectStyle)style;
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:27:29: error: 'UIView' is unavailable in watchOS
25 | // MARK: - QRScannerView
26 | @IBDesignable
27 | public class QRScannerView: UIView {
| `- error: 'UIView' is unavailable in watchOS
28 |
29 | // MARK: - Input
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:152:12: note: 'UIView' has been explicitly marked unavailable here
150 |
151 | UIKIT_EXTERN API_AVAILABLE(ios(2.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
152 | @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate>
| `- note: 'UIView' has been explicitly marked unavailable here
153 |
154 | @property(class, nonatomic, readonly) Class layerClass; // default is [CALayer class]. Used when creating the underlying layer for the view.
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:352:42: error: 'AVCaptureMetadataOutput' is unavailable in watchOS
350 |
351 | extension QRScannerView: AVCaptureMetadataOutputObjectsDelegate {
352 | public func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) {
| `- error: 'AVCaptureMetadataOutput' is unavailable in watchOS
353 | guard metadataOutputEnable else { return }
354 | if let metadataObject = metadataObjects.first {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h:29:12: note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
27 | */
28 | API_AVAILABLE(macos(13.0), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
29 | @interface AVCaptureMetadataOutput : AVCaptureOutput
| `- note: 'AVCaptureMetadataOutput' has been explicitly marked unavailable here
30 | {
31 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:352:95: error: 'AVMetadataObject' is unavailable in watchOS
350 |
351 | extension QRScannerView: AVCaptureMetadataOutputObjectsDelegate {
352 | public func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) {
| `- error: 'AVMetadataObject' is unavailable in watchOS
353 | guard metadataOutputEnable else { return }
354 | if let metadataObject = metadataObjects.first {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h:44:12: note: 'AVMetadataObject' has been explicitly marked unavailable here
42 | */
43 | API_AVAILABLE(macos(10.10), ios(6.0), macCatalyst(14.0), tvos(9.0)) API_UNAVAILABLE(watchos, visionos)
44 | @interface AVMetadataObject : NSObject
| `- note: 'AVMetadataObject' has been explicitly marked unavailable here
45 | {
46 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:352:131: error: 'AVCaptureConnection' is unavailable in watchOS
350 |
351 | extension QRScannerView: AVCaptureMetadataOutputObjectsDelegate {
352 | public func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) {
| `- error: 'AVCaptureConnection' is unavailable in watchOS
353 | guard metadataOutputEnable else { return }
354 | if let metadataObject = metadataObjects.first {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:894:12: note: 'AVCaptureConnection' has been explicitly marked unavailable here
892 | */
893 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
894 | @interface AVCaptureConnection : NSObject
| `- note: 'AVCaptureConnection' has been explicitly marked unavailable here
895 | {
896 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:351:26: error: 'AVCaptureMetadataOutputObjectsDelegate' is unavailable in watchOS
349 | // MARK: - AVCaptureMetadataOutputObjectsDelegate
350 |
351 | extension QRScannerView: AVCaptureMetadataOutputObjectsDelegate {
| `- error: 'AVCaptureMetadataOutputObjectsDelegate' is unavailable in watchOS
352 | public func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) {
353 | guard metadataOutputEnable else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h:126:11: note: 'AVCaptureMetadataOutputObjectsDelegate' has been explicitly marked unavailable here
124 | */
125 | API_AVAILABLE(macos(13.0), ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
126 | @protocol AVCaptureMetadataOutputObjectsDelegate <NSObject>
| `- note: 'AVCaptureMetadataOutputObjectsDelegate' has been explicitly marked unavailable here
127 |
128 | @optional
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:372:41: error: 'AVCaptureOutput' is unavailable in watchOS
370 |
371 | extension QRScannerView: AVCaptureVideoDataOutputSampleBufferDelegate {
372 | public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
| `- error: 'AVCaptureOutput' is unavailable in watchOS
373 | connection.videoOrientation = .portrait
374 | guard videoDataOutputEnable else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureOutputBase.h:35:12: note: 'AVCaptureOutput' has been explicitly marked unavailable here
33 | */
34 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
35 | @interface AVCaptureOutput : NSObject
| `- note: 'AVCaptureOutput' has been explicitly marked unavailable here
36 | {
37 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:372:115: error: 'AVCaptureConnection' is unavailable in watchOS
370 |
371 | extension QRScannerView: AVCaptureVideoDataOutputSampleBufferDelegate {
372 | public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
| `- error: 'AVCaptureConnection' is unavailable in watchOS
373 | connection.videoOrientation = .portrait
374 | guard videoDataOutputEnable else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:894:12: note: 'AVCaptureConnection' has been explicitly marked unavailable here
892 | */
893 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
894 | @interface AVCaptureConnection : NSObject
| `- note: 'AVCaptureConnection' has been explicitly marked unavailable here
895 | {
896 | @private
/Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift:371:26: error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
369 | // MARK: - AVCaptureVideoDataOutputSampleBufferDelegate
370 |
371 | extension QRScannerView: AVCaptureVideoDataOutputSampleBufferDelegate {
| `- error: 'AVCaptureVideoDataOutputSampleBufferDelegate' is unavailable in watchOS
372 | public func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection) {
373 | connection.videoOrientation = .portrait
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h:289:11: note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
287 | */
288 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(watchos)
289 | @protocol AVCaptureVideoDataOutputSampleBufferDelegate <NSObject>
| `- note: 'AVCaptureVideoDataOutputSampleBufferDelegate' has been explicitly marked unavailable here
290 |
291 | @optional
Failed frontend command:
/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/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/QRScanner/Bundle+Module.swift /Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerError.swift /Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerSwiftUIView.swift /Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerView.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources/GeneratedAssetSymbols.swift -target arm64_32-apple-watchos9.0 -module-can-import-version DeveloperToolsSupport 24.0.24 24.0.24 -module-can-import-version SwiftUI 8.0.84.1 8.0.84 -module-can-import-version UIKit 9127.0.84.1 9127.0.84 -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/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -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 -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -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/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64_32/QRScanner-dependencies-2.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 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -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/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name QRScanner -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64_32/QRScanner_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/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64_32/QRScanner.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64_32/QRScanner.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64_32/QRScanner-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64_32/QRScanner-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64_32/QRScanner-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64_32/QRScanner.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/Objects-normal/arm64_32/QRScanner.abi.json
SwiftCompile normal arm64_32 (in target 'QRScanner' from project 'QRScanner')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ QRScannerError.swift /Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerError.swift (in target 'QRScanner' from project 'QRScanner')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/QRScanner/QRScannerError.swift (in target 'QRScanner' from project 'QRScanner')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile QRScannerError.swift
SwiftCompile normal arm64_32 Compiling\ resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'QRScanner' from project 'QRScanner')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources/resource_bundle_accessor.swift (in target 'QRScanner' from project 'QRScanner')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile resource_bundle_accessor.swift
SwiftCompile normal arm64_32 Compiling\ GeneratedAssetSymbols.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources/GeneratedAssetSymbols.swift (in target 'QRScanner' from project 'QRScanner')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/QRScanner.build/Debug-watchos/QRScanner-t.build/DerivedSources/GeneratedAssetSymbols.swift (in target 'QRScanner' from project 'QRScanner')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GeneratedAssetSymbols.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 11:20:12.743 xcodebuild[831:4931] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ QRScanner (in target 'QRScanner' from project 'QRScanner')
SwiftCompile normal arm64 (in target 'QRScanner' from project 'QRScanner')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ QRScanner (in target 'QRScanner' from project 'QRScanner')
SwiftCompile normal arm64_32 (in target 'QRScanner' from project 'QRScanner')
Building workspace QRScanner with scheme QRScanner
(5 failures)
BUILD FAILURE 6.4 watchOS