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 ResearchKit, reference 3.1.2 (8029e3), with Swift 6.1 for watchOS using Xcode 16.3 on 9 Jul 2025 20:14:24 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ResearchKit-Package -destination generic/platform=watchOS

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/ResearchKit.git
Reference: 3.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/StanfordBDHG/ResearchKit
 * tag               3.1.2      -> FETCH_HEAD
HEAD is now at 8029e36 Create XCFrameworks for release 3.1.2
Cloned https://github.com/StanfordBDHG/ResearchKit.git
Revision (git rev-parse @):
8029e36bfa88b7995d8c997f4c7f52ef9e6679ea
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/ResearchKit.git at 3.1.2
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             6.1
Building package at path:  $PWD
https://github.com/StanfordBDHG/ResearchKit.git
https://github.com/StanfordBDHG/ResearchKit.git
{
  "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"
}
Command line invocation:
    /Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
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.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ResearchKit-Package -destination generic/platform=watchOS 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 ResearchKit-Package -destination generic/platform=watchOS "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:
  ResearchKit: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
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.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.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
ReadFileContents /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
Build description signature: 2291e4e209748a0d0cdb1db23c72b0cc
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/2291e4e209748a0d0cdb1db23c72b0cc.xcbuilddata
/Users/admin/builder/spi-builder-workspace/Sources/ResearchKitActiveTask.xcframework:1:1: error: While building for watchOS, 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 watchOS, 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 watchOS, 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 watchOS, 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 watchOS, 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 watchOS, 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 watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Sources/ResearchKit.xcframework'. (in target 'ResearchKit' from project 'ResearchKit')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme ResearchKit-Package
(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:
  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.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ResearchKit-Package -destination generic/platform=watchOS
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 ResearchKit-Package -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
  ResearchKit: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
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.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.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
ReadFileContents /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
Build description signature: bc7045c5191d395ab6efdf40adec9970
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/bc7045c5191d395ab6efdf40adec9970.xcbuilddata
/Users/admin/builder/spi-builder-workspace/Sources/ResearchKit.xcframework:1:1: error: While building for watchOS, 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 watchOS, 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 watchOS, 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/ResearchKitActiveTask.xcframework:1:1: error: While building for watchOS, 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 watchOS, 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 watchOS, 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 watchOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Sources/ResearchKitUI.xcframework'. (in target 'ResearchKitSwiftUI' from project 'ResearchKit')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme ResearchKit-Package
(1 failure)
BUILD FAILURE 6.1 watchOS