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 LibXMTP, reference main (cf0646), with Swift 6.1 for visionOS using Xcode 16.3 on 31 May 2025 19:43: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 LibXMTP -destination generic/platform=xrOS

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xmtp/libxmtp-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/xmtp/libxmtp-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cf06462 Merge pull request #137 from xmtp/update-to-swift-bindings-1.2.0.7b9b4d0
Cloned https://github.com/xmtp/libxmtp-swift.git
Revision (git rev-parse @):
cf06462bb5bf9883551efac4e915391dcd215861
SUCCESS checkout https://github.com/xmtp/libxmtp-swift.git at main
========================================
Build
========================================
Selected platform:         visionOS
Swift version:             6.1
Building package at path:  $PWD
https://github.com/xmtp/libxmtp-swift.git
https://github.com/xmtp/libxmtp-swift.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "LibXMTP",
  "name" : "LibXMTP",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "LibXMTP",
      "targets" : [
        "LibXMTP",
        "LibXMTPSwiftFFI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LibXMTPTests",
      "module_type" : "SwiftTarget",
      "name" : "LibXMTPTests",
      "path" : "Tests/LibXMTPTests",
      "sources" : [
        "LibXMTPTest.swift"
      ],
      "target_dependencies" : [
        "LibXMTP"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LibXMTPSwiftFFI",
      "module_type" : "BinaryTarget",
      "name" : "LibXMTPSwiftFFI",
      "path" : "remote/archive/LibXMTPSwiftFFI.zip",
      "product_memberships" : [
        "LibXMTP"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "LibXMTP",
      "module_type" : "SwiftTarget",
      "name" : "LibXMTP",
      "path" : "Sources/LibXMTP",
      "product_memberships" : [
        "LibXMTP"
      ],
      "sources" : [
        "xmtpv3.swift"
      ],
      "target_dependencies" : [
        "LibXMTPSwiftFFI"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
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
Resolve Package Graph
Resolved source packages:
  LibXMTP: /Users/admin/builder/spi-builder-workspace
resolved source packages: LibXMTP
{
  "dependencies" : [
  ],
  "manifest_display_name" : "LibXMTP",
  "name" : "LibXMTP",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "LibXMTP",
      "targets" : [
        "LibXMTP",
        "LibXMTPSwiftFFI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LibXMTPTests",
      "module_type" : "SwiftTarget",
      "name" : "LibXMTPTests",
      "path" : "Tests/LibXMTPTests",
      "sources" : [
        "LibXMTPTest.swift"
      ],
      "target_dependencies" : [
        "LibXMTP"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LibXMTPSwiftFFI",
      "module_type" : "BinaryTarget",
      "name" : "LibXMTPSwiftFFI",
      "path" : "remote/archive/LibXMTPSwiftFFI.zip",
      "product_memberships" : [
        "LibXMTP"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "LibXMTP",
      "module_type" : "SwiftTarget",
      "name" : "LibXMTP",
      "path" : "Sources/LibXMTP",
      "product_memberships" : [
        "LibXMTP"
      ],
      "sources" : [
        "xmtpv3.swift"
      ],
      "target_dependencies" : [
        "LibXMTPSwiftFFI"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "LibXMTP"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme LibXMTP -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 LibXMTP -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:
  LibXMTP: /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 'LibXMTP' in project 'LibXMTP'
        ➜ Explicit dependency on target 'LibXMTP' in project 'LibXMTP'
    Target 'LibXMTP' in project 'LibXMTP' (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: 9a8f8dd110b2fae0a96f9798d646b5de
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/9a8f8dd110b2fae0a96f9798d646b5de.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LibXMTPSwiftFFI/LibXMTPSwiftFFI.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LibXMTPSwiftFFI/LibXMTPSwiftFFI.xcframework'. (in target 'LibXMTP' from project 'LibXMTP')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LibXMTPSwiftFFI/LibXMTPSwiftFFI.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LibXMTPSwiftFFI/LibXMTPSwiftFFI.xcframework'. (in target 'LibXMTP' from project 'LibXMTP')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LibXMTPSwiftFFI/LibXMTPSwiftFFI.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LibXMTPSwiftFFI/LibXMTPSwiftFFI.xcframework'. (in target 'LibXMTP' from project 'LibXMTP')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme LibXMTP
(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:
  LibXMTP: /Users/admin/builder/spi-builder-workspace
resolved source packages: LibXMTP
{
  "dependencies" : [
  ],
  "manifest_display_name" : "LibXMTP",
  "name" : "LibXMTP",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "LibXMTP",
      "targets" : [
        "LibXMTP",
        "LibXMTPSwiftFFI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LibXMTPTests",
      "module_type" : "SwiftTarget",
      "name" : "LibXMTPTests",
      "path" : "Tests/LibXMTPTests",
      "sources" : [
        "LibXMTPTest.swift"
      ],
      "target_dependencies" : [
        "LibXMTP"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LibXMTPSwiftFFI",
      "module_type" : "BinaryTarget",
      "name" : "LibXMTPSwiftFFI",
      "path" : "remote/archive/LibXMTPSwiftFFI.zip",
      "product_memberships" : [
        "LibXMTP"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "LibXMTP",
      "module_type" : "SwiftTarget",
      "name" : "LibXMTP",
      "path" : "Sources/LibXMTP",
      "product_memberships" : [
        "LibXMTP"
      ],
      "sources" : [
        "xmtpv3.swift"
      ],
      "target_dependencies" : [
        "LibXMTPSwiftFFI"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "LibXMTP"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme LibXMTP -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 LibXMTP -destination generic/platform=xrOS
Resolve Package Graph
Resolved source packages:
  LibXMTP: /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 'LibXMTP' in project 'LibXMTP'
        ➜ Explicit dependency on target 'LibXMTP' in project 'LibXMTP'
    Target 'LibXMTP' in project 'LibXMTP' (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: 2a0faba5d6a00aa71fcaf66d6b91f70b
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/2a0faba5d6a00aa71fcaf66d6b91f70b.xcbuilddata
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LibXMTPSwiftFFI/LibXMTPSwiftFFI.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LibXMTPSwiftFFI/LibXMTPSwiftFFI.xcframework'. (in target 'LibXMTP' from project 'LibXMTP')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LibXMTPSwiftFFI/LibXMTPSwiftFFI.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LibXMTPSwiftFFI/LibXMTPSwiftFFI.xcframework'. (in target 'LibXMTP' from project 'LibXMTP')
/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LibXMTPSwiftFFI/LibXMTPSwiftFFI.xcframework:1:1: error: While building for visionOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LibXMTPSwiftFFI/LibXMTPSwiftFFI.xcframework'. (in target 'LibXMTP' from project 'LibXMTP')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme LibXMTP
(1 failure)
BUILD FAILURE 6.1 visionOS