The Swift Package Index logo.Swift Package Index

Build Information

Failed to build YOLO, reference v1.0.0 (816652), with Swift 6.4 for visionOS using Xcode 27.0 on 21 Sep 2026 18:51:00 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 YOLO -destination generic/platform=xrOS

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fatihdurmaz/yolo-ios-sdk.git
Reference: v1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fatihdurmaz/yolo-ios-sdk
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at 816652b Update README.md
Cloned https://github.com/fatihdurmaz/yolo-ios-sdk.git
Revision (git rev-parse @):
816652bd3341d53057e803c658cf81b9109a9b7b
SUCCESS checkout https://github.com/fatihdurmaz/yolo-ios-sdk.git at v1.0.0
========================================
Build
========================================
Selected platform:         visionOS
Swift version:             6.4
Building package at path:  $PWD
https://github.com/fatihdurmaz/yolo-ios-sdk.git
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
Resolve Package Graph
Resolved source packages:
  YOLO: /Users/admin/builder/spi-builder-workspace
resolved source packages: YOLO
2026-09-21 14:50:14.806 xcodebuild[529:3013] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "YOLO",
  "name" : "YOLO",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "YOLO",
      "targets" : [
        "YOLO"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "YOLOTests",
      "module_type" : "SwiftTarget",
      "name" : "YOLOTests",
      "path" : "Tests/YOLOTests",
      "sources" : [
        "YOLOTests.swift"
      ],
      "target_dependencies" : [
        "YOLO"
      ],
      "type" : "test"
    },
    {
      "c99name" : "YOLO",
      "module_type" : "SwiftTarget",
      "name" : "YOLO",
      "path" : "Sources/YOLO",
      "product_memberships" : [
        "YOLO"
      ],
      "sources" : [
        "BoundingBoxView.swift",
        "ObjectDetector.swift",
        "Plot.swift",
        "Predictor.swift",
        "ThresholdProvider.swift",
        "VideoCapture.swift",
        "YOLO.swift",
        "YOLOCamera.swift",
        "YOLOResult.swift",
        "YOLOTask.swift",
        "YOLOView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
{
  "workspace" : {
    "name" : "YOLO",
    "schemes" : [
      "YOLO"
    ]
  }
}
2026-09-21 14:50:47.261 xcodebuild[626:3814] [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 YOLO -destination generic/platform=xrOS
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 YOLO -destination generic/platform=xrOS
Resolve Package Graph
Resolved source packages:
  YOLO: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
    Target 'YOLO-product' in project 'YOLO'
        ➜ Explicit dependency on target 'YOLO' in project 'YOLO'
    Target 'YOLO' in project 'YOLO' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 87a1557d6a96746855a275c8b3ca309e
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/87a1557d6a96746855a275c8b3ca309e.xcbuilddata
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/CompilationCache.noindex
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/CompilationCache.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
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/XROS.platform/Developer/SDKs/XROS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.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/XROS.platform/Developer/SDKs/XROS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PrecompiledHeaders
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PrecompiledHeaders
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/YOLO.DependencyStaticMetadataFileList (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/YOLO.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/YOLO.DependencyMetadataFileList (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/YOLO.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/YOLO.modulemap (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/YOLO.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO.SwiftConstValuesFileList (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO_const_extract_protocols.json (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO.LinkFileList (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO.SwiftFileList (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO-OutputFileMap.json (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO-OutputFileMap.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/YOLO.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/YOLO.modulemap (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/YOLO.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros
SwiftDriver YOLO normal arm64 com.apple.xcode.tools.swift.compiler (in target 'YOLO' from project 'YOLO')
    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 YOLO -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -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/XROS.platform/Developer/SDKs/XROS27.0.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO-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/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO-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/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-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/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stddef-2IE0R9M96I5XG0WY72N2UIQ8V.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ShaderGraph-60HTPBNDVX0CX5JIAYFVTA9L4.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdarg-62NPPE4D8O3BNLU35D74TGLVQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftShims-2HAZ94YF1BA79JLFTAIV7APMW.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_AvailabilityInternal-6BH9T8OE123ARKKFOJFR111NS.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdbool-1Q6BTYNEVHC9M74WL5O5GJ1ZM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_float-1J8SO31WACP82RKV0LOTRKG39.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-9Q1PN7OTQZN7B0Z9D7V7Q8UB1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrcheck-98Y8DWD0HPCMRMDFKAEZCA81O.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DeveloperToolsSupport-194HZPFNNCEHRVXIO6O8L9S0O.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_SwiftConcurrencyShims-9H7TQT237JM0VTD7TXCR6CNM9.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-AVZIQZ8HOAUXTT5CXVE5TNG7E.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_limits-599EXAY0E7DPK78D1JASUXYCQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-E0NXA4K8N3W3XTJG0EDH15WR2.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdint-F1DLW8WMMSOC414RWOQWK8OS8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_tgmath-6A504NZTD9420A66PPDYUHISN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/sys_types-A3BBS6FJZK4C974FRQ5ZCTND7.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-BGPLTZ4H9HACR813QKF6VS72D.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdatomic-158FFQF46AB7DZCSEC3RCRTFC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation3-C1P0SZMW1CBYZ1956G2WPAGVQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_intrinsics-3111M8ALPD4YFW0NUUUBCM0JD.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_inttypes-9DU9NJC5HKVLIXJ97CZROETBU.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Darwin-ET1KOXI5QIB2QZ81K0LJ5SCNP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/simd-7J2M7D2SOHYQ7IO8MYH2RXTKH.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Compression-AWLKXRSW3OXQLKCGRZY0UH7UZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MachO-6F2CAO15JWU9TP0S5ZC6PL9IB.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ObjectiveC-7UYOWV2RO2CMEGURP3Y7WLPAT.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-A49MUZWNB60JKCX0NMFXESEZD.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-1J3Q9ELSMX5271913GPIT75QV.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-7TDXDXPVVCZ0IQLPT2W4Z1AW3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Spatial-92H2FIVGSGXGN6Z0PM4QAD9U8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/dnssd-3O0RNR51LL3EG0N1T07ZFMALS.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-5D49BF05JAG3T79HLXZS0QOEB.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-1U8J3QOEPI1JREQTBJYCK4Z2Z.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os-7D3ZMGEZW9BBPJG5AFYWTJQLV.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreGraphics-AY8OPKLJIGMHZ9MYROUT854WA.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CFNetwork-8XNJAT23SK5D0OET9NV9X387I.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-4BDO3J0PXFNR7ZRKSDSXCO6IM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudioTypes-312R5U71UD8UC735GBX55K3US.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudio-BNVVZ0H6VD0B9Q2N4KZUSB6RB.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-48S9SVOOX01R4NP8KF0LJG57Z.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ImageIO-IAKQMD68GVR7DW77YOHGK8X7.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreText-3Q9AYRR8Y0RMYX4VGST56EDCZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DataDetection-7LQD8Z3LW2FUEO4CR6TGECXW0.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_LocationEssentials-32JNDL0Y7WK6X17R1HPKJCQEE.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/LocalAuthentication-DY23D7R1X7DY7BV7FZ6NHSR9L.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIUtilities-F3U0HSZMZSXCP772P753OT1G5.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreData-5V8622D8G59RJKITQSAST89GC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UniformTypeIdentifiers-9BPZRHV9PRGRSU35W243D89CW.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Accessibility-8QB8DU95K5GFNCPAUIMZLHBIU.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreTransferable-EFMTSDPFE8WPPM5HOZ47P0KQO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UserNotifications-6JIY9EEYAYYTJITYYQZF42LAH.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMIDI-3PXS069A7G7J69W6C2O4U64TR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Network-59OXS1WBU0E96MTVI1BQ4Y8O0.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OSLog-3CTW8AFBZNTJNTYU2CNXR306R.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Symbols-ECOU17NNJUYRSDVSZI1SX0DNL.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/IOSurface-2D5KLETWRIPRMLT8HCRTTINH3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreLocation-E62WUNIY48I4BO5WNB3SVVIP8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/FileProvider-C1CJK6EJC5IUBTWZU8FS47OM3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AudioToolbox-BIB990ZQT6Y2YX7R0HKENKU6T.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Metal-CAKGHYH5ACDACD017V00QOQC9.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OpenGLES-CKJ9EEPIRPNP44Q12R6YOKS1E.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMotion-DCVNRIJ2COFK7QG37YNW48EGV.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVRouting-A58BUG9HB1NCTPD2PCCO84ARM.pcm
SwiftExplicitDependencyCompileModuleFromInterface arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ShaderGraph-URHKVVOFZL5Z.swiftmodule
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreVideo-4PK3Q849TG28PPFW9ON3UC1O9.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreImage-9GN6OPXIJ356C54K347I7T417.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreML-C2BW2527PDNODK16LJ9I668C8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Accelerate-EL415SMJCPM9SHLS09EH215TL.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMedia-X23SRPCPJE6SQFHHHYCZ7WVC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/QuartzCore-6ZHUATRF8P4D51R22KZF8F6EG.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ARKitFoundation-BT979VLYXKXTC443T81YQQEY1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUICore-374BUSM2QWS9MQO694AHOADDT.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVFAudio-7A6YZTGYW2RLZD9E99CP5838N.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Vision-3I7AR38LZFB22SF4LQC7Q6KA.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MediaToolbox-ANHHEHPC85W3ECWTCJ308UFOE.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/VideoToolbox-3P3B69YG5JT8YUFOCSUNDM59.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UIKit-1PV3XTOUQPUVY5I4MLPUAXR9J.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AVFoundation-81FTBCX2AZLM90X977V6F8213.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ARKitCore-3XTE32VQMIOYU5QR9S293LZS1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/GameController-X9URPRY7QBKI12E33T2Y28WV.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUI-C448PJ9D4ZYA5OED1YDWBD562.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ARKit-DR3A0F7OE5VAP1U4QICI8GJ1B.pcm
SwiftCompile normal arm64 Compiling\ YOLOTask.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOTask.swift (in target 'YOLO' from project 'YOLO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOTask.swift (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile YOLOTask.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ YOLO (in target 'YOLO' from project 'YOLO')
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:28:23: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
 26 | class VideoCapture: NSObject,@unchecked Sendable {
 27 |     var predictor:Predictor?
 28 |     var previewLayer: AVCaptureVideoPreviewLayer?
    |                       `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
 29 |     weak var delegate: VideoCaptureDelegate?
 30 |     var captureDevice: AVCaptureDevice?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.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/Sources/YOLO/VideoCapture.swift:34:23: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 32 |     var videoInput: AVCaptureDeviceInput? = nil
 33 |     let videoOutput = AVCaptureVideoDataOutput()
 34 |     var photoOutput = AVCapturePhotoOutput()
    |                       `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 35 |     let cameraQueue = DispatchQueue(label: "camera-queue")
 36 |     var lastCapturedPhoto: UIImage? = nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:39:48: error: 'Preset' is unavailable in visionOS
 37 |     private var currentBuffer: CVPixelBuffer?
 38 |
 39 |     func setUp(sessionPreset: AVCaptureSession.Preset = .hd1280x720,
    |                                                `- error: 'Preset' is unavailable in visionOS
 40 |                       position: AVCaptureDevice.Position,
 41 |                       completion: @escaping (Bool) -> Void) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
 19 |     Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
 20 |  */
 21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
    |                    `- note: 'Preset' has been explicitly marked unavailable here
 22 |
 23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:39:58: error: 'hd1280x720' is unavailable in visionOS
 37 |     private var currentBuffer: CVPixelBuffer?
 38 |
 39 |     func setUp(sessionPreset: AVCaptureSession.Preset = .hd1280x720,
    |                                                          `- error: 'hd1280x720' is unavailable in visionOS
 40 |                       position: AVCaptureDevice.Position,
 41 |                       completion: @escaping (Bool) -> Void) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:111:41: note: 'hd1280x720' has been explicitly marked unavailable here
109 |     Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPreset1280x720 to achieve 1280x720 output.
110 |  */
111 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPreset1280x720 API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
    |                                         `- note: 'hd1280x720' has been explicitly marked unavailable here
112 |
113 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:50:54: error: 'Preset' is unavailable in visionOS
 48 |     }
 49 |
 50 |     func setUpCamera(sessionPreset: AVCaptureSession.Preset, position: AVCaptureDevice.Position) -> Bool {
    |                                                      `- error: 'Preset' is unavailable in visionOS
 51 |         captureSession.beginConfiguration()
 52 |         captureSession.sessionPreset = sessionPreset
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
 19 |     Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
 20 |  */
 21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
    |                    `- note: 'Preset' has been explicitly marked unavailable here
 22 |
 23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:168:45: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
166 |     }
167 |
168 |     func updateVideoOrientation(orientation:AVCaptureVideoOrientation) {
    |                                             `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
169 |       guard let connection = videoOutput.connection(with: .video) else { return }
170 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 102 |
 103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
 104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
     |                            `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 105 |     /// Indicates that video should be oriented vertically, port on the bottom.
 106 |     AVCaptureVideoOrientationPortrait           = 1,
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:191:32: error: 'AVCapturePhotoOutput' is unavailable in visionOS
189 | extension VideoCapture: AVCapturePhotoCaptureDelegate {
190 |     @available(iOS 11.0, *)
191 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
    |                                `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
192 |         guard let data = photo.fileDataRepresentation(),
193 |               let image =  UIImage(data: data) else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:191:86: error: 'AVCapturePhoto' is unavailable in visionOS
189 | extension VideoCapture: AVCapturePhotoCaptureDelegate {
190 |     @available(iOS 11.0, *)
191 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
    |                                                                                      `- error: 'AVCapturePhoto' is unavailable in visionOS
192 |         guard let data = photo.fileDataRepresentation(),
193 |               let image =  UIImage(data: data) else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1979:12: note: 'AVCapturePhoto' has been explicitly marked unavailable here
1977 |  */
1978 | API_AVAILABLE(macos(10.15), ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1979 | @interface AVCapturePhoto : NSObject
     |            `- note: 'AVCapturePhoto' has been explicitly marked unavailable here
1980 | {
1981 | @private
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:191:10: error: cannot override 'photoOutput' which has been marked unavailable
189 | extension VideoCapture: AVCapturePhotoCaptureDelegate {
190 |     @available(iOS 11.0, *)
191 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
    |          `- error: cannot override 'photoOutput' which has been marked unavailable
192 |         guard let data = photo.fileDataRepresentation(),
193 |               let image =  UIImage(data: data) else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1053:1: note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1051 |     This callback fires resolvedSettings.expectedPhotoCount number of times for a given capture request. Note that the photo parameter is always non nil, even if an error is returned. The delivered AVCapturePhoto's rawPhoto property can be queried to know if it's a RAW image or processed image.
1052 |  */
1053 | - (void)captureOutput:(AVCapturePhotoOutput *)output didFinishProcessingPhoto:(AVCapturePhoto *)photo error:(nullable NSError *)error API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
     | `- note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1054 |
1055 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:189:25: error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
187 | }
188 |
189 | extension VideoCapture: AVCapturePhotoCaptureDelegate {
    |                         `- error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
190 |     @available(iOS 11.0, *)
191 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:990:11: note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
 988 |  */
 989 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 990 | @protocol AVCapturePhotoCaptureDelegate <NSObject>
     |           `- note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
 991 |
 992 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOView.swift:52:21: error: 'UISelectionFeedbackGenerator' is unavailable in visionOS
 50 |     public var switchCameraButton = UIButton()
 51 |     public var toolbar = UIView()
 52 |     let selection = UISelectionFeedbackGenerator()
    |                     `- error: 'UISelectionFeedbackGenerator' is unavailable in visionOS
 53 |
 54 |     private let minimumZoom: CGFloat = 1.0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISelectionFeedbackGenerator.h:15:12: note: 'UISelectionFeedbackGenerator' has been explicitly marked unavailable here
13 | // UISelectionFeedbackGenerator is used to give user feedback when a selection changes
14 | UIKIT_EXTERN API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(visionos, tvos) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
15 | @interface UISelectionFeedbackGenerator : UIFeedbackGenerator
   |            `- note: 'UISelectionFeedbackGenerator' has been explicitly marked unavailable here
16 |
17 | /// call when the selection changes (not on initial selection)
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOView.swift:696:15: error: 'AVCapturePhotoOutput' is unavailable in visionOS
694 | extension YOLOView: @preconcurrency AVCapturePhotoCaptureDelegate {
695 |     public func photoOutput(
696 |     _ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?
    |               `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
697 |   ) {
698 |     if let error = error {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOView.swift:696:69: error: 'AVCapturePhoto' is unavailable in visionOS
694 | extension YOLOView: @preconcurrency AVCapturePhotoCaptureDelegate {
695 |     public func photoOutput(
696 |     _ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?
    |                                                                     `- error: 'AVCapturePhoto' is unavailable in visionOS
697 |   ) {
698 |     if let error = error {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1979:12: note: 'AVCapturePhoto' has been explicitly marked unavailable here
1977 |  */
1978 | API_AVAILABLE(macos(10.15), ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1979 | @interface AVCapturePhoto : NSObject
     |            `- note: 'AVCapturePhoto' has been explicitly marked unavailable here
1980 | {
1981 | @private
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOView.swift:695:17: error: cannot override 'photoOutput' which has been marked unavailable
693 |
694 | extension YOLOView: @preconcurrency AVCapturePhotoCaptureDelegate {
695 |     public func photoOutput(
    |                 `- error: cannot override 'photoOutput' which has been marked unavailable
696 |     _ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?
697 |   ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1053:1: note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1051 |     This callback fires resolvedSettings.expectedPhotoCount number of times for a given capture request. Note that the photo parameter is always non nil, even if an error is returned. The delivered AVCapturePhoto's rawPhoto property can be queried to know if it's a RAW image or processed image.
1052 |  */
1053 | - (void)captureOutput:(AVCapturePhotoOutput *)output didFinishProcessingPhoto:(AVCapturePhoto *)photo error:(nullable NSError *)error API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
     | `- note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1054 |
1055 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOView.swift:694:37: error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
692 | }
693 |
694 | extension YOLOView: @preconcurrency AVCapturePhotoCaptureDelegate {
    |                                     `- error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
695 |     public func photoOutput(
696 |     _ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:990:11: note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
 988 |  */
 989 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 990 | @protocol AVCapturePhotoCaptureDelegate <NSObject>
     |           `- note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
 991 |
 992 | @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/Sources/YOLO/BoundingBoxView.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/ObjectDetector.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/Plot.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/Predictor.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/ThresholdProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLO.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOResult.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOTask.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOView.swift -target arm64-apple-xros1.0 -disable-cross-import-overlay-search -swift-module-cross-import Vision /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS.sdk/System/Library/Frameworks/Vision.framework/Modules/Vision.swiftcrossimport/FoundationModels.swiftoverlay -swift-module-cross-import Vision /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/Vision.framework/Modules/Vision.swiftcrossimport/FoundationModels.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.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/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -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/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name YOLO -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-xros27.0 -target-sdk-version 27.0 -target-sdk-name xros27.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/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO.abi.json
SwiftCompile normal arm64 (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ YOLOCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOCamera.swift (in target 'YOLO' from project 'YOLO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOCamera.swift (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile YOLOCamera.swift
SwiftCompile normal arm64 Compiling\ VideoCapture.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift (in target 'YOLO' from project 'YOLO')
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:28:23: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
 26 | class VideoCapture: NSObject,@unchecked Sendable {
 27 |     var predictor:Predictor?
 28 |     var previewLayer: AVCaptureVideoPreviewLayer?
    |                       `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
 29 |     weak var delegate: VideoCaptureDelegate?
 30 |     var captureDevice: AVCaptureDevice?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.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/Sources/YOLO/VideoCapture.swift:34:23: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 32 |     var videoInput: AVCaptureDeviceInput? = nil
 33 |     let videoOutput = AVCaptureVideoDataOutput()
 34 |     var photoOutput = AVCapturePhotoOutput()
    |                       `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 35 |     let cameraQueue = DispatchQueue(label: "camera-queue")
 36 |     var lastCapturedPhoto: UIImage? = nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:39:48: error: 'Preset' is unavailable in visionOS
 37 |     private var currentBuffer: CVPixelBuffer?
 38 |
 39 |     func setUp(sessionPreset: AVCaptureSession.Preset = .hd1280x720,
    |                                                `- error: 'Preset' is unavailable in visionOS
 40 |                       position: AVCaptureDevice.Position,
 41 |                       completion: @escaping (Bool) -> Void) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
 19 |     Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
 20 |  */
 21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
    |                    `- note: 'Preset' has been explicitly marked unavailable here
 22 |
 23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:39:58: error: 'hd1280x720' is unavailable in visionOS
 37 |     private var currentBuffer: CVPixelBuffer?
 38 |
 39 |     func setUp(sessionPreset: AVCaptureSession.Preset = .hd1280x720,
    |                                                          `- error: 'hd1280x720' is unavailable in visionOS
 40 |                       position: AVCaptureDevice.Position,
 41 |                       completion: @escaping (Bool) -> Void) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:111:41: note: 'hd1280x720' has been explicitly marked unavailable here
109 |     Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPreset1280x720 to achieve 1280x720 output.
110 |  */
111 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPreset1280x720 API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
    |                                         `- note: 'hd1280x720' has been explicitly marked unavailable here
112 |
113 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:50:54: error: 'Preset' is unavailable in visionOS
 48 |     }
 49 |
 50 |     func setUpCamera(sessionPreset: AVCaptureSession.Preset, position: AVCaptureDevice.Position) -> Bool {
    |                                                      `- error: 'Preset' is unavailable in visionOS
 51 |         captureSession.beginConfiguration()
 52 |         captureSession.sessionPreset = sessionPreset
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
 19 |     Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
 20 |  */
 21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
    |                    `- note: 'Preset' has been explicitly marked unavailable here
 22 |
 23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:168:45: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
166 |     }
167 |
168 |     func updateVideoOrientation(orientation:AVCaptureVideoOrientation) {
    |                                             `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
169 |       guard let connection = videoOutput.connection(with: .video) else { return }
170 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 102 |
 103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
 104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
     |                            `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 105 |     /// Indicates that video should be oriented vertically, port on the bottom.
 106 |     AVCaptureVideoOrientationPortrait           = 1,
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:191:32: error: 'AVCapturePhotoOutput' is unavailable in visionOS
189 | extension VideoCapture: AVCapturePhotoCaptureDelegate {
190 |     @available(iOS 11.0, *)
191 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
    |                                `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
192 |         guard let data = photo.fileDataRepresentation(),
193 |               let image =  UIImage(data: data) else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:191:86: error: 'AVCapturePhoto' is unavailable in visionOS
189 | extension VideoCapture: AVCapturePhotoCaptureDelegate {
190 |     @available(iOS 11.0, *)
191 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
    |                                                                                      `- error: 'AVCapturePhoto' is unavailable in visionOS
192 |         guard let data = photo.fileDataRepresentation(),
193 |               let image =  UIImage(data: data) else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1979:12: note: 'AVCapturePhoto' has been explicitly marked unavailable here
1977 |  */
1978 | API_AVAILABLE(macos(10.15), ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1979 | @interface AVCapturePhoto : NSObject
     |            `- note: 'AVCapturePhoto' has been explicitly marked unavailable here
1980 | {
1981 | @private
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:191:10: error: cannot override 'photoOutput' which has been marked unavailable
189 | extension VideoCapture: AVCapturePhotoCaptureDelegate {
190 |     @available(iOS 11.0, *)
191 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
    |          `- error: cannot override 'photoOutput' which has been marked unavailable
192 |         guard let data = photo.fileDataRepresentation(),
193 |               let image =  UIImage(data: data) else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1053:1: note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1051 |     This callback fires resolvedSettings.expectedPhotoCount number of times for a given capture request. Note that the photo parameter is always non nil, even if an error is returned. The delivered AVCapturePhoto's rawPhoto property can be queried to know if it's a RAW image or processed image.
1052 |  */
1053 | - (void)captureOutput:(AVCapturePhotoOutput *)output didFinishProcessingPhoto:(AVCapturePhoto *)photo error:(nullable NSError *)error API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
     | `- note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1054 |
1055 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:189:25: error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
187 | }
188 |
189 | extension VideoCapture: AVCapturePhotoCaptureDelegate {
    |                         `- error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
190 |     @available(iOS 11.0, *)
191 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:990:11: note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
 988 |  */
 989 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 990 | @protocol AVCapturePhotoCaptureDelegate <NSObject>
     |           `- note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
 991 |
 992 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:15:90: error: 'default(_:for:position:)' is only available in visionOS 2.1 or newer
  9 | }
 10 |
 11 | func bestCaptureDevice(position: AVCaptureDevice.Position) -> AVCaptureDevice {
    |      `- note: add '@available' attribute to enclosing global function
 12 |     // print("USE TELEPHOTO: ")
 13 |     // print(UserDefaults.standard.bool(forKey: "use_telephoto"))
 14 |
 15 |     if UserDefaults.standard.bool(forKey: "use_telephoto"), let device = AVCaptureDevice.default(.builtInTelephotoCamera, for: .video, position: position) {
    |                                                                                          |- error: 'default(_:for:position:)' is only available in visionOS 2.1 or newer
    |                                                                                          `- note: add 'if #available' version check
 16 |         return device
 17 |     } else if let device = AVCaptureDevice.default(.builtInDualCamera, for: .video, position: position) {
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:15:99: error: 'builtInTelephotoCamera' is unavailable in visionOS
 13 |     // print(UserDefaults.standard.bool(forKey: "use_telephoto"))
 14 |
 15 |     if UserDefaults.standard.bool(forKey: "use_telephoto"), let device = AVCaptureDevice.default(.builtInTelephotoCamera, for: .video, position: position) {
    |                                                                                                   `- error: 'builtInTelephotoCamera' is unavailable in visionOS
 16 |         return device
 17 |     } else if let device = AVCaptureDevice.default(.builtInDualCamera, for: .video, position: position) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:568:38: note: 'builtInTelephotoCamera' has been explicitly marked unavailable here
 566 |     A built-in camera device with a longer focal length than a wide angle camera. Note that devices of this type may only be discovered using an AVCaptureDeviceDiscoverySession.
 567 |  */
 568 | AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInTelephotoCamera API_AVAILABLE(ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     |                                      `- note: 'builtInTelephotoCamera' has been explicitly marked unavailable here
 569 |
 570 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:17:44: error: 'default(_:for:position:)' is only available in visionOS 2.1 or newer
  9 | }
 10 |
 11 | func bestCaptureDevice(position: AVCaptureDevice.Position) -> AVCaptureDevice {
    |      `- note: add '@available' attribute to enclosing global function
 12 |     // print("USE TELEPHOTO: ")
 13 |     // print(UserDefaults.standard.bool(forKey: "use_telephoto"))
    :
 15 |     if UserDefaults.standard.bool(forKey: "use_telephoto"), let device = AVCaptureDevice.default(.builtInTelephotoCamera, for: .video, position: position) {
 16 |         return device
 17 |     } else if let device = AVCaptureDevice.default(.builtInDualCamera, for: .video, position: position) {
    |                                            |- error: 'default(_:for:position:)' is only available in visionOS 2.1 or newer
    |                                            `- note: add 'if #available' version check
 18 |         return device
 19 |     } else if let device = AVCaptureDevice.default(.builtInWideAngleCamera, for: .video, position: position) {
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:17:53: error: 'builtInDualCamera' is unavailable in visionOS
 15 |     if UserDefaults.standard.bool(forKey: "use_telephoto"), let device = AVCaptureDevice.default(.builtInTelephotoCamera, for: .video, position: position) {
 16 |         return device
 17 |     } else if let device = AVCaptureDevice.default(.builtInDualCamera, for: .video, position: position) {
    |                                                     `- error: 'builtInDualCamera' is unavailable in visionOS
 18 |         return device
 19 |     } else if let device = AVCaptureDevice.default(.builtInWideAngleCamera, for: .video, position: position) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:593:38: note: 'builtInDualCamera' has been explicitly marked unavailable here
 591 |     Even when locked, exposure duration, ISO, aperture, white balance gains, or lens position may change when the device switches from one camera to the other. The overall exposure, white balance, and focus position however should be consistent.
 592 |  */
 593 | AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInDualCamera API_AVAILABLE(ios(10.2), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     |                                      `- note: 'builtInDualCamera' has been explicitly marked unavailable here
 594 |
 595 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:19:44: error: 'default(_:for:position:)' is only available in visionOS 2.1 or newer
  9 | }
 10 |
 11 | func bestCaptureDevice(position: AVCaptureDevice.Position) -> AVCaptureDevice {
    |      `- note: add '@available' attribute to enclosing global function
 12 |     // print("USE TELEPHOTO: ")
 13 |     // print(UserDefaults.standard.bool(forKey: "use_telephoto"))
    :
 17 |     } else if let device = AVCaptureDevice.default(.builtInDualCamera, for: .video, position: position) {
 18 |         return device
 19 |     } else if let device = AVCaptureDevice.default(.builtInWideAngleCamera, for: .video, position: position) {
    |                                            |- error: 'default(_:for:position:)' is only available in visionOS 2.1 or newer
    |                                            `- note: add 'if #available' version check
 20 |         return device
 21 |     } else {
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:19:53: error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
  9 | }
 10 |
 11 | func bestCaptureDevice(position: AVCaptureDevice.Position) -> AVCaptureDevice {
    |      `- note: add '@available' attribute to enclosing global function
 12 |     // print("USE TELEPHOTO: ")
 13 |     // print(UserDefaults.standard.bool(forKey: "use_telephoto"))
    :
 17 |     } else if let device = AVCaptureDevice.default(.builtInDualCamera, for: .video, position: position) {
 18 |         return device
 19 |     } else if let device = AVCaptureDevice.default(.builtInWideAngleCamera, for: .video, position: position) {
    |                                                     |- error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
    |                                                     `- note: add 'if #available' version check
 20 |         return device
 21 |     } else {
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:45:17: warning: capture of 'completion' with non-Sendable type '(Bool) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
 43 |             let success = self.setUpCamera(sessionPreset: sessionPreset, position: position)
 44 |             DispatchQueue.main.async {
 45 |                 completion(success)
    |                 |- warning: capture of 'completion' with non-Sendable type '(Bool) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 46 |             }
 47 |         }
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:52:24: error: 'sessionPreset' is unavailable in visionOS
 50 |     func setUpCamera(sessionPreset: AVCaptureSession.Preset, position: AVCaptureDevice.Position) -> Bool {
 51 |         captureSession.beginConfiguration()
 52 |         captureSession.sessionPreset = sessionPreset
    |                        `- error: 'sessionPreset' is unavailable in visionOS
 53 |
 54 |         captureDevice = bestCaptureDevice(position: position)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:166:51: note: 'sessionPreset' has been explicitly marked unavailable here
 164 |     The value of this property is an AVCaptureSessionPreset indicating the current session preset in use by the receiver. The sessionPreset property may be set while the receiver is running.
 165 |  */
 166 | @property(nonatomic, copy) AVCaptureSessionPreset sessionPreset API_UNAVAILABLE(visionos);
     |                                                   `- note: 'sessionPreset' has been explicitly marked unavailable here
 167 |
 168 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:61:28: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
 59 |         }
 60 |
 61 |         let previewLayer = AVCaptureVideoPreviewLayer(session: captureSession)
    |                            `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
 62 |         previewLayer.videoGravity = AVLayerVideoGravity.resizeAspectFill
 63 |         previewLayer.connection?.videoOrientation = .portrait
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.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/Sources/YOLO/VideoCapture.swift:63:22: error: 'connection' is unavailable in visionOS
 61 |         let previewLayer = AVCaptureVideoPreviewLayer(session: captureSession)
 62 |         previewLayer.videoGravity = AVLayerVideoGravity.resizeAspectFill
 63 |         previewLayer.connection?.videoOrientation = .portrait
    |                      `- error: 'connection' is unavailable in visionOS
 64 |         self.previewLayer = previewLayer
 65 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h:115:63: note: 'connection' has been explicitly marked unavailable here
113 |     When calling initWithSession: or setSession: with a valid AVCaptureSession instance, a connection is formed to the first eligible video AVCaptureInput. If the receiver is detached from a session, the connection property becomes nil.
114 |  */
115 | @property(nonatomic, readonly, nullable) AVCaptureConnection *connection API_AVAILABLE(ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
    |                                                               `- note: 'connection' has been explicitly marked unavailable here
116 |
117 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:63:34: error: 'videoOrientation' is unavailable in visionOS
 61 |         let previewLayer = AVCaptureVideoPreviewLayer(session: captureSession)
 62 |         previewLayer.videoGravity = AVLayerVideoGravity.resizeAspectFill
 63 |         previewLayer.connection?.videoOrientation = .portrait
    |                                  `- error: 'videoOrientation' is unavailable in visionOS
 64 |         self.previewLayer = previewLayer
 65 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:1111:48: note: 'videoOrientation' has been explicitly marked unavailable here
1109 |     This property is deprecated. Use -videoRotationAngle instead. This property may only be set if -isVideoOrientationSupported returns YES, otherwise an NSInvalidArgumentException is thrown.
1110 |  */
1111 | @property(nonatomic) AVCaptureVideoOrientation videoOrientation API_DEPRECATED("Use -videoRotationAngle instead", macos(10.7, 14.0), ios(4.0, 17.0), macCatalyst(14.0, 17.0)) API_UNAVAILABLE(tvos, visionos);
     |                                                `- note: 'videoOrientation' has been explicitly marked unavailable here
1112 |
1113 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:78:25: error: 'isHighResolutionCaptureEnabled' is unavailable in visionOS
 76 |         if captureSession.canAddOutput(photoOutput) {
 77 |             captureSession.addOutput(photoOutput)
 78 |             photoOutput.isHighResolutionCaptureEnabled = true
    |                         `- error: 'isHighResolutionCaptureEnabled' is unavailable in visionOS
 79 | //            photoOutput.isLivePhotoCaptureEnabled = photoOutput.isLivePhotoCaptureSupported
 80 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:536:66: note: 'isHighResolutionCaptureEnabled' has been explicitly marked unavailable here
 534 |     Some AVCaptureDeviceFormats support outputting higher resolution stills than their streaming resolution (See AVCaptureDeviceFormat.highResolutionStillImageDimensions). Under some conditions, AVCaptureSession needs to set up the photo render pipeline differently to support high resolution still image capture. If you intend to take high resolution still images at all, you should set this property to YES before calling -[AVCaptureSession startRunning]. Once you've opted in for high resolution capture, you are free to issue photo capture requests with or without highResolutionCaptureEnabled in the AVCapturePhotoSettings. If you have not set this property to YES and call capturePhotoWithSettings:delegate: with settings.highResolutionCaptureEnabled set to YES, an NSInvalidArgumentException will be thrown.
 535 |  */
 536 | @property(nonatomic, getter=isHighResolutionCaptureEnabled) BOOL highResolutionCaptureEnabled API_DEPRECATED("Use maxPhotoDimensions instead.", macos(10.15, 13.0), ios(10.0, 16.0), macCatalyst(14.0, 16.0)) API_UNAVAILABLE(tvos, visionos);
     |                                                                  `- note: 'isHighResolutionCaptureEnabled' has been explicitly marked unavailable here
 537 |
 538 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:86:21: error: 'videoOrientation' is unavailable in visionOS
 84 |         // let curDeviceOrientation = UIDevice.current.orientation
 85 |         let connection = videoOutput.connection(with: AVMediaType.video)
 86 |         connection?.videoOrientation = .portrait
    |                     `- error: 'videoOrientation' is unavailable in visionOS
 87 |         if position == .front{
 88 |             connection?.isVideoMirrored = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:1111:48: note: 'videoOrientation' has been explicitly marked unavailable here
1109 |     This property is deprecated. Use -videoRotationAngle instead. This property may only be set if -isVideoOrientationSupported returns YES, otherwise an NSInvalidArgumentException is thrown.
1110 |  */
1111 | @property(nonatomic) AVCaptureVideoOrientation videoOrientation API_DEPRECATED("Use -videoRotationAngle instead", macos(10.7, 14.0), ios(4.0, 17.0), macCatalyst(14.0, 17.0)) API_UNAVAILABLE(tvos, visionos);
     |                                                `- note: 'videoOrientation' has been explicitly marked unavailable here
1112 |
1113 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:98:64: error: 'FocusMode' is unavailable in visionOS
 96 |         }
 97 |         // captureDevice.setFocusModeLocked(lensPosition: 1.0, completionHandler: { (time) -> Void in })
 98 |         if captureDevice!.isFocusModeSupported(AVCaptureDevice.FocusMode.continuousAutoFocus), captureDevice!.isFocusPointOfInterestSupported {
    |                                                                `- error: 'FocusMode' is unavailable in visionOS
 99 |             captureDevice!.focusMode = AVCaptureDevice.FocusMode.continuousAutoFocus
100 |             captureDevice!.focusPointOfInterest = CGPoint(x: 0.5, y: 0.5)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1156:28: note: 'FocusMode' has been explicitly marked unavailable here
1154 |     Indicates that the device should automatically focus when needed.
1155 |  */
1156 | typedef NS_ENUM(NSInteger, AVCaptureFocusMode) {
     |                            `- note: 'FocusMode' has been explicitly marked unavailable here
1157 |     AVCaptureFocusModeLocked              = 0,
1158 |     AVCaptureFocusModeAutoFocus           = 1,
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:99:56: error: 'FocusMode' is unavailable in visionOS
 97 |         // captureDevice.setFocusModeLocked(lensPosition: 1.0, completionHandler: { (time) -> Void in })
 98 |         if captureDevice!.isFocusModeSupported(AVCaptureDevice.FocusMode.continuousAutoFocus), captureDevice!.isFocusPointOfInterestSupported {
 99 |             captureDevice!.focusMode = AVCaptureDevice.FocusMode.continuousAutoFocus
    |                                                        `- error: 'FocusMode' is unavailable in visionOS
100 |             captureDevice!.focusPointOfInterest = CGPoint(x: 0.5, y: 0.5)
101 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1156:28: note: 'FocusMode' has been explicitly marked unavailable here
1154 |     Indicates that the device should automatically focus when needed.
1155 |  */
1156 | typedef NS_ENUM(NSInteger, AVCaptureFocusMode) {
     |                            `- note: 'FocusMode' has been explicitly marked unavailable here
1157 |     AVCaptureFocusModeLocked              = 0,
1158 |     AVCaptureFocusModeAutoFocus           = 1,
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:102:55: error: 'ExposureMode' is unavailable in visionOS
100 |             captureDevice!.focusPointOfInterest = CGPoint(x: 0.5, y: 0.5)
101 |         }
102 |         captureDevice!.exposureMode = AVCaptureDevice.ExposureMode.continuousAutoExposure
    |                                                       `- error: 'ExposureMode' is unavailable in visionOS
103 |         captureDevice!.unlockForConfiguration()
104 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1422:28: note: 'ExposureMode' has been explicitly marked unavailable here
1420 |     Indicates that the device should only adjust exposure according to user provided ISO, exposureDuration values.
1421 |  */
1422 | typedef NS_ENUM(NSInteger, AVCaptureExposureMode) {
     |                            `- note: 'ExposureMode' has been explicitly marked unavailable here
1423 |     AVCaptureExposureModeLocked                            = 0,
1424 |     AVCaptureExposureModeAutoExpose                        = 1,
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:131:28: error: 'videoZoomFactor' is unavailable in visionOS
129 |                 captureDevice!.unlockForConfiguration()
130 |             }
131 |             captureDevice!.videoZoomFactor = ratio
    |                            `- error: 'videoZoomFactor' is unavailable in visionOS
132 |         } catch { }
133 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:2068:30: note: 'videoZoomFactor' has been explicitly marked unavailable here
2066 |  @seealso -[AVCaptureDeviceFormat videoMaxZoomFactor], -[AVCaptureDeviceFormat videoZoomFactorUpscaleThreshold], -[AVCaptureDevice minAvailableVideoZoomFactor], -[AVCaptureDevice maxAvailableVideoZoomFactor],  -[AVCaptureDeviceFormat supportedVideoZoomFactorsForDepthDataDelivery], -[AVCaptureDeviceFormat videoMinZoomFactorForCenterStage] and -[AVCaptureDeviceFormat videoMaxZoomFactorForCenterStage]
2067 |  */
2068 | @property(nonatomic) CGFloat videoZoomFactor API_AVAILABLE(ios(7.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                              `- note: 'videoZoomFactor' has been explicitly marked unavailable here
2069 |
2070 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:146:17: warning: variable 'imageOrientation' was never used; consider replacing with '_' or removing it [#NoUsage]
144 |             // The frame is always oriented based on the camera sensor,
145 |             // so in most cases Vision needs to rotate it for the model to work as expected.
146 |             var imageOrientation: CGImagePropertyOrientation = .up
    |                 `- warning: variable 'imageOrientation' was never used; consider replacing with '_' or removing it [#NoUsage]
147 | //            switch UIDevice.current.orientation {
148 | //            case .portrait:
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:171:20: error: 'videoOrientation' is unavailable in visionOS
169 |       guard let connection = videoOutput.connection(with: .video) else { return }
170 |
171 |         connection.videoOrientation = orientation
    |                    `- error: 'videoOrientation' is unavailable in visionOS
172 |       let currentInput = self.captureSession.inputs.first as? AVCaptureDeviceInput
173 |       if currentInput?.device.position == .front {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:1111:48: note: 'videoOrientation' has been explicitly marked unavailable here
1109 |     This property is deprecated. Use -videoRotationAngle instead. This property may only be set if -isVideoOrientationSupported returns YES, otherwise an NSInvalidArgumentException is thrown.
1110 |  */
1111 | @property(nonatomic) AVCaptureVideoOrientation videoOrientation API_DEPRECATED("Use -videoRotationAngle instead", macos(10.7, 14.0), ios(4.0, 17.0), macCatalyst(14.0, 17.0)) API_UNAVAILABLE(tvos, visionos);
     |                                                `- note: 'videoOrientation' has been explicitly marked unavailable here
1112 |
1113 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:179:26: error: 'connection' is unavailable in visionOS
177 |       }
178 |
179 |       self.previewLayer?.connection?.videoOrientation = connection.videoOrientation
    |                          `- error: 'connection' is unavailable in visionOS
180 |     }
181 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h:115:63: note: 'connection' has been explicitly marked unavailable here
113 |     When calling initWithSession: or setSession: with a valid AVCaptureSession instance, a connection is formed to the first eligible video AVCaptureInput. If the receiver is detached from a session, the connection property becomes nil.
114 |  */
115 | @property(nonatomic, readonly, nullable) AVCaptureConnection *connection API_AVAILABLE(ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
    |                                                               `- note: 'connection' has been explicitly marked unavailable here
116 |
117 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:179:38: error: 'videoOrientation' is unavailable in visionOS
177 |       }
178 |
179 |       self.previewLayer?.connection?.videoOrientation = connection.videoOrientation
    |                                      `- error: 'videoOrientation' is unavailable in visionOS
180 |     }
181 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:1111:48: note: 'videoOrientation' has been explicitly marked unavailable here
1109 |     This property is deprecated. Use -videoRotationAngle instead. This property may only be set if -isVideoOrientationSupported returns YES, otherwise an NSInvalidArgumentException is thrown.
1110 |  */
1111 | @property(nonatomic) AVCaptureVideoOrientation videoOrientation API_DEPRECATED("Use -videoRotationAngle instead", macos(10.7, 14.0), ios(4.0, 17.0), macCatalyst(14.0, 17.0)) API_UNAVAILABLE(tvos, visionos);
     |                                                `- note: 'videoOrientation' has been explicitly marked unavailable here
1112 |
1113 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:179:68: error: 'videoOrientation' is unavailable in visionOS
177 |       }
178 |
179 |       self.previewLayer?.connection?.videoOrientation = connection.videoOrientation
    |                                                                    `- error: 'videoOrientation' is unavailable in visionOS
180 |     }
181 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:1111:48: note: 'videoOrientation' has been explicitly marked unavailable here
1109 |     This property is deprecated. Use -videoRotationAngle instead. This property may only be set if -isVideoOrientationSupported returns YES, otherwise an NSInvalidArgumentException is thrown.
1110 |  */
1111 | @property(nonatomic) AVCaptureVideoOrientation videoOrientation API_DEPRECATED("Use -videoRotationAngle instead", macos(10.7, 14.0), ios(4.0, 17.0), macCatalyst(14.0, 17.0)) API_UNAVAILABLE(tvos, visionos);
     |                                                `- note: 'videoOrientation' has been explicitly marked unavailable here
1112 |
1113 | /*!
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile VideoCapture.swift
SwiftCompile normal arm64 Compiling\ Predictor.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/Predictor.swift (in target 'YOLO' from project 'YOLO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/YOLO/Predictor.swift (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Predictor.swift
SwiftCompile normal arm64 Compiling\ YOLOResult.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOResult.swift (in target 'YOLO' from project 'YOLO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOResult.swift (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile YOLOResult.swift
SwiftCompile normal arm64 Compiling\ ThresholdProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/ThresholdProvider.swift (in target 'YOLO' from project 'YOLO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/YOLO/ThresholdProvider.swift (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ThresholdProvider.swift
SwiftCompile normal arm64 Compiling\ YOLO.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLO.swift (in target 'YOLO' from project 'YOLO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLO.swift (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile YOLO.swift
SwiftCompile normal arm64 Compiling\ Plot.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/Plot.swift (in target 'YOLO' from project 'YOLO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/YOLO/Plot.swift (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Plot.swift
SwiftCompile normal arm64 Compiling\ BoundingBoxView.swift,\ ObjectDetector.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/BoundingBoxView.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/ObjectDetector.swift (in target 'YOLO' from project 'YOLO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/YOLO/BoundingBoxView.swift (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile BoundingBoxView.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/YOLO/ObjectDetector.swift (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ObjectDetector.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-21 14:50:48.800 xcodebuild[627:3858] [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\ YOLO (in target 'YOLO' from project 'YOLO')
	SwiftCompile normal arm64 (in target 'YOLO' from project 'YOLO')
	Building workspace YOLO with scheme YOLO
(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:
  YOLO: /Users/admin/builder/spi-builder-workspace
resolved source packages: YOLO
2026-09-21 14:50:56.959 xcodebuild[767:4493] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "YOLO",
  "name" : "YOLO",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "YOLO",
      "targets" : [
        "YOLO"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "YOLOTests",
      "module_type" : "SwiftTarget",
      "name" : "YOLOTests",
      "path" : "Tests/YOLOTests",
      "sources" : [
        "YOLOTests.swift"
      ],
      "target_dependencies" : [
        "YOLO"
      ],
      "type" : "test"
    },
    {
      "c99name" : "YOLO",
      "module_type" : "SwiftTarget",
      "name" : "YOLO",
      "path" : "Sources/YOLO",
      "product_memberships" : [
        "YOLO"
      ],
      "sources" : [
        "BoundingBoxView.swift",
        "ObjectDetector.swift",
        "Plot.swift",
        "Predictor.swift",
        "ThresholdProvider.swift",
        "VideoCapture.swift",
        "YOLO.swift",
        "YOLOCamera.swift",
        "YOLOResult.swift",
        "YOLOTask.swift",
        "YOLOView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
{
  "workspace" : {
    "name" : "YOLO",
    "schemes" : [
      "YOLO"
    ]
  }
}
2026-09-21 14:50:58.209 xcodebuild[775:4561] [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 YOLO -destination generic/platform=xrOS
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 YOLO -destination generic/platform=xrOS
Resolve Package Graph
Resolved source packages:
  YOLO: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
    Target 'YOLO-product' in project 'YOLO'
        ➜ Explicit dependency on target 'YOLO' in project 'YOLO'
    Target 'YOLO' in project 'YOLO' (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/XROS.platform/Developer/SDKs/XROS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.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/XROS.platform/Developer/SDKs/XROS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache
SwiftDriver YOLO normal arm64 com.apple.xcode.tools.swift.compiler (in target 'YOLO' from project 'YOLO')
    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 YOLO -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -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/XROS.platform/Developer/SDKs/XROS27.0.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO-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/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO-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/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-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/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ Plot.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/Plot.swift (in target 'YOLO' from project 'YOLO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/YOLO/Plot.swift (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Plot.swift
SwiftCompile normal arm64 Compiling\ Predictor.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/Predictor.swift (in target 'YOLO' from project 'YOLO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/YOLO/Predictor.swift (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Predictor.swift
SwiftCompile normal arm64 Compiling\ YOLO.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLO.swift (in target 'YOLO' from project 'YOLO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLO.swift (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile YOLO.swift
SwiftCompile normal arm64 Compiling\ YOLOResult.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOResult.swift (in target 'YOLO' from project 'YOLO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOResult.swift (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile YOLOResult.swift
SwiftCompile normal arm64 Compiling\ YOLOView.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOView.swift (in target 'YOLO' from project 'YOLO')
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOView.swift:52:21: error: 'UISelectionFeedbackGenerator' is unavailable in visionOS
 50 |     public var switchCameraButton = UIButton()
 51 |     public var toolbar = UIView()
 52 |     let selection = UISelectionFeedbackGenerator()
    |                     `- error: 'UISelectionFeedbackGenerator' is unavailable in visionOS
 53 |
 54 |     private let minimumZoom: CGFloat = 1.0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISelectionFeedbackGenerator.h:15:12: note: 'UISelectionFeedbackGenerator' has been explicitly marked unavailable here
13 | // UISelectionFeedbackGenerator is used to give user feedback when a selection changes
14 | UIKIT_EXTERN API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(visionos, tvos) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
15 | @interface UISelectionFeedbackGenerator : UIFeedbackGenerator
   |            `- note: 'UISelectionFeedbackGenerator' has been explicitly marked unavailable here
16 |
17 | /// call when the selection changes (not on initial selection)
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOView.swift:696:15: error: 'AVCapturePhotoOutput' is unavailable in visionOS
694 | extension YOLOView: @preconcurrency AVCapturePhotoCaptureDelegate {
695 |     public func photoOutput(
696 |     _ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?
    |               `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
697 |   ) {
698 |     if let error = error {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOView.swift:696:69: error: 'AVCapturePhoto' is unavailable in visionOS
694 | extension YOLOView: @preconcurrency AVCapturePhotoCaptureDelegate {
695 |     public func photoOutput(
696 |     _ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?
    |                                                                     `- error: 'AVCapturePhoto' is unavailable in visionOS
697 |   ) {
698 |     if let error = error {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1979:12: note: 'AVCapturePhoto' has been explicitly marked unavailable here
1977 |  */
1978 | API_AVAILABLE(macos(10.15), ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1979 | @interface AVCapturePhoto : NSObject
     |            `- note: 'AVCapturePhoto' has been explicitly marked unavailable here
1980 | {
1981 | @private
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOView.swift:695:17: error: cannot override 'photoOutput' which has been marked unavailable
693 |
694 | extension YOLOView: @preconcurrency AVCapturePhotoCaptureDelegate {
695 |     public func photoOutput(
    |                 `- error: cannot override 'photoOutput' which has been marked unavailable
696 |     _ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?
697 |   ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1053:1: note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1051 |     This callback fires resolvedSettings.expectedPhotoCount number of times for a given capture request. Note that the photo parameter is always non nil, even if an error is returned. The delivered AVCapturePhoto's rawPhoto property can be queried to know if it's a RAW image or processed image.
1052 |  */
1053 | - (void)captureOutput:(AVCapturePhotoOutput *)output didFinishProcessingPhoto:(AVCapturePhoto *)photo error:(nullable NSError *)error API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
     | `- note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1054 |
1055 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOView.swift:694:37: error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
692 | }
693 |
694 | extension YOLOView: @preconcurrency AVCapturePhotoCaptureDelegate {
    |                                     `- error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
695 |     public func photoOutput(
696 |     _ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:990:11: note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
 988 |  */
 989 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 990 | @protocol AVCapturePhotoCaptureDelegate <NSObject>
     |           `- note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
 991 |
 992 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOView.swift:81:15: warning: 'awakeFromNib()' was deprecated in visionOS 1.0: Loading Interface Builder products will not be supported in a future version of visionOS. [#DeprecatedDeclaration]
 79 |
 80 |     public override func awakeFromNib() {
 81 |         super.awakeFromNib()
    |               `- warning: 'awakeFromNib()' was deprecated in visionOS 1.0: Loading Interface Builder products will not be supported in a future version of visionOS. [#DeprecatedDeclaration]
 82 |         Task { @MainActor in
 83 |             setUpOrientationChangeNotification()
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOView.swift:134:48: error: 'photo' is unavailable in visionOS
132 |             busy = true
133 |
134 |             videoCapture.setUp(sessionPreset: .photo, position: position) { success in
    |                                                `- error: 'photo' is unavailable in visionOS
135 |                 // .hd4K3840x2160 or .photo (4032x3024)  Warning: 4k may not work on all devices i.e. 2019 iPod
136 |                 if success {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:31:41: note: 'photo' has been explicitly marked unavailable here
 29 |     Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPresetPhoto for full resolution photo quality output.
 30 |  */
 31 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPresetPhoto API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
    |                                         `- note: 'photo' has been explicitly marked unavailable here
 32 |
 33 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOView.swift:192:40: error: 'sessionPreset' is unavailable in visionOS
190 |         var ratio: CGFloat = 1.0
191 |
192 |         if videoCapture.captureSession.sessionPreset == .photo {
    |                                        `- error: 'sessionPreset' is unavailable in visionOS
193 |             ratio = (height / width) / (4.0 / 3.0)
194 |         } else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:166:51: note: 'sessionPreset' has been explicitly marked unavailable here
 164 |     The value of this property is an AVCaptureSessionPreset indicating the current session preset in use by the receiver. The sessionPreset property may be set while the receiver is running.
 165 |  */
 166 | @property(nonatomic, copy) AVCaptureSessionPreset sessionPreset API_UNAVAILABLE(visionos);
     |                                                   `- note: 'sessionPreset' has been explicitly marked unavailable here
 167 |
 168 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOView.swift:192:58: error: 'photo' is unavailable in visionOS
190 |         var ratio: CGFloat = 1.0
191 |
192 |         if videoCapture.captureSession.sessionPreset == .photo {
    |                                                          `- error: 'photo' is unavailable in visionOS
193 |             ratio = (height / width) / (4.0 / 3.0)
194 |         } else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:31:41: note: 'photo' has been explicitly marked unavailable here
 29 |     Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPresetPhoto for full resolution photo quality output.
 30 |  */
 31 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPresetPhoto API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
    |                                         `- note: 'photo' has been explicitly marked unavailable here
 32 |
 33 | /*!
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOView.swift (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile YOLOView.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ YOLO (in target 'YOLO' from project 'YOLO')
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:28:23: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
 26 | class VideoCapture: NSObject,@unchecked Sendable {
 27 |     var predictor:Predictor?
 28 |     var previewLayer: AVCaptureVideoPreviewLayer?
    |                       `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
 29 |     weak var delegate: VideoCaptureDelegate?
 30 |     var captureDevice: AVCaptureDevice?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.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/Sources/YOLO/VideoCapture.swift:34:23: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 32 |     var videoInput: AVCaptureDeviceInput? = nil
 33 |     let videoOutput = AVCaptureVideoDataOutput()
 34 |     var photoOutput = AVCapturePhotoOutput()
    |                       `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 35 |     let cameraQueue = DispatchQueue(label: "camera-queue")
 36 |     var lastCapturedPhoto: UIImage? = nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:39:48: error: 'Preset' is unavailable in visionOS
 37 |     private var currentBuffer: CVPixelBuffer?
 38 |
 39 |     func setUp(sessionPreset: AVCaptureSession.Preset = .hd1280x720,
    |                                                `- error: 'Preset' is unavailable in visionOS
 40 |                       position: AVCaptureDevice.Position,
 41 |                       completion: @escaping (Bool) -> Void) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
 19 |     Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
 20 |  */
 21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
    |                    `- note: 'Preset' has been explicitly marked unavailable here
 22 |
 23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:39:58: error: 'hd1280x720' is unavailable in visionOS
 37 |     private var currentBuffer: CVPixelBuffer?
 38 |
 39 |     func setUp(sessionPreset: AVCaptureSession.Preset = .hd1280x720,
    |                                                          `- error: 'hd1280x720' is unavailable in visionOS
 40 |                       position: AVCaptureDevice.Position,
 41 |                       completion: @escaping (Bool) -> Void) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:111:41: note: 'hd1280x720' has been explicitly marked unavailable here
109 |     Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPreset1280x720 to achieve 1280x720 output.
110 |  */
111 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPreset1280x720 API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
    |                                         `- note: 'hd1280x720' has been explicitly marked unavailable here
112 |
113 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:50:54: error: 'Preset' is unavailable in visionOS
 48 |     }
 49 |
 50 |     func setUpCamera(sessionPreset: AVCaptureSession.Preset, position: AVCaptureDevice.Position) -> Bool {
    |                                                      `- error: 'Preset' is unavailable in visionOS
 51 |         captureSession.beginConfiguration()
 52 |         captureSession.sessionPreset = sessionPreset
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
 19 |     Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
 20 |  */
 21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
    |                    `- note: 'Preset' has been explicitly marked unavailable here
 22 |
 23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:168:45: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
166 |     }
167 |
168 |     func updateVideoOrientation(orientation:AVCaptureVideoOrientation) {
    |                                             `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
169 |       guard let connection = videoOutput.connection(with: .video) else { return }
170 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 102 |
 103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
 104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
     |                            `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 105 |     /// Indicates that video should be oriented vertically, port on the bottom.
 106 |     AVCaptureVideoOrientationPortrait           = 1,
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:191:32: error: 'AVCapturePhotoOutput' is unavailable in visionOS
189 | extension VideoCapture: AVCapturePhotoCaptureDelegate {
190 |     @available(iOS 11.0, *)
191 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
    |                                `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
192 |         guard let data = photo.fileDataRepresentation(),
193 |               let image =  UIImage(data: data) else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:191:86: error: 'AVCapturePhoto' is unavailable in visionOS
189 | extension VideoCapture: AVCapturePhotoCaptureDelegate {
190 |     @available(iOS 11.0, *)
191 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
    |                                                                                      `- error: 'AVCapturePhoto' is unavailable in visionOS
192 |         guard let data = photo.fileDataRepresentation(),
193 |               let image =  UIImage(data: data) else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1979:12: note: 'AVCapturePhoto' has been explicitly marked unavailable here
1977 |  */
1978 | API_AVAILABLE(macos(10.15), ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1979 | @interface AVCapturePhoto : NSObject
     |            `- note: 'AVCapturePhoto' has been explicitly marked unavailable here
1980 | {
1981 | @private
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:191:10: error: cannot override 'photoOutput' which has been marked unavailable
189 | extension VideoCapture: AVCapturePhotoCaptureDelegate {
190 |     @available(iOS 11.0, *)
191 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
    |          `- error: cannot override 'photoOutput' which has been marked unavailable
192 |         guard let data = photo.fileDataRepresentation(),
193 |               let image =  UIImage(data: data) else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1053:1: note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1051 |     This callback fires resolvedSettings.expectedPhotoCount number of times for a given capture request. Note that the photo parameter is always non nil, even if an error is returned. The delivered AVCapturePhoto's rawPhoto property can be queried to know if it's a RAW image or processed image.
1052 |  */
1053 | - (void)captureOutput:(AVCapturePhotoOutput *)output didFinishProcessingPhoto:(AVCapturePhoto *)photo error:(nullable NSError *)error API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
     | `- note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1054 |
1055 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:189:25: error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
187 | }
188 |
189 | extension VideoCapture: AVCapturePhotoCaptureDelegate {
    |                         `- error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
190 |     @available(iOS 11.0, *)
191 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:990:11: note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
 988 |  */
 989 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 990 | @protocol AVCapturePhotoCaptureDelegate <NSObject>
     |           `- note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
 991 |
 992 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOView.swift:52:21: error: 'UISelectionFeedbackGenerator' is unavailable in visionOS
 50 |     public var switchCameraButton = UIButton()
 51 |     public var toolbar = UIView()
 52 |     let selection = UISelectionFeedbackGenerator()
    |                     `- error: 'UISelectionFeedbackGenerator' is unavailable in visionOS
 53 |
 54 |     private let minimumZoom: CGFloat = 1.0
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISelectionFeedbackGenerator.h:15:12: note: 'UISelectionFeedbackGenerator' has been explicitly marked unavailable here
13 | // UISelectionFeedbackGenerator is used to give user feedback when a selection changes
14 | UIKIT_EXTERN API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(visionos, tvos) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
15 | @interface UISelectionFeedbackGenerator : UIFeedbackGenerator
   |            `- note: 'UISelectionFeedbackGenerator' has been explicitly marked unavailable here
16 |
17 | /// call when the selection changes (not on initial selection)
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOView.swift:696:15: error: 'AVCapturePhotoOutput' is unavailable in visionOS
694 | extension YOLOView: @preconcurrency AVCapturePhotoCaptureDelegate {
695 |     public func photoOutput(
696 |     _ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?
    |               `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
697 |   ) {
698 |     if let error = error {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOView.swift:696:69: error: 'AVCapturePhoto' is unavailable in visionOS
694 | extension YOLOView: @preconcurrency AVCapturePhotoCaptureDelegate {
695 |     public func photoOutput(
696 |     _ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?
    |                                                                     `- error: 'AVCapturePhoto' is unavailable in visionOS
697 |   ) {
698 |     if let error = error {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1979:12: note: 'AVCapturePhoto' has been explicitly marked unavailable here
1977 |  */
1978 | API_AVAILABLE(macos(10.15), ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1979 | @interface AVCapturePhoto : NSObject
     |            `- note: 'AVCapturePhoto' has been explicitly marked unavailable here
1980 | {
1981 | @private
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOView.swift:695:17: error: cannot override 'photoOutput' which has been marked unavailable
693 |
694 | extension YOLOView: @preconcurrency AVCapturePhotoCaptureDelegate {
695 |     public func photoOutput(
    |                 `- error: cannot override 'photoOutput' which has been marked unavailable
696 |     _ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?
697 |   ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1053:1: note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1051 |     This callback fires resolvedSettings.expectedPhotoCount number of times for a given capture request. Note that the photo parameter is always non nil, even if an error is returned. The delivered AVCapturePhoto's rawPhoto property can be queried to know if it's a RAW image or processed image.
1052 |  */
1053 | - (void)captureOutput:(AVCapturePhotoOutput *)output didFinishProcessingPhoto:(AVCapturePhoto *)photo error:(nullable NSError *)error API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
     | `- note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1054 |
1055 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOView.swift:694:37: error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
692 | }
693 |
694 | extension YOLOView: @preconcurrency AVCapturePhotoCaptureDelegate {
    |                                     `- error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
695 |     public func photoOutput(
696 |     _ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:990:11: note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
 988 |  */
 989 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 990 | @protocol AVCapturePhotoCaptureDelegate <NSObject>
     |           `- note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
 991 |
 992 | @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/Sources/YOLO/BoundingBoxView.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/ObjectDetector.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/Plot.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/Predictor.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/ThresholdProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLO.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOResult.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOTask.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOView.swift -target arm64-apple-xros1.0 -disable-cross-import-overlay-search -swift-module-cross-import Vision /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS.sdk/System/Library/Frameworks/Vision.framework/Modules/Vision.swiftcrossimport/FoundationModels.swiftoverlay -swift-module-cross-import Vision /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/Vision.framework/Modules/Vision.swiftcrossimport/FoundationModels.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.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/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -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/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name YOLO -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-xros27.0 -target-sdk-version 27.0 -target-sdk-name xros27.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/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/YOLO.build/Debug-xros/YOLO-t.build/Objects-normal/arm64/YOLO.abi.json
SwiftCompile normal arm64 (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ YOLOTask.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOTask.swift (in target 'YOLO' from project 'YOLO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOTask.swift (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile YOLOTask.swift
SwiftCompile normal arm64 Compiling\ VideoCapture.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift (in target 'YOLO' from project 'YOLO')
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:28:23: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
 26 | class VideoCapture: NSObject,@unchecked Sendable {
 27 |     var predictor:Predictor?
 28 |     var previewLayer: AVCaptureVideoPreviewLayer?
    |                       `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
 29 |     weak var delegate: VideoCaptureDelegate?
 30 |     var captureDevice: AVCaptureDevice?
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.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/Sources/YOLO/VideoCapture.swift:34:23: error: 'AVCapturePhotoOutput' is unavailable in visionOS
 32 |     var videoInput: AVCaptureDeviceInput? = nil
 33 |     let videoOutput = AVCaptureVideoDataOutput()
 34 |     var photoOutput = AVCapturePhotoOutput()
    |                       `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
 35 |     let cameraQueue = DispatchQueue(label: "camera-queue")
 36 |     var lastCapturedPhoto: UIImage? = nil
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:39:48: error: 'Preset' is unavailable in visionOS
 37 |     private var currentBuffer: CVPixelBuffer?
 38 |
 39 |     func setUp(sessionPreset: AVCaptureSession.Preset = .hd1280x720,
    |                                                `- error: 'Preset' is unavailable in visionOS
 40 |                       position: AVCaptureDevice.Position,
 41 |                       completion: @escaping (Bool) -> Void) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
 19 |     Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
 20 |  */
 21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
    |                    `- note: 'Preset' has been explicitly marked unavailable here
 22 |
 23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:39:58: error: 'hd1280x720' is unavailable in visionOS
 37 |     private var currentBuffer: CVPixelBuffer?
 38 |
 39 |     func setUp(sessionPreset: AVCaptureSession.Preset = .hd1280x720,
    |                                                          `- error: 'hd1280x720' is unavailable in visionOS
 40 |                       position: AVCaptureDevice.Position,
 41 |                       completion: @escaping (Bool) -> Void) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:111:41: note: 'hd1280x720' has been explicitly marked unavailable here
109 |     Clients may set an AVCaptureSession instance's sessionPreset to AVCaptureSessionPreset1280x720 to achieve 1280x720 output.
110 |  */
111 | AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPreset1280x720 API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
    |                                         `- note: 'hd1280x720' has been explicitly marked unavailable here
112 |
113 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:50:54: error: 'Preset' is unavailable in visionOS
 48 |     }
 49 |
 50 |     func setUpCamera(sessionPreset: AVCaptureSession.Preset, position: AVCaptureDevice.Position) -> Bool {
    |                                                      `- error: 'Preset' is unavailable in visionOS
 51 |         captureSession.beginConfiguration()
 52 |         captureSession.sessionPreset = sessionPreset
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:21:20: note: 'Preset' has been explicitly marked unavailable here
 19 |     Clients may use an AVCaptureSessionPreset to set the format for output on an AVCaptureSession.
 20 |  */
 21 | typedef NSString * AVCaptureSessionPreset NS_TYPED_ENUM API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
    |                    `- note: 'Preset' has been explicitly marked unavailable here
 22 |
 23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:168:45: error: 'AVCaptureVideoOrientation' is unavailable in visionOS
166 |     }
167 |
168 |     func updateVideoOrientation(orientation:AVCaptureVideoOrientation) {
    |                                             `- error: 'AVCaptureVideoOrientation' is unavailable in visionOS
169 |       guard let connection = videoOutput.connection(with: .video) else { return }
170 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:104:28: note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 102 |
 103 | /// Constants indicating video orientation, for use with AVCaptureDeviceRotationCoordinator.
 104 | typedef NS_ENUM(NSInteger, AVCaptureVideoOrientation) {
     |                            `- note: 'AVCaptureVideoOrientation' has been explicitly marked unavailable here
 105 |     /// Indicates that video should be oriented vertically, port on the bottom.
 106 |     AVCaptureVideoOrientationPortrait           = 1,
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:191:32: error: 'AVCapturePhotoOutput' is unavailable in visionOS
189 | extension VideoCapture: AVCapturePhotoCaptureDelegate {
190 |     @available(iOS 11.0, *)
191 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
    |                                `- error: 'AVCapturePhotoOutput' is unavailable in visionOS
192 |         guard let data = photo.fileDataRepresentation(),
193 |               let image =  UIImage(data: data) else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:50:12: note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  48 |  */
  49 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
  50 | @interface AVCapturePhotoOutput : AVCaptureOutput
     |            `- note: 'AVCapturePhotoOutput' has been explicitly marked unavailable here
  51 | {
  52 | @private
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:191:86: error: 'AVCapturePhoto' is unavailable in visionOS
189 | extension VideoCapture: AVCapturePhotoCaptureDelegate {
190 |     @available(iOS 11.0, *)
191 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
    |                                                                                      `- error: 'AVCapturePhoto' is unavailable in visionOS
192 |         guard let data = photo.fileDataRepresentation(),
193 |               let image =  UIImage(data: data) else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1979:12: note: 'AVCapturePhoto' has been explicitly marked unavailable here
1977 |  */
1978 | API_AVAILABLE(macos(10.15), ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
1979 | @interface AVCapturePhoto : NSObject
     |            `- note: 'AVCapturePhoto' has been explicitly marked unavailable here
1980 | {
1981 | @private
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:191:10: error: cannot override 'photoOutput' which has been marked unavailable
189 | extension VideoCapture: AVCapturePhotoCaptureDelegate {
190 |     @available(iOS 11.0, *)
191 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
    |          `- error: cannot override 'photoOutput' which has been marked unavailable
192 |         guard let data = photo.fileDataRepresentation(),
193 |               let image =  UIImage(data: data) else {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1053:1: note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1051 |     This callback fires resolvedSettings.expectedPhotoCount number of times for a given capture request. Note that the photo parameter is always non nil, even if an error is returned. The delivered AVCapturePhoto's rawPhoto property can be queried to know if it's a RAW image or processed image.
1052 |  */
1053 | - (void)captureOutput:(AVCapturePhotoOutput *)output didFinishProcessingPhoto:(AVCapturePhoto *)photo error:(nullable NSError *)error API_AVAILABLE(ios(11.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
     | `- note: 'photoOutput(_:didFinishProcessingPhoto:error:)' has been explicitly marked unavailable here
1054 |
1055 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:189:25: error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
187 | }
188 |
189 | extension VideoCapture: AVCapturePhotoCaptureDelegate {
    |                         `- error: 'AVCapturePhotoCaptureDelegate' is unavailable in visionOS
190 |     @available(iOS 11.0, *)
191 |     func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:990:11: note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
 988 |  */
 989 | API_AVAILABLE(macos(10.15), ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 990 | @protocol AVCapturePhotoCaptureDelegate <NSObject>
     |           `- note: 'AVCapturePhotoCaptureDelegate' has been explicitly marked unavailable here
 991 |
 992 | @optional
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:15:90: error: 'default(_:for:position:)' is only available in visionOS 2.1 or newer
  9 | }
 10 |
 11 | func bestCaptureDevice(position: AVCaptureDevice.Position) -> AVCaptureDevice {
    |      `- note: add '@available' attribute to enclosing global function
 12 |     // print("USE TELEPHOTO: ")
 13 |     // print(UserDefaults.standard.bool(forKey: "use_telephoto"))
 14 |
 15 |     if UserDefaults.standard.bool(forKey: "use_telephoto"), let device = AVCaptureDevice.default(.builtInTelephotoCamera, for: .video, position: position) {
    |                                                                                          |- error: 'default(_:for:position:)' is only available in visionOS 2.1 or newer
    |                                                                                          `- note: add 'if #available' version check
 16 |         return device
 17 |     } else if let device = AVCaptureDevice.default(.builtInDualCamera, for: .video, position: position) {
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:15:99: error: 'builtInTelephotoCamera' is unavailable in visionOS
 13 |     // print(UserDefaults.standard.bool(forKey: "use_telephoto"))
 14 |
 15 |     if UserDefaults.standard.bool(forKey: "use_telephoto"), let device = AVCaptureDevice.default(.builtInTelephotoCamera, for: .video, position: position) {
    |                                                                                                   `- error: 'builtInTelephotoCamera' is unavailable in visionOS
 16 |         return device
 17 |     } else if let device = AVCaptureDevice.default(.builtInDualCamera, for: .video, position: position) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:568:38: note: 'builtInTelephotoCamera' has been explicitly marked unavailable here
 566 |     A built-in camera device with a longer focal length than a wide angle camera. Note that devices of this type may only be discovered using an AVCaptureDeviceDiscoverySession.
 567 |  */
 568 | AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInTelephotoCamera API_AVAILABLE(ios(10.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     |                                      `- note: 'builtInTelephotoCamera' has been explicitly marked unavailable here
 569 |
 570 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:17:44: error: 'default(_:for:position:)' is only available in visionOS 2.1 or newer
  9 | }
 10 |
 11 | func bestCaptureDevice(position: AVCaptureDevice.Position) -> AVCaptureDevice {
    |      `- note: add '@available' attribute to enclosing global function
 12 |     // print("USE TELEPHOTO: ")
 13 |     // print(UserDefaults.standard.bool(forKey: "use_telephoto"))
    :
 15 |     if UserDefaults.standard.bool(forKey: "use_telephoto"), let device = AVCaptureDevice.default(.builtInTelephotoCamera, for: .video, position: position) {
 16 |         return device
 17 |     } else if let device = AVCaptureDevice.default(.builtInDualCamera, for: .video, position: position) {
    |                                            |- error: 'default(_:for:position:)' is only available in visionOS 2.1 or newer
    |                                            `- note: add 'if #available' version check
 18 |         return device
 19 |     } else if let device = AVCaptureDevice.default(.builtInWideAngleCamera, for: .video, position: position) {
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:17:53: error: 'builtInDualCamera' is unavailable in visionOS
 15 |     if UserDefaults.standard.bool(forKey: "use_telephoto"), let device = AVCaptureDevice.default(.builtInTelephotoCamera, for: .video, position: position) {
 16 |         return device
 17 |     } else if let device = AVCaptureDevice.default(.builtInDualCamera, for: .video, position: position) {
    |                                                     `- error: 'builtInDualCamera' is unavailable in visionOS
 18 |         return device
 19 |     } else if let device = AVCaptureDevice.default(.builtInWideAngleCamera, for: .video, position: position) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:593:38: note: 'builtInDualCamera' has been explicitly marked unavailable here
 591 |     Even when locked, exposure duration, ISO, aperture, white balance gains, or lens position may change when the device switches from one camera to the other. The overall exposure, white balance, and focus position however should be consistent.
 592 |  */
 593 | AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInDualCamera API_AVAILABLE(ios(10.2), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
     |                                      `- note: 'builtInDualCamera' has been explicitly marked unavailable here
 594 |
 595 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:19:44: error: 'default(_:for:position:)' is only available in visionOS 2.1 or newer
  9 | }
 10 |
 11 | func bestCaptureDevice(position: AVCaptureDevice.Position) -> AVCaptureDevice {
    |      `- note: add '@available' attribute to enclosing global function
 12 |     // print("USE TELEPHOTO: ")
 13 |     // print(UserDefaults.standard.bool(forKey: "use_telephoto"))
    :
 17 |     } else if let device = AVCaptureDevice.default(.builtInDualCamera, for: .video, position: position) {
 18 |         return device
 19 |     } else if let device = AVCaptureDevice.default(.builtInWideAngleCamera, for: .video, position: position) {
    |                                            |- error: 'default(_:for:position:)' is only available in visionOS 2.1 or newer
    |                                            `- note: add 'if #available' version check
 20 |         return device
 21 |     } else {
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:19:53: error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
  9 | }
 10 |
 11 | func bestCaptureDevice(position: AVCaptureDevice.Position) -> AVCaptureDevice {
    |      `- note: add '@available' attribute to enclosing global function
 12 |     // print("USE TELEPHOTO: ")
 13 |     // print(UserDefaults.standard.bool(forKey: "use_telephoto"))
    :
 17 |     } else if let device = AVCaptureDevice.default(.builtInDualCamera, for: .video, position: position) {
 18 |         return device
 19 |     } else if let device = AVCaptureDevice.default(.builtInWideAngleCamera, for: .video, position: position) {
    |                                                     |- error: 'builtInWideAngleCamera' is only available in visionOS 2.1 or newer
    |                                                     `- note: add 'if #available' version check
 20 |         return device
 21 |     } else {
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:45:17: warning: capture of 'completion' with non-Sendable type '(Bool) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
 43 |             let success = self.setUpCamera(sessionPreset: sessionPreset, position: position)
 44 |             DispatchQueue.main.async {
 45 |                 completion(success)
    |                 |- warning: capture of 'completion' with non-Sendable type '(Bool) -> Void' in a '@Sendable' closure [#SendableClosureCaptures]
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 46 |             }
 47 |         }
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:52:24: error: 'sessionPreset' is unavailable in visionOS
 50 |     func setUpCamera(sessionPreset: AVCaptureSession.Preset, position: AVCaptureDevice.Position) -> Bool {
 51 |         captureSession.beginConfiguration()
 52 |         captureSession.sessionPreset = sessionPreset
    |                        `- error: 'sessionPreset' is unavailable in visionOS
 53 |
 54 |         captureDevice = bestCaptureDevice(position: position)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:166:51: note: 'sessionPreset' has been explicitly marked unavailable here
 164 |     The value of this property is an AVCaptureSessionPreset indicating the current session preset in use by the receiver. The sessionPreset property may be set while the receiver is running.
 165 |  */
 166 | @property(nonatomic, copy) AVCaptureSessionPreset sessionPreset API_UNAVAILABLE(visionos);
     |                                                   `- note: 'sessionPreset' has been explicitly marked unavailable here
 167 |
 168 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:61:28: error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
 59 |         }
 60 |
 61 |         let previewLayer = AVCaptureVideoPreviewLayer(session: captureSession)
    |                            `- error: 'AVCaptureVideoPreviewLayer' is unavailable in visionOS
 62 |         previewLayer.videoGravity = AVLayerVideoGravity.resizeAspectFill
 63 |         previewLayer.connection?.videoOrientation = .portrait
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.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/Sources/YOLO/VideoCapture.swift:63:22: error: 'connection' is unavailable in visionOS
 61 |         let previewLayer = AVCaptureVideoPreviewLayer(session: captureSession)
 62 |         previewLayer.videoGravity = AVLayerVideoGravity.resizeAspectFill
 63 |         previewLayer.connection?.videoOrientation = .portrait
    |                      `- error: 'connection' is unavailable in visionOS
 64 |         self.previewLayer = previewLayer
 65 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h:115:63: note: 'connection' has been explicitly marked unavailable here
113 |     When calling initWithSession: or setSession: with a valid AVCaptureSession instance, a connection is formed to the first eligible video AVCaptureInput. If the receiver is detached from a session, the connection property becomes nil.
114 |  */
115 | @property(nonatomic, readonly, nullable) AVCaptureConnection *connection API_AVAILABLE(ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
    |                                                               `- note: 'connection' has been explicitly marked unavailable here
116 |
117 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:63:34: error: 'videoOrientation' is unavailable in visionOS
 61 |         let previewLayer = AVCaptureVideoPreviewLayer(session: captureSession)
 62 |         previewLayer.videoGravity = AVLayerVideoGravity.resizeAspectFill
 63 |         previewLayer.connection?.videoOrientation = .portrait
    |                                  `- error: 'videoOrientation' is unavailable in visionOS
 64 |         self.previewLayer = previewLayer
 65 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:1111:48: note: 'videoOrientation' has been explicitly marked unavailable here
1109 |     This property is deprecated. Use -videoRotationAngle instead. This property may only be set if -isVideoOrientationSupported returns YES, otherwise an NSInvalidArgumentException is thrown.
1110 |  */
1111 | @property(nonatomic) AVCaptureVideoOrientation videoOrientation API_DEPRECATED("Use -videoRotationAngle instead", macos(10.7, 14.0), ios(4.0, 17.0), macCatalyst(14.0, 17.0)) API_UNAVAILABLE(tvos, visionos);
     |                                                `- note: 'videoOrientation' has been explicitly marked unavailable here
1112 |
1113 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:78:25: error: 'isHighResolutionCaptureEnabled' is unavailable in visionOS
 76 |         if captureSession.canAddOutput(photoOutput) {
 77 |             captureSession.addOutput(photoOutput)
 78 |             photoOutput.isHighResolutionCaptureEnabled = true
    |                         `- error: 'isHighResolutionCaptureEnabled' is unavailable in visionOS
 79 | //            photoOutput.isLivePhotoCaptureEnabled = photoOutput.isLivePhotoCaptureSupported
 80 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:536:66: note: 'isHighResolutionCaptureEnabled' has been explicitly marked unavailable here
 534 |     Some AVCaptureDeviceFormats support outputting higher resolution stills than their streaming resolution (See AVCaptureDeviceFormat.highResolutionStillImageDimensions). Under some conditions, AVCaptureSession needs to set up the photo render pipeline differently to support high resolution still image capture. If you intend to take high resolution still images at all, you should set this property to YES before calling -[AVCaptureSession startRunning]. Once you've opted in for high resolution capture, you are free to issue photo capture requests with or without highResolutionCaptureEnabled in the AVCapturePhotoSettings. If you have not set this property to YES and call capturePhotoWithSettings:delegate: with settings.highResolutionCaptureEnabled set to YES, an NSInvalidArgumentException will be thrown.
 535 |  */
 536 | @property(nonatomic, getter=isHighResolutionCaptureEnabled) BOOL highResolutionCaptureEnabled API_DEPRECATED("Use maxPhotoDimensions instead.", macos(10.15, 13.0), ios(10.0, 16.0), macCatalyst(14.0, 16.0)) API_UNAVAILABLE(tvos, visionos);
     |                                                                  `- note: 'isHighResolutionCaptureEnabled' has been explicitly marked unavailable here
 537 |
 538 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:86:21: error: 'videoOrientation' is unavailable in visionOS
 84 |         // let curDeviceOrientation = UIDevice.current.orientation
 85 |         let connection = videoOutput.connection(with: AVMediaType.video)
 86 |         connection?.videoOrientation = .portrait
    |                     `- error: 'videoOrientation' is unavailable in visionOS
 87 |         if position == .front{
 88 |             connection?.isVideoMirrored = true
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:1111:48: note: 'videoOrientation' has been explicitly marked unavailable here
1109 |     This property is deprecated. Use -videoRotationAngle instead. This property may only be set if -isVideoOrientationSupported returns YES, otherwise an NSInvalidArgumentException is thrown.
1110 |  */
1111 | @property(nonatomic) AVCaptureVideoOrientation videoOrientation API_DEPRECATED("Use -videoRotationAngle instead", macos(10.7, 14.0), ios(4.0, 17.0), macCatalyst(14.0, 17.0)) API_UNAVAILABLE(tvos, visionos);
     |                                                `- note: 'videoOrientation' has been explicitly marked unavailable here
1112 |
1113 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:98:64: error: 'FocusMode' is unavailable in visionOS
 96 |         }
 97 |         // captureDevice.setFocusModeLocked(lensPosition: 1.0, completionHandler: { (time) -> Void in })
 98 |         if captureDevice!.isFocusModeSupported(AVCaptureDevice.FocusMode.continuousAutoFocus), captureDevice!.isFocusPointOfInterestSupported {
    |                                                                `- error: 'FocusMode' is unavailable in visionOS
 99 |             captureDevice!.focusMode = AVCaptureDevice.FocusMode.continuousAutoFocus
100 |             captureDevice!.focusPointOfInterest = CGPoint(x: 0.5, y: 0.5)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1156:28: note: 'FocusMode' has been explicitly marked unavailable here
1154 |     Indicates that the device should automatically focus when needed.
1155 |  */
1156 | typedef NS_ENUM(NSInteger, AVCaptureFocusMode) {
     |                            `- note: 'FocusMode' has been explicitly marked unavailable here
1157 |     AVCaptureFocusModeLocked              = 0,
1158 |     AVCaptureFocusModeAutoFocus           = 1,
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:99:56: error: 'FocusMode' is unavailable in visionOS
 97 |         // captureDevice.setFocusModeLocked(lensPosition: 1.0, completionHandler: { (time) -> Void in })
 98 |         if captureDevice!.isFocusModeSupported(AVCaptureDevice.FocusMode.continuousAutoFocus), captureDevice!.isFocusPointOfInterestSupported {
 99 |             captureDevice!.focusMode = AVCaptureDevice.FocusMode.continuousAutoFocus
    |                                                        `- error: 'FocusMode' is unavailable in visionOS
100 |             captureDevice!.focusPointOfInterest = CGPoint(x: 0.5, y: 0.5)
101 |         }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1156:28: note: 'FocusMode' has been explicitly marked unavailable here
1154 |     Indicates that the device should automatically focus when needed.
1155 |  */
1156 | typedef NS_ENUM(NSInteger, AVCaptureFocusMode) {
     |                            `- note: 'FocusMode' has been explicitly marked unavailable here
1157 |     AVCaptureFocusModeLocked              = 0,
1158 |     AVCaptureFocusModeAutoFocus           = 1,
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:102:55: error: 'ExposureMode' is unavailable in visionOS
100 |             captureDevice!.focusPointOfInterest = CGPoint(x: 0.5, y: 0.5)
101 |         }
102 |         captureDevice!.exposureMode = AVCaptureDevice.ExposureMode.continuousAutoExposure
    |                                                       `- error: 'ExposureMode' is unavailable in visionOS
103 |         captureDevice!.unlockForConfiguration()
104 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1422:28: note: 'ExposureMode' has been explicitly marked unavailable here
1420 |     Indicates that the device should only adjust exposure according to user provided ISO, exposureDuration values.
1421 |  */
1422 | typedef NS_ENUM(NSInteger, AVCaptureExposureMode) {
     |                            `- note: 'ExposureMode' has been explicitly marked unavailable here
1423 |     AVCaptureExposureModeLocked                            = 0,
1424 |     AVCaptureExposureModeAutoExpose                        = 1,
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:131:28: error: 'videoZoomFactor' is unavailable in visionOS
129 |                 captureDevice!.unlockForConfiguration()
130 |             }
131 |             captureDevice!.videoZoomFactor = ratio
    |                            `- error: 'videoZoomFactor' is unavailable in visionOS
132 |         } catch { }
133 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:2068:30: note: 'videoZoomFactor' has been explicitly marked unavailable here
2066 |  @seealso -[AVCaptureDeviceFormat videoMaxZoomFactor], -[AVCaptureDeviceFormat videoZoomFactorUpscaleThreshold], -[AVCaptureDevice minAvailableVideoZoomFactor], -[AVCaptureDevice maxAvailableVideoZoomFactor],  -[AVCaptureDeviceFormat supportedVideoZoomFactorsForDepthDataDelivery], -[AVCaptureDeviceFormat videoMinZoomFactorForCenterStage] and -[AVCaptureDeviceFormat videoMaxZoomFactorForCenterStage]
2067 |  */
2068 | @property(nonatomic) CGFloat videoZoomFactor API_AVAILABLE(ios(7.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(macos, visionos);
     |                              `- note: 'videoZoomFactor' has been explicitly marked unavailable here
2069 |
2070 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:146:17: warning: variable 'imageOrientation' was never used; consider replacing with '_' or removing it [#NoUsage]
144 |             // The frame is always oriented based on the camera sensor,
145 |             // so in most cases Vision needs to rotate it for the model to work as expected.
146 |             var imageOrientation: CGImagePropertyOrientation = .up
    |                 `- warning: variable 'imageOrientation' was never used; consider replacing with '_' or removing it [#NoUsage]
147 | //            switch UIDevice.current.orientation {
148 | //            case .portrait:
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:171:20: error: 'videoOrientation' is unavailable in visionOS
169 |       guard let connection = videoOutput.connection(with: .video) else { return }
170 |
171 |         connection.videoOrientation = orientation
    |                    `- error: 'videoOrientation' is unavailable in visionOS
172 |       let currentInput = self.captureSession.inputs.first as? AVCaptureDeviceInput
173 |       if currentInput?.device.position == .front {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:1111:48: note: 'videoOrientation' has been explicitly marked unavailable here
1109 |     This property is deprecated. Use -videoRotationAngle instead. This property may only be set if -isVideoOrientationSupported returns YES, otherwise an NSInvalidArgumentException is thrown.
1110 |  */
1111 | @property(nonatomic) AVCaptureVideoOrientation videoOrientation API_DEPRECATED("Use -videoRotationAngle instead", macos(10.7, 14.0), ios(4.0, 17.0), macCatalyst(14.0, 17.0)) API_UNAVAILABLE(tvos, visionos);
     |                                                `- note: 'videoOrientation' has been explicitly marked unavailable here
1112 |
1113 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:179:26: error: 'connection' is unavailable in visionOS
177 |       }
178 |
179 |       self.previewLayer?.connection?.videoOrientation = connection.videoOrientation
    |                          `- error: 'connection' is unavailable in visionOS
180 |     }
181 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h:115:63: note: 'connection' has been explicitly marked unavailable here
113 |     When calling initWithSession: or setSession: with a valid AVCaptureSession instance, a connection is formed to the first eligible video AVCaptureInput. If the receiver is detached from a session, the connection property becomes nil.
114 |  */
115 | @property(nonatomic, readonly, nullable) AVCaptureConnection *connection API_AVAILABLE(ios(6.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos);
    |                                                               `- note: 'connection' has been explicitly marked unavailable here
116 |
117 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:179:38: error: 'videoOrientation' is unavailable in visionOS
177 |       }
178 |
179 |       self.previewLayer?.connection?.videoOrientation = connection.videoOrientation
    |                                      `- error: 'videoOrientation' is unavailable in visionOS
180 |     }
181 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:1111:48: note: 'videoOrientation' has been explicitly marked unavailable here
1109 |     This property is deprecated. Use -videoRotationAngle instead. This property may only be set if -isVideoOrientationSupported returns YES, otherwise an NSInvalidArgumentException is thrown.
1110 |  */
1111 | @property(nonatomic) AVCaptureVideoOrientation videoOrientation API_DEPRECATED("Use -videoRotationAngle instead", macos(10.7, 14.0), ios(4.0, 17.0), macCatalyst(14.0, 17.0)) API_UNAVAILABLE(tvos, visionos);
     |                                                `- note: 'videoOrientation' has been explicitly marked unavailable here
1112 |
1113 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift:179:68: error: 'videoOrientation' is unavailable in visionOS
177 |       }
178 |
179 |       self.previewLayer?.connection?.videoOrientation = connection.videoOrientation
    |                                                                    `- error: 'videoOrientation' is unavailable in visionOS
180 |     }
181 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h:1111:48: note: 'videoOrientation' has been explicitly marked unavailable here
1109 |     This property is deprecated. Use -videoRotationAngle instead. This property may only be set if -isVideoOrientationSupported returns YES, otherwise an NSInvalidArgumentException is thrown.
1110 |  */
1111 | @property(nonatomic) AVCaptureVideoOrientation videoOrientation API_DEPRECATED("Use -videoRotationAngle instead", macos(10.7, 14.0), ios(4.0, 17.0), macCatalyst(14.0, 17.0)) API_UNAVAILABLE(tvos, visionos);
     |                                                `- note: 'videoOrientation' has been explicitly marked unavailable here
1112 |
1113 | /*!
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/YOLO/VideoCapture.swift (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile VideoCapture.swift
SwiftCompile normal arm64 Compiling\ YOLOCamera.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOCamera.swift (in target 'YOLO' from project 'YOLO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/YOLO/YOLOCamera.swift (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile YOLOCamera.swift
SwiftCompile normal arm64 Compiling\ BoundingBoxView.swift,\ ObjectDetector.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/BoundingBoxView.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/ObjectDetector.swift (in target 'YOLO' from project 'YOLO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/YOLO/BoundingBoxView.swift (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile BoundingBoxView.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/YOLO/ObjectDetector.swift (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ObjectDetector.swift
SwiftCompile normal arm64 Compiling\ ThresholdProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/YOLO/ThresholdProvider.swift (in target 'YOLO' from project 'YOLO')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/YOLO/ThresholdProvider.swift (in target 'YOLO' from project 'YOLO')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ThresholdProvider.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-21 14:50:59.195 xcodebuild[776:4590] [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\ YOLO (in target 'YOLO' from project 'YOLO')
	SwiftCompile normal arm64 (in target 'YOLO' from project 'YOLO')
	Building workspace YOLO with scheme YOLO
(3 failures)
BUILD FAILURE 6.4 visionOS