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.0 for macOS (SPM) on 8 Nov 2025 04:23:31 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/rudderlabs/rudder-sdk-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/189] Copying PrivacyInfo.xcprivacy
[1/189] Write sources
[2/189] Write swift-version-5BDAB9E9C0126B9D.txt
[3/189] Compiling RSCStorageMigratorV0V1.m
[4/189] Compiling RSCrashReporterErrorTypes.m
[5/189] Compiling RSCConfigurationBuilder.m
[6/194] Compiling RSCConnectivity.m
[7/194] Compiling RSCFileLocations.m
[8/194] Compiling RSCrashReporterEndpointConfiguration.m
[9/194] Compiling RSCrashReporterBreadcrumbs.m
[10/194] Compiling RSCrashReporter RSCrashReporterLastRunInfo.m
[11/194] Compiling RSCrashReporter RSCrashReporterFeatureFlag.m
[12/194] Compiling RSCrashReporterConfiguration.m
[13/194] Compiling RSCrashReporter RSCrashReporter.m
[14/194] Compiling RSCrashReporter RSCCrashSentry.m
[15/194] Compiling RSCrashReporterUser.m
[16/194] Compiling RSCrashReporterStacktrace.m
[17/194] Compiling RSCrashReporterThread.m
[18/194] Compiling RSCrashReporterStackframe.m
[19/194] Compiling RSCrashReporterSession.m
[20/194] Compiling RSCrashReporterNotifier.m
[21/194] Compiling RSCrashReporterHandledState.m
[22/194] Compiling RSCrashReporterError.m
[23/194] Compiling RSCrashReporterEvent.m
[24/194] Compiling RSCrashReporterDeviceWithState.m
[25/194] Compiling RSCrashReporterDevice.m
[26/194] Compiling RSCrashReporterBreadcrumb.m
[27/194] Compiling RSCrashReporterAppWithState.m
[28/194] Compiling RSCrashReporterApp.m
[29/194] Compiling RSCrashReporterMetadata.m
[30/194] Compiling RSC_KSMach_x86_64.c
[31/194] Compiling RSC_KSMach_x86_32.c
[32/194] Compiling RSC_KSString.c
[33/194] Compiling RSC_KSMach_Arm.c
[34/194] Compiling RSC_KSSysCtl.c
[35/194] Compiling RSC_KSMach_Arm64.c
[36/194] Compiling RSC_KSLogger.c
[37/194] Compiling RSC_KSJSONCodec.c
[38/194] Compiling RSC_KSFileUtils.c
[39/194] Compiling RSC_KSCrashStringConversion.c
[40/194] Compiling RSC_Symbolicate.c
[41/194] Compiling RSC_KSBacktrace.c
[42/194] Compiling RSC_KSSignalInfo.c
[43/194] Compiling RSC_KSCrashSentry_NSException.m
[44/194] Compiling RSC_KSMach.c
[45/194] Compiling RSC_KSCrashSentry_MachException.c
[46/194] Compiling RSC_KSCrashSentry_Signal.c
[47/194] Compiling RSC_KSMachHeaders.c
[48/194] Compiling RSC_KSCrashSentry.c
[49/194] Compiling RSC_KSFile.c
[50/194] Compiling RSC_KSCrashNames.c
[51/194] Compiling RSC_KSCrashReport.c
[52/194] Compiling RSC_KSCrashState.m
[53/194] Compiling RSCrashReporter RSCrashReporterSystemState.m
[54/194] Compiling RSC_KSCrashIdentifier.m
[55/194] Compiling RSC_KSCrashC.c
[56/194] Compiling RSC_KSCrashDoctor.m
[57/194] Compiling RSC_KSSystemInfo.m
[58/194] Compiling RSC_RFC3339DateTool.m
[59/194] Compiling RSCrashReporterCollections.m
[60/194] Compiling RSC_KSCrash.m
[61/194] Compiling RSCUtils.m
[62/194] Compiling RSCTelemetry.m
[63/194] Compiling RSCSerialization.m
[64/194] Compiling RSCJSONSerialization.m
[65/194] Compiling RSCrashReporter RSCrashReporterSessionTracker.m
[66/194] Compiling RSCrashReporterClient.m
[67/194] Compiling RSCGlobals.m
[68/194] Compiling RSCRunContext.m
[69/194] Compiling RSCInternalErrorReporter.m
[70/194] Compiling RSCFeatureFlagStore.m
[71/194] Compiling RSCNotificationBreadcrumbs.m
[72/194] Compiling MRCCanary.m
[73/194] Compiling RSCAppHangDetector.m
[74/194] Compiling RSCrashReporterApiClient.m
[75/194] Write sources
[76/194] Compiling RSCSessionUploader.m
[77/194] Compiling RSCEventUploader.m
[78/194] Compiling RSCEventUploadObjectOperation.m
[79/194] Compiling RSCEventUploadOperation.m
[80/194] Compiling RSCEventUploadKSCrashReportOperation.m
[81/194] Compiling RSC_KSCrashSentry_CPPException.mm
[82/194] Compiling RSCNetworkBreadcrumb.m
[83/194] Compiling RSCEventUploadFileOperation.m
[85/194] Compiling RudderKit RepeatingTimer.swift
[86/194] Compiling RudderKit JSON.swift
[87/194] Compiling RudderKit Logger.swift
[88/194] Emitting module RudderKit
[89/194] Compiling RudderKit Data+Ext.swift
[90/214] Emitting module MetricsReporter
[91/216] Compiling MetricsReporter Metric.swift
[92/216] Compiling MetricsReporter StatsCollection.swift
[93/216] Compiling MetricsReporter MetricsClient.swift
[94/216] Compiling MetricsReporter Configuration.swift
[95/216] Compiling MetricsReporter Plugins.swift
[96/216] Compiling MetricsReporter CrashReporter.swift
[97/216] Compiling MetricsReporter ObjCMetric.swift
[98/216] Compiling MetricsReporter ObjCMetricsClient.swift
[99/216] Compiling MetricsReporter API.swift
[100/216] Compiling MetricsReporter ServiceManager.swift
[101/216] Compiling MetricsReporter ServiceType.swift
[102/216] Compiling MetricsReporter ObjCConfiguration.swift
[103/216] Compiling MetricsReporter MetricOperator.swift
[104/216] Compiling MetricsReporter Vendor.swift
[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
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.
[111/216] Compiling UIViewController+RSScreen.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.
[111/216] Compiling RSTransformationRequest.m
[111/216] Compiling RSTrackPropertyBuilder.m
[111/216] Compiling RSTraitsBuilder.m
[111/216] Compiling RSUtils.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>
      |         ^~~~~~~~~~~~~~~
[111/216] Compiling RSUserSession.m
[111/216] Compiling RSTransformationEvent.m
[111/216] Compiling RSTraits.m
[111/216] Compiling RSTransformationMetadata.m
[111/216] Compiling WKInterfaceController+RSScreen.m
Fetching https://github.com/rudderlabs/metrics-reporter-ios
[1/2035] Fetching metrics-reporter-ios
Fetched https://github.com/rudderlabs/metrics-reporter-ios from cache (1.03s)
Computing version for https://github.com/rudderlabs/metrics-reporter-ios
Computed https://github.com/rudderlabs/metrics-reporter-ios at 2.0.0 (0.61s)
Fetching https://github.com/rudderlabs/crash-reporter-ios
Fetching https://github.com/rudderlabs/rudder-ios-kit
[1/313] Fetching rudder-ios-kit
[149/33503] Fetching rudder-ios-kit, crash-reporter-ios
Fetched https://github.com/rudderlabs/rudder-ios-kit from cache (1.67s)
Fetched https://github.com/rudderlabs/crash-reporter-ios from cache (1.67s)
Computing version for https://github.com/rudderlabs/crash-reporter-ios
Computed https://github.com/rudderlabs/crash-reporter-ios at 1.0.1 (0.60s)
Computing version for https://github.com/rudderlabs/rudder-ios-kit
Computed https://github.com/rudderlabs/rudder-ios-kit at 1.4.0 (0.60s)
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
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
BUILD FAILURE 6.0 macosSpm