The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Castor, reference 0.2.0 (390f93), with Swift 5.9 for visionOS using Xcode 15.2 on 12 May 2025 12:48:51 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SRGSSR/castor.git
Reference: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SRGSSR/castor
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 390f931 Fix release workflow (#104)
Cloned https://github.com/SRGSSR/castor.git
Revision (git rev-parse @):
390f931aad13814fa312b1b9e9ac896691188411
SUCCESS checkout https://github.com/SRGSSR/castor.git at 0.2.0
========================================
Build
========================================
Selected platform:         visionOS
Swift version:             5.9
Building package at path:  $PWD
https://github.com/SRGSSR/castor.git
Command line invocation:
    /Applications/Xcode-15.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
Fetching from https://github.com/SRGSSR/google-cast-sdk.git
Creating working copy of package ‘google-cast-sdk’
Checking out 4.8.3 of package ‘google-cast-sdk’
Resolve Package Graph
Resolved source packages:
  GoogleCast: https://github.com/SRGSSR/google-cast-sdk.git @ 4.8.3
  Castor: /Users/admin/builder/spi-builder-workspace
resolved source packages: GoogleCast, Castor
{
  "default_localization" : "en",
  "dependencies" : [
    {
      "identity" : "google-cast-sdk",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.8.3",
            "upper_bound" : "4.9.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SRGSSR/google-cast-sdk.git"
    }
  ],
  "manifest_display_name" : "Castor",
  "name" : "Castor",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "Castor",
      "targets" : [
        "Castor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CastorTests",
      "module_type" : "SwiftTarget",
      "name" : "CastorTests",
      "path" : "Tests/CastorTests",
      "sources" : [
        "CollectionTests.swift",
        "ComparableTests.swift",
        "RangeReplaceableTests.swift"
      ],
      "target_dependencies" : [
        "Castor"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CastorPackageInfoPlugin",
      "module_type" : "PluginTarget",
      "name" : "CastorPackageInfoPlugin",
      "path" : "Plugins",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "Castor"
      ],
      "sources" : [
        "PackageInfoPlugin/plugin.swift"
      ],
      "target_dependencies" : [
        "CastorPackageInfo"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "CastorPackageInfo",
      "module_type" : "BinaryTarget",
      "name" : "CastorPackageInfo",
      "path" : "Artifacts/PackageInfo.artifactbundle",
      "product_memberships" : [
        "Castor"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "Castor",
      "module_type" : "SwiftTarget",
      "name" : "Castor",
      "path" : "Sources/Castor",
      "product_dependencies" : [
        "GoogleCast"
      ],
      "product_memberships" : [
        "Castor"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Castor/Resources/Localizable.xcstrings",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Cast.swift",
        "CastAsset.swift",
        "CastButton.swift",
        "CastConfiguration.swift",
        "CastCurrent.swift",
        "CastDevice.swift",
        "CastExpandedMediaControlsView.swift",
        "CastMetadata.swift",
        "CastMiniMediaControlsView.swift",
        "CastPlaybackConfiguration.swift",
        "CastPlaybackSpeed.swift",
        "CastPlayer+SettingsMenu.swift",
        "CastPlayer.swift",
        "CastPlayerItem.swift",
        "CastProgressTracker.swift",
        "CastQueue.swift",
        "CastRepeat.swift",
        "CastRepeatMode.swift",
        "CastSeek.swift",
        "CastSettingsUpdate.swift",
        "CastSkip.swift",
        "CastTracks.swift",
        "Extensions/Binding.swift",
        "Extensions/CMTimeRange.swift",
        "Extensions/Collection.swift",
        "Extensions/Comparable.swift",
        "Extensions/GCKMediaQueue.swift",
        "Extensions/GCKMediaTrackType.swift",
        "Extensions/Publishers.swift",
        "Extensions/RangeReplaceableCollection.swift",
        "Extensions/Slider.swift",
        "Extensions/View.swift",
        "MediaSelectionOption.swift",
        "TimeProperties.swift"
      ],
      "target_dependencies" : [
        "CastorPackageInfoPlugin"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "Castor"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Castor -destination generic/platform=xrOS
Command line invocation:
    /Applications/Xcode-15.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 Castor -destination generic/platform=xrOS
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:
  Castor: /Users/admin/builder/spi-builder-workspace
  GoogleCast: https://github.com/SRGSSR/google-cast-sdk.git @ 4.8.3
Prepare packages
Compile plug-in “CastorPackageInfoPlugin” in package “spi-builder-workspace”
[debug]: Compiling plugin to executable at /Users/admin/builder/spi-builder-workspace/.dependencies/plugins/CastorPackageInfoPlugin
[debug]: Using compiler /Applications/Xcode-15.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc
[debug]: Plugin compilation output directory '/Users/admin/builder/spi-builder-workspace/.dependencies/plugins'
[debug]: Computed hash of plugin compilation inputs: 270ae89e1adb8cccbf3e966863901f8c8ff388ee7d11fd7c87db04d10a3a4b6f
Apply build tool plug-in “CastorPackageInfoPlugin” to target “Castor” in package “spi-builder-workspace”
/usr/bin/sandbox-exec -p "(version 1)
(deny default)
(import \"system.sb\")
(allow file-read*)
(allow process*)
(allow mach-lookup (global-name \"com.apple.lsd.mapdb\"))
(allow file-write*
    (subpath \"/private/tmp\")
    (subpath \"/private/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T\")
)
(deny file-write*
    (subpath \"/Users/admin/builder/spi-builder-workspace\")
)
(allow file-write*
    (subpath \"/Users/admin/builder/spi-builder-workspace/.dependencies/plugins/spi-builder-workspace.output/Castor/CastorPackageInfoPlugin\")
)
" /Users/admin/builder/spi-builder-workspace/Artifacts/PackageInfo.artifactbundle/package-info.sh /Users/admin/builder/spi-builder-workspace/Sources/Castor/../.. /Users/admin/builder/spi-builder-workspace/.dependencies/plugins/spi-builder-workspace.output/Castor/CastorPackageInfoPlugin
Process build tool plug-in results
package: <IDESwiftPackageCore.IDESwiftPackage:0x107cc69c0 path:'/Users/admin/builder/spi-builder-workspace'>
    target: Castor
        prebuildCommandOutputPaths: ["/Users/admin/builder/spi-builder-workspace/.dependencies/plugins/spi-builder-workspace.output/Castor/CastorPackageInfoPlugin/PackageInfo.swift"]
        buildCommands: []
        allDerivedOutputPaths: ["/Users/admin/builder/spi-builder-workspace/.dependencies/plugins/spi-builder-workspace.output/Castor/CastorPackageInfoPlugin/PackageInfo.swift"]
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (5 targets)
    Target 'Castor' in project 'Castor'
        ➜ Explicit dependency on target 'Castor' in project 'Castor'
        ➜ Explicit dependency on target 'Castor_Castor' in project 'Castor'
        ➜ Explicit dependency on target 'CastorPackageInfoPlugin' in project 'Castor'
        ➜ Explicit dependency on target 'GoogleCast' in project 'GoogleCast'
    Target 'Castor' in project 'Castor'
        ➜ Explicit dependency on target 'Castor_Castor' in project 'Castor'
        ➜ Explicit dependency on target 'CastorPackageInfoPlugin' in project 'Castor'
        ➜ Explicit dependency on target 'GoogleCast' in project 'GoogleCast'
    Target 'GoogleCast' in project 'GoogleCast' (no dependencies)
    Target 'CastorPackageInfoPlugin' in project 'Castor' (no dependencies)
    Target 'Castor_Castor' in project 'Castor' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
Build description signature: 3bbf10ac65e5eec10c15e3298a607a0c
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/3bbf10ac65e5eec10c15e3298a607a0c.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework'. (in target 'Castor' from project 'Castor')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework'. (in target 'GoogleCast' from project 'GoogleCast')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework'. (in target 'Castor' from project 'Castor')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework'. (in target 'Castor' from project 'Castor')
Resolve Package Graph
** BUILD FAILED **
Command line invocation:
    /Applications/Xcode-15.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:
  GoogleCast: https://github.com/SRGSSR/google-cast-sdk.git @ 4.8.3
  Castor: /Users/admin/builder/spi-builder-workspace
resolved source packages: GoogleCast, Castor
{
  "default_localization" : "en",
  "dependencies" : [
    {
      "identity" : "google-cast-sdk",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.8.3",
            "upper_bound" : "4.9.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SRGSSR/google-cast-sdk.git"
    }
  ],
  "manifest_display_name" : "Castor",
  "name" : "Castor",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "Castor",
      "targets" : [
        "Castor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CastorTests",
      "module_type" : "SwiftTarget",
      "name" : "CastorTests",
      "path" : "Tests/CastorTests",
      "sources" : [
        "CollectionTests.swift",
        "ComparableTests.swift",
        "RangeReplaceableTests.swift"
      ],
      "target_dependencies" : [
        "Castor"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CastorPackageInfoPlugin",
      "module_type" : "PluginTarget",
      "name" : "CastorPackageInfoPlugin",
      "path" : "Plugins",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "Castor"
      ],
      "sources" : [
        "PackageInfoPlugin/plugin.swift"
      ],
      "target_dependencies" : [
        "CastorPackageInfo"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "CastorPackageInfo",
      "module_type" : "BinaryTarget",
      "name" : "CastorPackageInfo",
      "path" : "Artifacts/PackageInfo.artifactbundle",
      "product_memberships" : [
        "Castor"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "Castor",
      "module_type" : "SwiftTarget",
      "name" : "Castor",
      "path" : "Sources/Castor",
      "product_dependencies" : [
        "GoogleCast"
      ],
      "product_memberships" : [
        "Castor"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Castor/Resources/Localizable.xcstrings",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Cast.swift",
        "CastAsset.swift",
        "CastButton.swift",
        "CastConfiguration.swift",
        "CastCurrent.swift",
        "CastDevice.swift",
        "CastExpandedMediaControlsView.swift",
        "CastMetadata.swift",
        "CastMiniMediaControlsView.swift",
        "CastPlaybackConfiguration.swift",
        "CastPlaybackSpeed.swift",
        "CastPlayer+SettingsMenu.swift",
        "CastPlayer.swift",
        "CastPlayerItem.swift",
        "CastProgressTracker.swift",
        "CastQueue.swift",
        "CastRepeat.swift",
        "CastRepeatMode.swift",
        "CastSeek.swift",
        "CastSettingsUpdate.swift",
        "CastSkip.swift",
        "CastTracks.swift",
        "Extensions/Binding.swift",
        "Extensions/CMTimeRange.swift",
        "Extensions/Collection.swift",
        "Extensions/Comparable.swift",
        "Extensions/GCKMediaQueue.swift",
        "Extensions/GCKMediaTrackType.swift",
        "Extensions/Publishers.swift",
        "Extensions/RangeReplaceableCollection.swift",
        "Extensions/Slider.swift",
        "Extensions/View.swift",
        "MediaSelectionOption.swift",
        "TimeProperties.swift"
      ],
      "target_dependencies" : [
        "CastorPackageInfoPlugin"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "Castor"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Castor -destination generic/platform=xrOS
Command line invocation:
    /Applications/Xcode-15.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 Castor -destination generic/platform=xrOS
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:
  GoogleCast: https://github.com/SRGSSR/google-cast-sdk.git @ 4.8.3
  Castor: /Users/admin/builder/spi-builder-workspace
Prepare packages
Compile plug-in “CastorPackageInfoPlugin” in package “spi-builder-workspace”
[debug]: Compiling plugin to executable at /Users/admin/builder/spi-builder-workspace/.dependencies/plugins/CastorPackageInfoPlugin
[debug]: Using compiler /Applications/Xcode-15.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc
[debug]: Plugin compilation output directory '/Users/admin/builder/spi-builder-workspace/.dependencies/plugins'
[debug]: Computed hash of plugin compilation inputs: 270ae89e1adb8cccbf3e966863901f8c8ff388ee7d11fd7c87db04d10a3a4b6f
Apply build tool plug-in “CastorPackageInfoPlugin” to target “Castor” in package “spi-builder-workspace”
/usr/bin/sandbox-exec -p "(version 1)
(deny default)
(import \"system.sb\")
(allow file-read*)
(allow process*)
(allow mach-lookup (global-name \"com.apple.lsd.mapdb\"))
(allow file-write*
    (subpath \"/private/tmp\")
    (subpath \"/private/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T\")
)
(deny file-write*
    (subpath \"/Users/admin/builder/spi-builder-workspace\")
)
(allow file-write*
    (subpath \"/Users/admin/builder/spi-builder-workspace/.dependencies/plugins/spi-builder-workspace.output/Castor/CastorPackageInfoPlugin\")
)
" /Users/admin/builder/spi-builder-workspace/Artifacts/PackageInfo.artifactbundle/package-info.sh /Users/admin/builder/spi-builder-workspace/Sources/Castor/../.. /Users/admin/builder/spi-builder-workspace/.dependencies/plugins/spi-builder-workspace.output/Castor/CastorPackageInfoPlugin
Process build tool plug-in results
package: <IDESwiftPackageCore.IDESwiftPackage:0x138606f60 path:'/Users/admin/builder/spi-builder-workspace'>
    target: Castor
        prebuildCommandOutputPaths: ["/Users/admin/builder/spi-builder-workspace/.dependencies/plugins/spi-builder-workspace.output/Castor/CastorPackageInfoPlugin/PackageInfo.swift"]
        buildCommands: []
        allDerivedOutputPaths: ["/Users/admin/builder/spi-builder-workspace/.dependencies/plugins/spi-builder-workspace.output/Castor/CastorPackageInfoPlugin/PackageInfo.swift"]
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (5 targets)
    Target 'Castor' in project 'Castor'
        ➜ Explicit dependency on target 'Castor' in project 'Castor'
        ➜ Explicit dependency on target 'Castor_Castor' in project 'Castor'
        ➜ Explicit dependency on target 'CastorPackageInfoPlugin' in project 'Castor'
        ➜ Explicit dependency on target 'GoogleCast' in project 'GoogleCast'
    Target 'Castor' in project 'Castor'
        ➜ Explicit dependency on target 'Castor_Castor' in project 'Castor'
        ➜ Explicit dependency on target 'CastorPackageInfoPlugin' in project 'Castor'
        ➜ Explicit dependency on target 'GoogleCast' in project 'GoogleCast'
    Target 'GoogleCast' in project 'GoogleCast' (no dependencies)
    Target 'CastorPackageInfoPlugin' in project 'Castor' (no dependencies)
    Target 'Castor_Castor' in project 'Castor' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
Build description signature: 3bbf10ac65e5eec10c15e3298a607a0c
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/3bbf10ac65e5eec10c15e3298a607a0c.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework'. (in target 'Castor' from project 'Castor')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework'. (in target 'GoogleCast' from project 'GoogleCast')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework'. (in target 'Castor' from project 'Castor')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/google-cast-sdk/GoogleCast/GoogleCast.xcframework'. (in target 'Castor' from project 'Castor')
** BUILD FAILED **
BUILD FAILURE 5.9 visionOS