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 Loro, reference main (9d0be5), with Swift 6.0 for tvOS using Xcode 16.2 on 10 Jun 2025 13:40:22 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/loro-dev/loro-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/loro-dev/loro-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9d0be55 chore: update version to 1.5.2
Submodule path 'loro-ffi': checked out '9fd4bce14c9102cd5e83c50d1be5fe88ebdafd95'
Submodule 'loro-ffi' (https://github.com/loro-dev/loro-ffi.git) registered for path 'loro-ffi'
Cloning into '/Users/admin/builder/spi-builder-workspace/loro-ffi'...
Cloned https://github.com/loro-dev/loro-swift.git
Revision (git rev-parse @):
9d0be5591b470955284062b4c9ba7f660db18b54
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/loro-dev/loro-swift.git at main
========================================
Build
========================================
Selected platform:         tvOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/loro-dev/loro-swift.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:
  Loro: /Users/admin/builder/spi-builder-workspace
resolved source packages: Loro
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Loro",
  "name" : "Loro",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Loro",
      "targets" : [
        "Loro"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LoroTests",
      "module_type" : "SwiftTarget",
      "name" : "LoroTests",
      "path" : "Tests/LoroTests",
      "sources" : [
        "EphemeralStoreTests.swift",
        "LoroTests.swift"
      ],
      "target_dependencies" : [
        "Loro"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LoroFFI",
      "module_type" : "BinaryTarget",
      "name" : "LoroFFI",
      "path" : "remote/archive/loroFFI.xcframework.zip",
      "product_memberships" : [
        "Loro"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "Loro",
      "module_type" : "SwiftTarget",
      "name" : "Loro",
      "path" : "Sources/Loro",
      "product_memberships" : [
        "Loro"
      ],
      "sources" : [
        "Container.swift",
        "Ephemeral.swift",
        "Event.swift",
        "Loro.swift",
        "LoroFFI.swift",
        "Value.swift",
        "Version.swift"
      ],
      "target_dependencies" : [
        "LoroFFI"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "Loro"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Loro -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 Loro -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:
  Loro: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
    Target 'Loro' in project 'Loro'
        ➜ Explicit dependency on target 'Loro' in project 'Loro'
    Target 'Loro' in project 'Loro' (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: 3748c354df8353f741b756158312ce50
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/3748c354df8353f741b756158312ce50.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LoroFFI/loroFFI.xcframework:1:1: error: While building for tvOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LoroFFI/loroFFI.xcframework'. (in target 'Loro' from project 'Loro')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LoroFFI/loroFFI.xcframework:1:1: error: While building for tvOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LoroFFI/loroFFI.xcframework'. (in target 'Loro' from project 'Loro')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme Loro
(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:
  Loro: /Users/admin/builder/spi-builder-workspace
resolved source packages: Loro
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Loro",
  "name" : "Loro",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Loro",
      "targets" : [
        "Loro"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LoroTests",
      "module_type" : "SwiftTarget",
      "name" : "LoroTests",
      "path" : "Tests/LoroTests",
      "sources" : [
        "EphemeralStoreTests.swift",
        "LoroTests.swift"
      ],
      "target_dependencies" : [
        "Loro"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LoroFFI",
      "module_type" : "BinaryTarget",
      "name" : "LoroFFI",
      "path" : "remote/archive/loroFFI.xcframework.zip",
      "product_memberships" : [
        "Loro"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "Loro",
      "module_type" : "SwiftTarget",
      "name" : "Loro",
      "path" : "Sources/Loro",
      "product_memberships" : [
        "Loro"
      ],
      "sources" : [
        "Container.swift",
        "Ephemeral.swift",
        "Event.swift",
        "Loro.swift",
        "LoroFFI.swift",
        "Value.swift",
        "Version.swift"
      ],
      "target_dependencies" : [
        "LoroFFI"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "Loro"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Loro -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 Loro -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:
  Loro: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
    Target 'Loro' in project 'Loro'
        ➜ Explicit dependency on target 'Loro' in project 'Loro'
    Target 'Loro' in project 'Loro' (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: 3748c354df8353f741b756158312ce50
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/3748c354df8353f741b756158312ce50.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LoroFFI/loroFFI.xcframework:1:1: error: While building for tvOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LoroFFI/loroFFI.xcframework'. (in target 'Loro' from project 'Loro')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LoroFFI/loroFFI.xcframework:1:1: error: While building for tvOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LoroFFI/loroFFI.xcframework'. (in target 'Loro' from project 'Loro')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme Loro
(1 failure)
BUILD FAILURE 6.0 tvOS