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 (3f9a11), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 13:29:17 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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 3f9a11b Merge pull request #563 from rudderlabs/master
Cloned https://github.com/rudderlabs/rudder-sdk-ios.git
Revision (git rev-parse @):
3f9a11bd0ab996f3a3ffe95a3b9ef928408a1fe4
SUCCESS checkout https://github.com/rudderlabs/rudder-sdk-ios.git at develop
========================================
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-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/189] Copying PrivacyInfo.xcprivacy
[1/189] Write sources
[2/189] Write swift-version-1EA4D86E10B52AF.txt
[3/189] Compiling RSCStorageMigratorV0V1.m
[4/189] Compiling MRCCanary.m
[5/194] Compiling RSCAppHangDetector.m
[6/194] Compiling RSCFileLocations.m
[7/194] Compiling RSCrashReporter RSCrashReporterFeatureFlag.m
[8/194] Compiling RSCrashReporter RSCrashReporter.m
[9/194] Compiling RSCSessionUploader.m
[10/194] Compiling RSCrashReporterUser.m
[11/194] Compiling RSCrashReporter RSCCrashSentry.m
[12/194] Compiling RSCrashReporter RSCrashReporterLastRunInfo.m
[13/194] Compiling RSCrashReporterThread.m
[14/194] Compiling RSCrashReporterNotifier.m
[15/194] Compiling RSCrashReporterStacktrace.m
[16/194] Compiling RSCrashReporterSession.m
[17/194] Compiling RSCrashReporterHandledState.m
[18/194] Compiling RSCrashReporterStackframe.m
[19/194] Compiling RSCrashReporterApiClient.m
[20/194] Compiling RSCrashReporterDevice.m
[21/194] Compiling RSCrashReporterDeviceWithState.m
[22/194] Compiling RSCrashReporterError.m
[23/194] Compiling RSCrashReporterBreadcrumb.m
[24/194] Compiling RSCrashReporterAppWithState.m
[25/194] Compiling RSCrashReporterApp.m
[26/194] Compiling RSCrashReporterEvent.m
[27/194] Compiling RSC_KSMach_x86_64.c
[28/194] Compiling RSC_KSMach_x86_32.c
[29/194] Compiling RSCrashReporterMetadata.m
[30/194] Compiling RSC_KSMach_Arm.c
[31/194] Compiling RSC_KSString.c
[32/194] Compiling RSC_KSSignalInfo.c
[33/194] Compiling RSC_KSJSONCodec.c
[34/194] Compiling RSC_KSSysCtl.c
[35/194] Compiling RSC_KSFileUtils.c
[36/194] Compiling RSC_KSCrashStringConversion.c
[37/194] Compiling RSC_KSLogger.c
[38/194] Compiling RSC_KSMach_Arm64.c
[39/194] Compiling RSC_KSBacktrace.c
[40/194] Compiling RSC_KSMach.c
[41/194] Compiling RSC_Symbolicate.c
[42/194] Compiling RSC_KSCrashSentry_NSException.m
[43/194] Compiling RSC_KSMachHeaders.c
[44/194] Compiling RSC_KSFile.c
[45/194] Compiling RSC_KSSystemInfo.m
[46/194] Compiling RSC_KSCrashSentry_Signal.c
[47/194] Compiling RSC_KSCrashSentry_MachException.c
[48/194] Compiling RSC_KSCrashSentry.c
[49/194] Compiling RSC_KSCrashNames.c
[50/194] Compiling RSC_KSCrashState.m
[51/194] Compiling RSC_KSCrashReport.c
[52/194] Compiling RSC_KSCrashC.c
[53/194] Compiling RSC_KSCrashIdentifier.m
[54/194] Compiling RSC_KSCrashDoctor.m
[55/194] Compiling RSCrashReporterCollections.m
[56/194] Compiling RSC_RFC3339DateTool.m
[57/194] Compiling RSCUtils.m
[58/194] Compiling RSCSerialization.m
[59/194] Compiling RSCTelemetry.m
[60/194] Compiling RSCJSONSerialization.m
[61/194] Compiling RSCGlobals.m
[62/194] Compiling RSCInternalErrorReporter.m
[63/194] Compiling RSCFeatureFlagStore.m
[64/194] Compiling RSCEventUploader.m
[65/194] Compiling RSCEventUploadOperation.m
[66/194] Compiling RSCEventUploadObjectOperation.m
[67/194] Compiling RSCEventUploadKSCrashReportOperation.m
[68/194] Compiling RSC_KSCrash.m
[69/194] Compiling RSCEventUploadFileOperation.m
[70/194] Compiling RSCrashReporter RSCrashReporterSessionTracker.m
[71/194] Compiling RSCrashReporterErrorTypes.m
[72/194] Compiling RSCrashReporterEndpointConfiguration.m
[73/194] Compiling RSCrashReporter RSCrashReporterSystemState.m
[74/194] Compiling RSCConnectivity.m
[75/194] Write sources
[76/194] Compiling RSCConfigurationBuilder.m
[77/194] Compiling RSCrashReporterConfiguration.m
[78/194] Compiling RSCRunContext.m
[79/194] Compiling RSC_KSCrashSentry_CPPException.mm
[80/194] Compiling RSCrashReporterBreadcrumbs.m
[81/194] Compiling RSCNetworkBreadcrumb.m
[82/194] Compiling RSCNotificationBreadcrumbs.m
[83/194] Compiling RSCrashReporterClient.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] Compiling MetricsReporter ObjCMetric.swift
[91/214] Compiling MetricsReporter ObjCMetricsClient.swift
[92/214] Compiling MetricsReporter Plugins.swift
[93/214] Compiling MetricsReporter CrashReporter.swift
[94/214] Compiling MetricsReporter MetricsClient.swift
[95/214] Compiling MetricsReporter Configuration.swift
[96/214] Compiling MetricsReporter ServiceType.swift
[97/214] Compiling MetricsReporter ObjCConfiguration.swift
[98/216] Compiling MetricsReporter Metric.swift
[99/216] Compiling MetricsReporter StatsCollection.swift
[100/216] Compiling MetricsReporter API.swift
[101/216] Compiling MetricsReporter ServiceManager.swift
[102/216] Compiling MetricsReporter MetricOperator.swift
[103/216] Compiling MetricsReporter Vendor.swift
[104/216] Emitting module MetricsReporter
[105/216] Compiling MetricsReporter Constants.swift
[106/216] Compiling MetricsReporter Controller.swift
[107/216] Compiling MetricsReporter Database.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 Rudder resource_bundle_accessor.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>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[112/216] Compiling RSTransformationRequest.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>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[112/216] Compiling RSTraits.m
[112/216] Compiling RSTrackPropertyBuilder.m
[112/216] Compiling RSUserSession.m
[112/216] Compiling RSTransformationEvent.m
[112/216] Compiling RSUtils.m
[112/216] Compiling UIViewController+RSScreen.m
[112/216] Compiling RSTransformationMetadata.m
[112/216] Compiling WKInterfaceController+RSScreen.m
[112/216] Compiling RSTraitsBuilder.m
Fetching https://github.com/rudderlabs/metrics-reporter-ios
[1/1993] Fetching metrics-reporter-ios
Fetched https://github.com/rudderlabs/metrics-reporter-ios from cache (0.94s)
Computing version for https://github.com/rudderlabs/metrics-reporter-ios
Computed https://github.com/rudderlabs/metrics-reporter-ios at 2.0.0 (1.45s)
Fetching https://github.com/rudderlabs/rudder-ios-kit
Fetching https://github.com/rudderlabs/crash-reporter-ios
[1/33122] Fetching crash-reporter-ios
[2/33370] Fetching crash-reporter-ios, rudder-ios-kit
Fetched https://github.com/rudderlabs/crash-reporter-ios from cache (1.60s)
Fetched https://github.com/rudderlabs/rudder-ios-kit from cache (1.60s)
Computing version for https://github.com/rudderlabs/crash-reporter-ios
Computed https://github.com/rudderlabs/crash-reporter-ios at 1.0.1 (2.09s)
Computing version for https://github.com/rudderlabs/rudder-ios-kit
Computed https://github.com/rudderlabs/rudder-ios-kit at 1.4.0 (0.47s)
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/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/crash-reporter-ios
Working copy of https://github.com/rudderlabs/crash-reporter-ios resolved at 1.0.1
BUILD FAILURE 6.2 macosSpm