The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ResearchKit, reference main (d1d523), with Swift 6.0 for macOS (Xcode) using Xcode 16.2 on 25 Jan 2026 14:17: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 ResearchKit-Package -destination platform=macOS,arch=arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/ResearchKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/StanfordBDHG/ResearchKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d1d523e Create XCFrameworks for release 3.1.4
Cloned https://github.com/StanfordBDHG/ResearchKit.git
Revision (git rev-parse @):
d1d523e9e738b7ad9c97ca6101aada1c041ea9da
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/ResearchKit.git at main
========================================
Build
========================================
Selected platform:         macosXcodebuild
Swift version:             6.0
Building package at path:  $PWD
https://github.com/StanfordBDHG/ResearchKit.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
resolved source packages:
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ResearchKit",
  "name" : "ResearchKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "ResearchKit",
      "targets" : [
        "ResearchKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ResearchKitUI",
      "targets" : [
        "ResearchKitUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ResearchKitActiveTask",
      "targets" : [
        "ResearchKitActiveTask"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ResearchKitSwiftUI",
      "targets" : [
        "ResearchKitSwiftUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ResearchKitUI",
      "module_type" : "BinaryTarget",
      "name" : "ResearchKitUI",
      "path" : "Sources/ResearchKitUI.xcframework",
      "product_memberships" : [
        "ResearchKitUI",
        "ResearchKitSwiftUI"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "ResearchKitSwiftUI",
      "module_type" : "SwiftTarget",
      "name" : "ResearchKitSwiftUI",
      "path" : "Sources/ResearchKitSwiftUI",
      "product_memberships" : [
        "ResearchKitSwiftUI"
      ],
      "sources" : [
        "CancelBehavior.swift",
        "Export.swift",
        "ORKLifecycle.swift",
        "ORKOrderedTaskView.swift",
        "TaskResult.swift"
      ],
      "target_dependencies" : [
        "ResearchKit",
        "ResearchKitUI",
        "ResearchKitActiveTask"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ResearchKitActiveTask",
      "module_type" : "BinaryTarget",
      "name" : "ResearchKitActiveTask",
      "path" : "Sources/ResearchKitActiveTask.xcframework",
      "product_memberships" : [
        "ResearchKitActiveTask",
        "ResearchKitSwiftUI"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "ResearchKit",
      "module_type" : "BinaryTarget",
      "name" : "ResearchKit",
      "path" : "Sources/ResearchKit.xcframework",
      "product_memberships" : [
        "ResearchKit",
        "ResearchKitSwiftUI"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.10"
}
{
  "project" : {
    "configurations" : [
      "Debug",
      "Release"
    ],
    "name" : "ResearchKit",
    "schemes" : [
      "ResearchKit",
      "ResearchKitActiveTask",
      "ResearchKitAllTargets",
      "ResearchKitUI"
    ],
    "targets" : [
      "ResearchKit",
      "ResearchKitTests",
      "ResearchKitUI",
      "ResearchKitActiveTask",
      "ResearchKitAllTargets"
    ]
  }
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "ResearchKit",
      "ResearchKit-Package",
      "ResearchKitActiveTask",
      "ResearchKitSwiftUI",
      "ResearchKitUI"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ResearchKit-Package -destination platform=macOS,arch=arm64
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 ResearchKit-Package -destination platform=macOS,arch=arm64
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:
  ResearchKit: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (5 targets)
    Target 'ResearchKitUI' in project 'ResearchKit' (no dependencies)
    Target 'ResearchKitSwiftUI' in project 'ResearchKit'
        ➜ Explicit dependency on target 'ResearchKitSwiftUI' in project 'ResearchKit'
    Target 'ResearchKitSwiftUI' in project 'ResearchKit' (no dependencies)
    Target 'ResearchKitActiveTask' in project 'ResearchKit' (no dependencies)
    Target 'ResearchKit' in project 'ResearchKit' (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/MacOSX.platform/Developer/SDKs/MacOSX15.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
ReadFileContents /Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
Build description signature: 3c58f7957f5731b680ee0a85b9db6f11
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/3c58f7957f5731b680ee0a85b9db6f11.xcbuilddata
/Users/admin/builder/spi-builder-workspace/Sources/ResearchKitActiveTask.xcframework:1:1: error: While building for macOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Sources/ResearchKitActiveTask.xcframework'. (in target 'ResearchKitActiveTask' from project 'ResearchKit')
/Users/admin/builder/spi-builder-workspace/Sources/ResearchKitUI.xcframework:1:1: error: While building for macOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Sources/ResearchKitUI.xcframework'. (in target 'ResearchKitUI' from project 'ResearchKit')
/Users/admin/builder/spi-builder-workspace/Sources/ResearchKit.xcframework:1:1: error: While building for macOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Sources/ResearchKit.xcframework'. (in target 'ResearchKitSwiftUI' from project 'ResearchKit')
/Users/admin/builder/spi-builder-workspace/Sources/ResearchKitUI.xcframework:1:1: error: While building for macOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Sources/ResearchKitUI.xcframework'. (in target 'ResearchKitSwiftUI' from project 'ResearchKit')
/Users/admin/builder/spi-builder-workspace/Sources/ResearchKit.xcframework:1:1: error: While building for macOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Sources/ResearchKit.xcframework'. (in target 'ResearchKitSwiftUI' from project 'ResearchKit')
/Users/admin/builder/spi-builder-workspace/Sources/ResearchKitUI.xcframework:1:1: error: While building for macOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Sources/ResearchKitUI.xcframework'. (in target 'ResearchKitSwiftUI' from project 'ResearchKit')
/Users/admin/builder/spi-builder-workspace/Sources/ResearchKit.xcframework:1:1: error: While building for macOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Sources/ResearchKit.xcframework'. (in target 'ResearchKit' from project 'ResearchKit')
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:1e2834210d6afc52f9dc86614ccf76c9af49306c, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:1e2834210d6afc52f9dc86614ccf76c9af49306c, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:1e2834210d6afc52f9dc86614ccf76c9af49306c, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:1e2834210d6afc52f9dc86614ccf76c9af49306c, name:My Mac }
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme ResearchKit-Package
(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:
  ResearchKit: /Users/admin/builder/spi-builder-workspace
resolved source packages: ResearchKit
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ResearchKit",
  "name" : "ResearchKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "ResearchKit",
      "targets" : [
        "ResearchKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ResearchKitUI",
      "targets" : [
        "ResearchKitUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ResearchKitActiveTask",
      "targets" : [
        "ResearchKitActiveTask"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ResearchKitSwiftUI",
      "targets" : [
        "ResearchKitSwiftUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ResearchKitUI",
      "module_type" : "BinaryTarget",
      "name" : "ResearchKitUI",
      "path" : "Sources/ResearchKitUI.xcframework",
      "product_memberships" : [
        "ResearchKitUI",
        "ResearchKitSwiftUI"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "ResearchKitSwiftUI",
      "module_type" : "SwiftTarget",
      "name" : "ResearchKitSwiftUI",
      "path" : "Sources/ResearchKitSwiftUI",
      "product_memberships" : [
        "ResearchKitSwiftUI"
      ],
      "sources" : [
        "CancelBehavior.swift",
        "Export.swift",
        "ORKLifecycle.swift",
        "ORKOrderedTaskView.swift",
        "TaskResult.swift"
      ],
      "target_dependencies" : [
        "ResearchKit",
        "ResearchKitUI",
        "ResearchKitActiveTask"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ResearchKitActiveTask",
      "module_type" : "BinaryTarget",
      "name" : "ResearchKitActiveTask",
      "path" : "Sources/ResearchKitActiveTask.xcframework",
      "product_memberships" : [
        "ResearchKitActiveTask",
        "ResearchKitSwiftUI"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "ResearchKit",
      "module_type" : "BinaryTarget",
      "name" : "ResearchKit",
      "path" : "Sources/ResearchKit.xcframework",
      "product_memberships" : [
        "ResearchKit",
        "ResearchKitSwiftUI"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.10"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "ResearchKit",
      "ResearchKit-Package",
      "ResearchKitActiveTask",
      "ResearchKitSwiftUI",
      "ResearchKitUI"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ResearchKit-Package -destination platform=macOS,arch=arm64
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 ResearchKit-Package -destination platform=macOS,arch=arm64
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:
  ResearchKit: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (5 targets)
    Target 'ResearchKitUI' in project 'ResearchKit' (no dependencies)
    Target 'ResearchKitSwiftUI' in project 'ResearchKit'
        ➜ Explicit dependency on target 'ResearchKitSwiftUI' in project 'ResearchKit'
    Target 'ResearchKitSwiftUI' in project 'ResearchKit' (no dependencies)
    Target 'ResearchKitActiveTask' in project 'ResearchKit' (no dependencies)
    Target 'ResearchKit' in project 'ResearchKit' (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/MacOSX.platform/Developer/SDKs/MacOSX15.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
ReadFileContents /Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
Build description signature: 3c58f7957f5731b680ee0a85b9db6f11
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/3c58f7957f5731b680ee0a85b9db6f11.xcbuilddata
/Users/admin/builder/spi-builder-workspace/Sources/ResearchKitActiveTask.xcframework:1:1: error: While building for macOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Sources/ResearchKitActiveTask.xcframework'. (in target 'ResearchKitActiveTask' from project 'ResearchKit')
/Users/admin/builder/spi-builder-workspace/Sources/ResearchKit.xcframework:1:1: error: While building for macOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Sources/ResearchKit.xcframework'. (in target 'ResearchKit' from project 'ResearchKit')
/Users/admin/builder/spi-builder-workspace/Sources/ResearchKit.xcframework:1:1: error: While building for macOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Sources/ResearchKit.xcframework'. (in target 'ResearchKitSwiftUI' from project 'ResearchKit')
/Users/admin/builder/spi-builder-workspace/Sources/ResearchKitUI.xcframework:1:1: error: While building for macOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Sources/ResearchKitUI.xcframework'. (in target 'ResearchKitSwiftUI' from project 'ResearchKit')
/Users/admin/builder/spi-builder-workspace/Sources/ResearchKitUI.xcframework:1:1: error: While building for macOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Sources/ResearchKitUI.xcframework'. (in target 'ResearchKitUI' from project 'ResearchKit')
/Users/admin/builder/spi-builder-workspace/Sources/ResearchKit.xcframework:1:1: error: While building for macOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Sources/ResearchKit.xcframework'. (in target 'ResearchKitSwiftUI' from project 'ResearchKit')
/Users/admin/builder/spi-builder-workspace/Sources/ResearchKitUI.xcframework:1:1: error: While building for macOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Sources/ResearchKitUI.xcframework'. (in target 'ResearchKitSwiftUI' from project 'ResearchKit')
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:1e2834210d6afc52f9dc86614ccf76c9af49306c, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:1e2834210d6afc52f9dc86614ccf76c9af49306c, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:1e2834210d6afc52f9dc86614ccf76c9af49306c, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:1e2834210d6afc52f9dc86614ccf76c9af49306c, name:My Mac }
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme ResearchKit-Package
(1 failure)
BUILD FAILURE 6.0 macosXcodebuild