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 Rudder, reference develop (2ff4a3), with Swift 6.2 for macOS (SPM) on 8 Nov 2025 04:23:14 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rudderlabs/rudder-sdk-ios.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rudderlabs/rudder-sdk-ios
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 2ff4a3a chore: apply security best practices from step security (#571)
Cloned https://github.com/rudderlabs/rudder-sdk-ios.git
Revision (git rev-parse @):
2ff4a3ae3635b955641efe7457800eaeca15cd8f
SUCCESS checkout https://github.com/rudderlabs/rudder-sdk-ios.git at develop
Fetching https://github.com/rudderlabs/crash-reporter-ios
Fetching https://github.com/rudderlabs/rudder-ios-kit
Fetching https://github.com/rudderlabs/metrics-reporter-ios
[1/2035] Fetching metrics-reporter-ios
[83/2348] Fetching metrics-reporter-ios, rudder-ios-kit
[187/35538] Fetching metrics-reporter-ios, rudder-ios-kit, crash-reporter-ios
Fetched https://github.com/rudderlabs/rudder-ios-kit from cache (1.73s)
Fetched https://github.com/rudderlabs/crash-reporter-ios from cache (1.73s)
Fetched https://github.com/rudderlabs/metrics-reporter-ios from cache (1.73s)
Computing version for https://github.com/rudderlabs/metrics-reporter-ios
Computed https://github.com/rudderlabs/metrics-reporter-ios at 2.0.0 (2.40s)
Computing version for https://github.com/rudderlabs/crash-reporter-ios
Computed https://github.com/rudderlabs/crash-reporter-ios at 1.0.1 (0.64s)
Computing version for https://github.com/rudderlabs/rudder-ios-kit
Computed https://github.com/rudderlabs/rudder-ios-kit at 1.4.0 (0.64s)
Creating working copy for https://github.com/rudderlabs/metrics-reporter-ios
Working copy of https://github.com/rudderlabs/metrics-reporter-ios resolved at 2.0.0
Creating working copy for https://github.com/rudderlabs/rudder-ios-kit
Working copy of https://github.com/rudderlabs/rudder-ios-kit resolved at 1.4.0
Creating working copy for https://github.com/rudderlabs/crash-reporter-ios
Working copy of https://github.com/rudderlabs/crash-reporter-ios resolved at 1.0.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "rudder-sdk-ios",
      "name": "Rudder",
      "url": "https://github.com/rudderlabs/rudder-sdk-ios.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/rudder-sdk-ios",
      "dependencies": [
        {
          "identity": "metrics-reporter-ios",
          "name": "MetricsReporter",
          "url": "https://github.com/rudderlabs/metrics-reporter-ios",
          "version": "2.0.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/metrics-reporter-ios",
          "dependencies": [
            {
              "identity": "rudder-ios-kit",
              "name": "RudderKit",
              "url": "https://github.com/rudderlabs/rudder-ios-kit",
              "version": "1.4.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/rudder-ios-kit",
              "dependencies": [
              ]
            },
            {
              "identity": "crash-reporter-ios",
              "name": "RSCrashReporter",
              "url": "https://github.com/rudderlabs/crash-reporter-ios",
              "version": "1.0.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/crash-reporter-ios",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/rudderlabs/rudder-sdk-ios.git
[1/13976] Fetching rudder-sdk-ios
Fetched https://github.com/rudderlabs/rudder-sdk-ios.git from cache (1.55s)
Fetching https://github.com/rudderlabs/metrics-reporter-ios from cache
Fetched https://github.com/rudderlabs/metrics-reporter-ios from cache (0.47s)
Computing version for https://github.com/rudderlabs/metrics-reporter-ios
Computed https://github.com/rudderlabs/metrics-reporter-ios at 2.0.0 (0.54s)
Fetching https://github.com/rudderlabs/crash-reporter-ios from cache
Fetching https://github.com/rudderlabs/rudder-ios-kit from cache
Fetched https://github.com/rudderlabs/rudder-ios-kit from cache (0.42s)
Fetched https://github.com/rudderlabs/crash-reporter-ios from cache (0.44s)
Computing version for https://github.com/rudderlabs/crash-reporter-ios
Computed https://github.com/rudderlabs/crash-reporter-ios at 1.0.1 (0.50s)
Computing version for https://github.com/rudderlabs/rudder-ios-kit
Computed https://github.com/rudderlabs/rudder-ios-kit at 1.4.0 (0.03s)
Creating working copy for https://github.com/rudderlabs/crash-reporter-ios
Working copy of https://github.com/rudderlabs/crash-reporter-ios resolved at 1.0.1
Creating working copy for https://github.com/rudderlabs/metrics-reporter-ios
Working copy of https://github.com/rudderlabs/metrics-reporter-ios resolved at 2.0.0
Creating working copy for https://github.com/rudderlabs/rudder-sdk-ios.git
Working copy of https://github.com/rudderlabs/rudder-sdk-ios.git resolved at develop (2ff4a3a)
Creating working copy for https://github.com/rudderlabs/rudder-ios-kit
Working copy of https://github.com/rudderlabs/rudder-ios-kit resolved at 1.4.0
warning: '.resolve-product-dependencies': dependency 'rudder-sdk-ios' is not used by any target
Found 1 product dependencies
  - MetricsReporter
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/rudderlabs/rudder-sdk-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/189] Write sources
[1/189] Copying PrivacyInfo.xcprivacy
[2/189] Write swift-version-49B95AFC49DCD68C.txt
[3/189] Compiling RSCFileLocations.m
[4/189] Compiling RSCrashReporter RSCrashReporterLastRunInfo.m
[5/194] Compiling RSCrashReporter RSCrashReporter.m
[6/194] Compiling RSCrashReporterUser.m
[7/194] Compiling RSCStorageMigratorV0V1.m
[8/194] Compiling RSCEventUploadKSCrashReportOperation.m
[9/194] Compiling RSCrashReporterEndpointConfiguration.m
[10/194] Compiling RSCrashReporter RSCCrashSentry.m
[11/194] Compiling RSCrashReporterThread.m
[12/194] Compiling RSCrashReporterStacktrace.m
[13/194] Compiling RSCrashReporter RSCrashReporterFeatureFlag.m
[14/194] Compiling RSCrashReporterNotifier.m
[15/194] Compiling RSCrashReporterSession.m
[16/194] Compiling RSCrashReporterHandledState.m
[17/194] Compiling RSCrashReporterError.m
[18/194] Compiling RSCrashReporterDeviceWithState.m
[19/194] Compiling RSCrashReporterStackframe.m
[20/194] Compiling RSCrashReporterEvent.m
[21/194] Compiling RSCrashReporterDevice.m
[22/194] Compiling RSCrashReporterBreadcrumb.m
[23/194] Compiling RSCrashReporterAppWithState.m
[24/194] Compiling RSC_KSMach_x86_64.c
[25/194] Compiling RSCrashReporterMetadata.m
[26/194] Compiling RSCrashReporterApp.m
[27/194] Compiling RSC_KSMach_x86_32.c
[28/194] Compiling RSC_KSMach_Arm.c
[29/194] Compiling RSC_KSString.c
[30/194] Compiling RSC_KSSignalInfo.c
[31/194] Compiling RSC_KSJSONCodec.c
[32/194] Compiling RSC_KSLogger.c
[33/194] Compiling RSC_KSSysCtl.c
[34/194] Compiling RSC_Symbolicate.c
[35/194] Compiling RSC_KSFileUtils.c
[36/194] Compiling RSC_KSCrashStringConversion.c
[37/194] Compiling RSC_KSBacktrace.c
[38/194] Compiling RSC_KSMach.c
[39/194] Compiling RSC_KSMach_Arm64.c
[40/194] Compiling RSC_KSCrashSentry_NSException.m
[41/194] Compiling RSC_KSCrashSentry_Signal.c
[42/194] Compiling RSC_KSFile.c
[43/194] Compiling RSC_KSMachHeaders.c
[44/194] Compiling RSC_KSCrashSentry.c
[45/194] Compiling RSC_KSCrashSentry_MachException.c
[46/194] Compiling RSC_KSCrashNames.c
[47/194] Compiling RSC_KSCrashState.m
[48/194] Compiling RSC_KSCrashReport.c
[49/194] Compiling RSC_KSCrashIdentifier.m
[50/194] Compiling RSC_KSSystemInfo.m
[51/194] Compiling RSC_KSCrashC.c
[52/194] Compiling RSC_KSCrashDoctor.m
[53/194] Compiling RSCrashReporterCollections.m
[54/194] Compiling RSCUtils.m
[55/194] Compiling RSC_RFC3339DateTool.m
[56/194] Compiling RSCTelemetry.m
[57/194] Compiling RSCSerialization.m
[58/194] Compiling RSCJSONSerialization.m
[59/194] Compiling RSCGlobals.m
[60/194] Compiling RSCInternalErrorReporter.m
[61/194] Compiling RSCFeatureFlagStore.m
[62/194] Compiling MRCCanary.m
[63/194] Compiling RSCAppHangDetector.m
[64/194] Compiling RSCrashReporterApiClient.m
[65/194] Compiling RSCSessionUploader.m
[66/194] Compiling RSCEventUploader.m
[67/194] Compiling RSCEventUploadOperation.m
[68/194] Compiling RSCEventUploadObjectOperation.m
[69/194] Compiling RSCEventUploadFileOperation.m
[70/194] Compiling RSCrashReporterErrorTypes.m
[71/194] Compiling RSC_KSCrashSentry_CPPException.mm
[72/194] Compiling RSCConfigurationBuilder.m
[73/194] Compiling RSCrashReporterConfiguration.m
[74/194] Compiling RSCrashReporterBreadcrumbs.m
[75/194] Write sources
[76/194] Compiling RSCConnectivity.m
[77/194] Compiling RSCNetworkBreadcrumb.m
[78/194] Compiling RSCNotificationBreadcrumbs.m
[79/194] Compiling RSCrashReporter RSCrashReporterSystemState.m
[80/194] Compiling RSCrashReporterClient.m
[81/194] Compiling RSC_KSCrash.m
[82/194] Compiling RSCRunContext.m
[83/194] Compiling RSCrashReporter RSCrashReporterSessionTracker.m
[85/194] Compiling RudderKit Logger.swift
[86/194] Compiling RudderKit RepeatingTimer.swift
[87/194] Compiling RudderKit JSON.swift
[88/194] Emitting module RudderKit
[89/194] Compiling RudderKit Data+Ext.swift
[90/214] Emitting module MetricsReporter
[91/216] Compiling MetricsReporter MetricsClient.swift
[92/216] Compiling MetricsReporter Configuration.swift
[93/216] Compiling MetricsReporter API.swift
[94/216] Compiling MetricsReporter ServiceManager.swift
[95/216] Compiling MetricsReporter Plugins.swift
[96/216] Compiling MetricsReporter CrashReporter.swift
[97/216] Compiling MetricsReporter MetricOperator.swift
[98/216] Compiling MetricsReporter Vendor.swift
[99/216] Compiling MetricsReporter ObjCMetric.swift
[100/216] Compiling MetricsReporter ObjCMetricsClient.swift
[101/216] Compiling MetricsReporter Constants.swift
[102/216] Compiling MetricsReporter Controller.swift
[103/216] Compiling MetricsReporter Database.swift
[104/216] Compiling MetricsReporter Metric.swift
[105/216] Compiling MetricsReporter StatsCollection.swift
[106/216] Compiling MetricsReporter ServiceType.swift
[107/216] Compiling MetricsReporter ObjCConfiguration.swift
[108/216] Compiling MetricsReporter ErrorOperator.swift
[109/216] Compiling MetricsReporter LabelOperator.swift
[110/216] Compiling MetricsReporter MetricsUploader.swift
[111/216] Compiling MetricsReporter Startup.swift
[111/216] Compiling RSTrackPropertyBuilder.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Classes/WKInterfaceController+RSScreen.m:13:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Classes/Headers/Public/RSClient.h:13:
/Users/admin/builder/spi-builder-workspace/Sources/Classes/Headers/Public/RSContext.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
   10 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[112/216] Compiling WKInterfaceController+RSScreen.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Classes/RSTransformationEvent.m:8:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Classes/Headers/Public/RSTransformationEvent.h:9:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Classes/Headers/Public/RSMessage.h:10:
/Users/admin/builder/spi-builder-workspace/Sources/Classes/Headers/Public/RSContext.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
   10 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[112/216] Compiling RSTransformationEvent.m
[112/216] Compiling Rudder resource_bundle_accessor.m
[112/216] Compiling RSTraitsBuilder.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Classes/UIViewController+RSScreen.m:12:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Classes/Headers/Public/RSClient.h:13:
/Users/admin/builder/spi-builder-workspace/Sources/Classes/Headers/Public/RSContext.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
   10 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[112/216] Compiling UIViewController+RSScreen.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Classes/RSUserSession.m:10:
/Users/admin/builder/spi-builder-workspace/Sources/Classes/Headers/Public/RSUtils.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
   10 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
[112/216] Compiling RSUserSession.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Classes/RSUtils.m:9:
/Users/admin/builder/spi-builder-workspace/Sources/Classes/Headers/Public/RSUtils.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
   10 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
[112/216] Compiling RSUtils.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Classes/RSTraits.m:10:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Classes/Headers/Public/RSElementCache.h:10:
/Users/admin/builder/spi-builder-workspace/Sources/Classes/Headers/Public/RSContext.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
   10 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
[112/216] Compiling RSTraits.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Classes/RSTransformationRequest.m:8:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Classes/Headers/Public/RSTransformationRequest.h:9:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Classes/Headers/Public/RSTransformationEvent.h:9:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Classes/Headers/Public/RSMessage.h:10:
/Users/admin/builder/spi-builder-workspace/Sources/Classes/Headers/Public/RSContext.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
   10 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
[112/216] Compiling RSTransformationRequest.m
[112/216] Compiling RSTransformationMetadata.m
BUILD FAILURE 6.2 macosSpm