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 5.10 for macOS (SPM) on 8 Nov 2025 04:24:28 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.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:             5.10
Building package at path:  $PWD
https://github.com/rudderlabs/rudder-sdk-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/189] Copying PrivacyInfo.xcprivacy
[1/189] Write sources
[2/189] Write swift-version-33747A42983211AE.txt
[3/189] Compiling RSC_KSCrashSentry.c
[4/189] Compiling RSC_KSCrashSentry_Signal.c
[5/189] Compiling RSC_KSCrashSentry_MachException.c
[6/194] Compiling RSC_KSCrashSentry_CPPException.mm
[7/194] Compiling RSC_KSMachHeaders.c
[8/194] Compiling RSCStorageMigratorV0V1.m
[9/194] Compiling RSCFileLocations.m
[10/194] Compiling RSCConfigurationBuilder.m
[11/194] Compiling RSCrashReporter RSCrashReporter.m
[12/194] Compiling RSCrashReporter RSCrashReporterFeatureFlag.m
[13/194] Compiling RSCrashReporterConfiguration.m
[14/194] Compiling RSCrashReporterUser.m
[15/194] Compiling RSCrashReporter RSCCrashSentry.m
[16/194] Compiling RSCrashReporter RSCrashReporterLastRunInfo.m
[17/194] Compiling RSCrashReporterThread.m
[18/194] Compiling RSCrashReporterStacktrace.m
[19/194] Compiling RSCrashReporterStackframe.m
[20/194] Compiling RSC_KSCrashSentry_NSException.m
[21/194] Compiling RSCrashReporterNotifier.m
[22/194] Compiling RSCrashReporterHandledState.m
[23/194] Compiling RSCrashReporterSession.m
[24/194] Compiling RSCrashReporterError.m
[25/194] Compiling RSCrashReporterDeviceWithState.m
[26/194] Compiling RSCrashReporterDevice.m
[27/194] Compiling RSCrashReporterEvent.m
[28/194] Compiling RSC_Symbolicate.c
[29/194] Compiling RSC_KSSysCtl.c
[30/194] Compiling RSCrashReporterBreadcrumb.m
[31/194] Compiling RSC_KSString.c
[32/194] Compiling RSCrashReporterAppWithState.m
[33/194] Compiling RSCrashReporterApp.m
[34/194] Compiling RSC_KSMach_x86_64.c
[35/194] Compiling RSC_KSMach_x86_32.c
[36/194] Compiling RSCrashReporterMetadata.m
[37/194] Compiling RSC_KSSignalInfo.c
[38/194] Compiling RSC_KSMach_Arm.c
[39/194] Compiling RSC_KSMach_Arm64.c
[40/194] Compiling RSC_KSMach.c
[41/194] Compiling RSC_KSLogger.c
[42/194] Compiling RSC_KSFileUtils.c
[43/194] Compiling RSC_KSJSONCodec.c
[44/194] Compiling RSC_KSCrashStringConversion.c
[45/194] Compiling RSC_KSBacktrace.c
[46/194] Compiling RSC_KSFile.c
[47/194] Compiling RSC_KSCrashNames.c
[48/194] Compiling RSC_KSCrashReport.c
[49/194] Compiling RSC_KSCrashC.c
[50/194] Compiling RSC_KSCrashState.m
[51/194] Compiling RSC_KSCrashIdentifier.m
[52/194] Compiling RSC_KSCrashDoctor.m
[53/194] Compiling RSC_KSSystemInfo.m
[54/194] Compiling RSCrashReporterCollections.m
[55/194] Compiling RSC_RFC3339DateTool.m
[56/194] Compiling RSCUtils.m
[57/194] Compiling RSCSerialization.m
[58/194] Compiling RSCTelemetry.m
[59/194] Compiling RSCJSONSerialization.m
[60/194] Compiling RSCGlobals.m
[61/194] Compiling RSCInternalErrorReporter.m
[62/194] Compiling RSCFeatureFlagStore.m
[63/194] Compiling MRCCanary.m
[64/194] Compiling RSCAppHangDetector.m
[65/194] Compiling RSCrashReporterApiClient.m
[66/194] Compiling RSCSessionUploader.m
[67/194] Compiling RSCEventUploader.m
[68/194] Compiling RSCEventUploadObjectOperation.m
[69/194] Compiling RSCEventUploadOperation.m
[70/194] Compiling RSCEventUploadFileOperation.m
[71/194] Compiling RSCEventUploadKSCrashReportOperation.m
[72/194] Compiling RSCrashReporterErrorTypes.m
[73/194] Compiling RSCrashReporterEndpointConfiguration.m
[74/194] Compiling RSCrashReporterBreadcrumbs.m
[75/194] Write sources
[76/194] Compiling RSCConnectivity.m
[77/194] Compiling RSCNetworkBreadcrumb.m
[79/194] Compiling RudderKit RepeatingTimer.swift
[80/194] Compiling RudderKit Logger.swift
[81/194] Compiling RudderKit JSON.swift
[82/194] Compiling RudderKit Data+Ext.swift
[83/194] Emitting module RudderKit
[83/194] Compiling RSCrashReporter RSCrashReporterSessionTracker.m
[84/194] Compiling RSCrashReporter RSCrashReporterSystemState.m
[85/194] Compiling RSCNotificationBreadcrumbs.m
[86/194] Compiling RSC_KSCrash.m
[87/194] Compiling RSCRunContext.m
[88/194] Compiling RSCrashReporterClient.m
[90/214] Emitting module MetricsReporter
[91/216] Compiling MetricsReporter API.swift
[92/216] Compiling MetricsReporter ServiceManager.swift
[93/216] Compiling MetricsReporter MetricOperator.swift
[94/216] Compiling MetricsReporter Vendor.swift
[95/216] Compiling MetricsReporter Constants.swift
[96/216] Compiling MetricsReporter Controller.swift
[97/216] Compiling MetricsReporter Database.swift
[98/216] Compiling MetricsReporter Plugins.swift
[99/216] Compiling MetricsReporter CrashReporter.swift
[100/216] Compiling MetricsReporter ObjCMetric.swift
[101/216] Compiling MetricsReporter ObjCMetricsClient.swift
[102/216] Compiling MetricsReporter MetricsClient.swift
[103/216] Compiling MetricsReporter Configuration.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
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
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[111/216] Compiling UIViewController+RSScreen.m
[111/216] Compiling Rudder resource_bundle_accessor.m
[111/216] Compiling RSTransformationMetadata.m
[111/216] Compiling RSTraits.m
[111/216] Compiling WKInterfaceController+RSScreen.m
[111/216] Compiling RSTraitsBuilder.m
[111/216] Compiling RSTransformationRequest.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
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
[111/216] Compiling RSTransformationEvent.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
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
[111/216] Compiling RSUserSession.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.38s)
Computing version for https://github.com/rudderlabs/metrics-reporter-ios
Computed https://github.com/rudderlabs/metrics-reporter-ios at 2.0.0 (0.46s)
Fetching https://github.com/rudderlabs/crash-reporter-ios
Fetching https://github.com/rudderlabs/rudder-ios-kit
[1/313] Fetching rudder-ios-kit
[136/33503] Fetching rudder-ios-kit, crash-reporter-ios
Fetched https://github.com/rudderlabs/rudder-ios-kit from cache (1.75s)
Fetched https://github.com/rudderlabs/crash-reporter-ios from cache (1.75s)
Computing version for https://github.com/rudderlabs/crash-reporter-ios
Computed https://github.com/rudderlabs/crash-reporter-ios at 1.0.1 (0.44s)
Computing version for https://github.com/rudderlabs/rudder-ios-kit
Computed https://github.com/rudderlabs/rudder-ios-kit at 1.4.0 (0.45s)
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
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: 'spi-builder-workspace': found 12 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Tests/Fixtures/multi-dataresidency-eu-true.json
    /Users/admin/builder/spi-builder-workspace/Tests/Rudder-iOS.xctestplan
    /Users/admin/builder/spi-builder-workspace/Tests/Fixtures/us-dataresidency-default-false.json
    /Users/admin/builder/spi-builder-workspace/Tests/Fixtures/eu-dataresidency-default-false.json
    /Users/admin/builder/spi-builder-workspace/Tests/Rudder-tvOS.xctestplan
    /Users/admin/builder/spi-builder-workspace/Tests/Fixtures/multi-dataresidency-default-true.json
    /Users/admin/builder/spi-builder-workspace/Tests/Fixtures/no-dataresidency.json
    /Users/admin/builder/spi-builder-workspace/Tests/Fixtures/multi-dataresidency-default-false.json
    /Users/admin/builder/spi-builder-workspace/Tests/Fixtures/eu-dataresidency-default-true.json
    /Users/admin/builder/spi-builder-workspace/Tests/Rudder-watchOS.xctestplan
    /Users/admin/builder/spi-builder-workspace/Tests/Fixtures/multi-dataresidency-us-true.json
    /Users/admin/builder/spi-builder-workspace/Tests/Fixtures/us-dataresidency-default-true.json
BUILD FAILURE 5.10 macosSpm