The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ScreenProtectorKit, reference main (45e1d4), with Swift 6.0 for tvOS using Xcode 16.2 on 3 Mar 2026 18:24:12 UTC.

Build Command

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

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:         tvOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/prongbang/ScreenProtectorKit.git
Command line invocation:
    /Applications/Xcode-16.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
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.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ScreenProtectorKit -destination generic/platform=tvOS
Command line invocation:
    /Applications/Xcode-16.2.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=tvOS
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
  ScreenProtectorKit: /Users/admin/builder/spi-builder-workspace
Prepare packages
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.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.2.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 143a1214b6cae8b6f928668e3289d729
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/143a1214b6cae8b6f928668e3289d729.xcbuilddata
/Users/admin/builder/spi-builder-workspace/Frameworks/ScreenPreventerKit.xcframework:1:1: error: While building for tvOS, 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 tvOS, 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.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
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.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ScreenProtectorKit -destination generic/platform=tvOS
Command line invocation:
    /Applications/Xcode-16.2.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=tvOS
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
  ScreenProtectorKit: /Users/admin/builder/spi-builder-workspace
Prepare packages
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.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.2.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 143a1214b6cae8b6f928668e3289d729
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/143a1214b6cae8b6f928668e3289d729.xcbuilddata
/Users/admin/builder/spi-builder-workspace/Frameworks/ScreenPreventerKit.xcframework:1:1: error: While building for tvOS, 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 tvOS, 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.0 tvOS