The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ScreenProtectorKit, reference main (45e1d4), with Swift 6.1 for visionOS using Xcode 16.3 on 3 Mar 2026 22:25:17 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/prongbang/ScreenProtectorKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/prongbang/ScreenProtectorKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 45e1d46 Merge pull request #9 from Kiruel/fix/ios-crash-update-interface
Cloned https://github.com/prongbang/ScreenProtectorKit.git
Revision (git rev-parse @):
45e1d46a99aa29d83553eda7b192c0cc6c9d05b3
SUCCESS checkout https://github.com/prongbang/ScreenProtectorKit.git at main
========================================
Build
========================================
Selected platform:         visionOS
Swift version:             6.1
Building package at path:  $PWD
https://github.com/prongbang/ScreenProtectorKit.git
https://github.com/prongbang/ScreenProtectorKit.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ScreenProtectorKit",
  "name" : "ScreenProtectorKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "ScreenProtectorKit",
      "targets" : [
        "ScreenProtectorKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ScreenProtectorKitTests",
      "module_type" : "SwiftTarget",
      "name" : "ScreenProtectorKitTests",
      "path" : "Tests/ScreenProtectorKitTests",
      "sources" : [
        "ScreenProtectorKitTests.swift"
      ],
      "target_dependencies" : [
        "ScreenProtectorKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ScreenProtectorKit",
      "module_type" : "SwiftTarget",
      "name" : "ScreenProtectorKit",
      "path" : "Sources/ScreenProtectorKit",
      "product_memberships" : [
        "ScreenProtectorKit"
      ],
      "sources" : [
        "ScreenProtectorKit.swift",
        "UIColor+Extension.swift"
      ],
      "target_dependencies" : [
        "ScreenPreventerKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ScreenPreventerKit",
      "module_type" : "BinaryTarget",
      "name" : "ScreenPreventerKit",
      "path" : "Frameworks/ScreenPreventerKit.xcframework",
      "product_memberships" : [
        "ScreenProtectorKit"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.5"
}
Command line invocation:
    /Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
  ScreenProtectorKit: /Users/admin/builder/spi-builder-workspace
resolved source packages: ScreenProtectorKit
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ScreenProtectorKit",
  "name" : "ScreenProtectorKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "ScreenProtectorKit",
      "targets" : [
        "ScreenProtectorKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ScreenProtectorKitTests",
      "module_type" : "SwiftTarget",
      "name" : "ScreenProtectorKitTests",
      "path" : "Tests/ScreenProtectorKitTests",
      "sources" : [
        "ScreenProtectorKitTests.swift"
      ],
      "target_dependencies" : [
        "ScreenProtectorKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ScreenProtectorKit",
      "module_type" : "SwiftTarget",
      "name" : "ScreenProtectorKit",
      "path" : "Sources/ScreenProtectorKit",
      "product_memberships" : [
        "ScreenProtectorKit"
      ],
      "sources" : [
        "ScreenProtectorKit.swift",
        "UIColor+Extension.swift"
      ],
      "target_dependencies" : [
        "ScreenPreventerKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ScreenPreventerKit",
      "module_type" : "BinaryTarget",
      "name" : "ScreenPreventerKit",
      "path" : "Frameworks/ScreenPreventerKit.xcframework",
      "product_memberships" : [
        "ScreenProtectorKit"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.5"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "ScreenProtectorKit"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ScreenProtectorKit -destination generic/platform=xrOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
Command line invocation:
    /Applications/Xcode-16.3.0.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 ScreenProtectorKit -destination generic/platform=xrOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures"
Build settings from command line:
    OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
Resolve Package Graph
Resolved source packages:
  ScreenProtectorKit: /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 'ScreenProtectorKit' in project 'ScreenProtectorKit'
        ➜ Explicit dependency on target 'ScreenProtectorKit' in project 'ScreenProtectorKit'
    Target 'ScreenProtectorKit' in project 'ScreenProtectorKit' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 927122b5ce61ac0a79e8e720a4fcc2b0
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/927122b5ce61ac0a79e8e720a4fcc2b0.xcbuilddata
/Users/admin/builder/spi-builder-workspace/Frameworks/ScreenPreventerKit.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Frameworks/ScreenPreventerKit.xcframework'. (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
/Users/admin/builder/spi-builder-workspace/Frameworks/ScreenPreventerKit.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Frameworks/ScreenPreventerKit.xcframework'. (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme ScreenProtectorKit
(1 failure)
Command line invocation:
    /Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
  ScreenProtectorKit: /Users/admin/builder/spi-builder-workspace
resolved source packages: ScreenProtectorKit
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ScreenProtectorKit",
  "name" : "ScreenProtectorKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "ScreenProtectorKit",
      "targets" : [
        "ScreenProtectorKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ScreenProtectorKitTests",
      "module_type" : "SwiftTarget",
      "name" : "ScreenProtectorKitTests",
      "path" : "Tests/ScreenProtectorKitTests",
      "sources" : [
        "ScreenProtectorKitTests.swift"
      ],
      "target_dependencies" : [
        "ScreenProtectorKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ScreenProtectorKit",
      "module_type" : "SwiftTarget",
      "name" : "ScreenProtectorKit",
      "path" : "Sources/ScreenProtectorKit",
      "product_memberships" : [
        "ScreenProtectorKit"
      ],
      "sources" : [
        "ScreenProtectorKit.swift",
        "UIColor+Extension.swift"
      ],
      "target_dependencies" : [
        "ScreenPreventerKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ScreenPreventerKit",
      "module_type" : "BinaryTarget",
      "name" : "ScreenPreventerKit",
      "path" : "Frameworks/ScreenPreventerKit.xcframework",
      "product_memberships" : [
        "ScreenProtectorKit"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.5"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "ScreenProtectorKit"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ScreenProtectorKit -destination generic/platform=xrOS
Command line invocation:
    /Applications/Xcode-16.3.0.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 ScreenProtectorKit -destination generic/platform=xrOS
Resolve Package Graph
Resolved source packages:
  ScreenProtectorKit: /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 'ScreenProtectorKit' in project 'ScreenProtectorKit'
        ➜ Explicit dependency on target 'ScreenProtectorKit' in project 'ScreenProtectorKit'
    Target 'ScreenProtectorKit' in project 'ScreenProtectorKit' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 59b59ef19d8047e33fb1a887cdd8ba21
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/59b59ef19d8047e33fb1a887cdd8ba21.xcbuilddata
/Users/admin/builder/spi-builder-workspace/Frameworks/ScreenPreventerKit.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Frameworks/ScreenPreventerKit.xcframework'. (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
/Users/admin/builder/spi-builder-workspace/Frameworks/ScreenPreventerKit.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Frameworks/ScreenPreventerKit.xcframework'. (in target 'ScreenProtectorKit' from project 'ScreenProtectorKit')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme ScreenProtectorKit
(1 failure)
BUILD FAILURE 6.1 visionOS