The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ResearchKit, reference 3.1.4 (d1d523), with Swift 6.0 for tvOS using Xcode 16.2 on 25 Jan 2026 14:17:25 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 generic/platform=tvOS

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/ResearchKit.git
Reference: 3.1.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/StanfordBDHG/ResearchKit
 * tag               3.1.4      -> FETCH_HEAD
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 3.1.4
========================================
Build
========================================
Selected platform:         tvOS
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 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 ResearchKit-Package -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:
  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/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
ReadFileContents /Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
Build description signature: f79cf29ecc50f0a5b6c4c924acac29af
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/f79cf29ecc50f0a5b6c4c924acac29af.xcbuilddata
/Users/admin/builder/spi-builder-workspace/Sources/ResearchKit.xcframework:1:1: error: While building for tvOS, 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 tvOS, 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 tvOS, 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 tvOS, 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 tvOS, 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 tvOS, 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 tvOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Sources/ResearchKitActiveTask.xcframework'. (in target 'ResearchKitActiveTask' 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.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 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 ResearchKit-Package -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:
  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/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
ReadFileContents /Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
Build description signature: f79cf29ecc50f0a5b6c4c924acac29af
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/f79cf29ecc50f0a5b6c4c924acac29af.xcbuilddata
/Users/admin/builder/spi-builder-workspace/Sources/ResearchKit.xcframework:1:1: error: While building for tvOS, 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 tvOS, 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 tvOS, 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 tvOS, 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 tvOS, 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 tvOS, 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/ResearchKitActiveTask.xcframework:1:1: error: While building for tvOS, no library for this platform was found in '/Users/admin/builder/spi-builder-workspace/Sources/ResearchKitActiveTask.xcframework'. (in target 'ResearchKitActiveTask' from project 'ResearchKit')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme ResearchKit-Package
(1 failure)
BUILD FAILURE 6.0 tvOS