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 SmartDeviceLink, reference develop (2c3d56), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 07:20:09 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/smartdevicelink/sdl_ios.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/smartdevicelink/sdl_ios
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 2c3d561 Merge pull request #2123 from smartdevicelink/master
Submodule path 'bson_c_lib': checked out '48d38d5b7a9b6cffc8171087b68bee5f4649e67d'
Submodule path 'generator/rpc_spec': checked out '6537500b45f65e02d884da9d73d6820ba7b0b1f5'
Submodule 'bson_c_lib' (https://github.com/smartdevicelink/bson_c_lib.git) registered for path 'bson_c_lib'
Submodule 'generator/rpc_spec' (https://github.com/smartdevicelink/rpc_spec.git) registered for path 'generator/rpc_spec'
Cloning into '/Users/admin/builder/spi-builder-workspace/bson_c_lib'...
Cloning into '/Users/admin/builder/spi-builder-workspace/generator/rpc_spec'...
Cloned https://github.com/smartdevicelink/sdl_ios.git
Revision (git rev-parse @):
2c3d561468ee67a4b298e4976a1ac2699853c11e
SUCCESS checkout https://github.com/smartdevicelink/sdl_ios.git at develop
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/smartdevicelink/sdl_ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/578] Copying SDLLockScreen.strings
[0/578] Write sources
[2/578] Copying SDLLockScreen.strings
[5/578] Copying SDLLockScreen.storyboard
[5/578] Copying Info.plist
[5/578] Copying SDLLockScreen.strings
[9/578] Copying SDLAssets.xcassets
[10/578] Write swift-version-1EA4D86E10B52AF.txt
[11/578] Compiling SDLWindowType.m
[12/578] Compiling SDLWindowState.m
[13/578] Compiling SDLWeatherAlert.m
[14/578] Compiling SDLWindowCapability.m
[15/578] Compiling SDLWayPointType.m
[16/578] Compiling SDLWeatherServiceManifest.m
[17/578] Compiling SDLWarningLightStatus.m
[18/578] Compiling SDLVrCapabilities.m
[19/578] Compiling SDLVrHelpItem.m
[20/578] Compiling SDLVoiceCommand.m
[21/578] Compiling SDLVideoStreamingState.m
[22/578] Compiling SDLWeatherData.m
[23/578] Compiling SDLWindowTypeCapabilities.m
[24/578] Compiling SDLVideoStreamingProtocol.m
/Users/admin/builder/spi-builder-workspace/SmartDeviceLink/public/SDLVideoStreamingRange.m:48:26: warning: 'init' is deprecated: Use .disabled instead [-Wdeprecated-declarations]
   48 |     return [[self alloc] init];
      |                          ^
/Users/admin/builder/spi-builder-workspace/SmartDeviceLink/public/SDLVideoStreamingRange.h:33:22: note: 'init' has been explicitly marked deprecated here
   33 | - (instancetype)init __deprecated_msg("Use .disabled instead");
      |                      ^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/include/sys/cdefs.h:227:48: note: expanded from macro '__deprecated_msg'
  227 |         #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
      |                                                       ^
1 warning generated.
[25/578] Compiling SDLVideoStreamingRange.m
[26/578] Compiling SDLVideoStreamingFormat.m
[27/578] Compiling SDLWindowStatus.m
[28/578] Compiling SDLWiperStatus.m
[29/578] Compiling SmartDeviceLink resource_bundle_accessor.m
[30/578] Compiling SDLWeatherServiceData.m
[31/578] Compiling SDLVideoStreamingCodec.m
In file included from /Users/admin/builder/spi-builder-workspace/SmartDeviceLink/public/SDLVideoStreamingCapability.m:15:
/Users/admin/builder/spi-builder-workspace/SmartDeviceLink/public/SDLStreamingVideoScaleManager.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
    9 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[32/578] Compiling SDLVideoStreamingCapability.m
[32/578] Compiling SDLVehicleDataEventStatus.m
[32/578] Compiling SDLVehicleDataNotificationStatus.m
[32/578] Compiling SDLVehicleDataType.m
[32/578] Compiling SDLVehicleDataResultCode.m
[32/578] Compiling SDLVersion.m
[32/578] Compiling SDLVehicleDataResult.m
[32/578] Compiling SDLVehicleDataStatus.m
[32/578] Compiling SDLVentilationMode.m
[32/578] Compiling SDLVehicleType.m
Fetching https://github.com/smartdevicelink/bson_c_lib.git
[9/834] Fetching bson_c_lib
Fetched https://github.com/smartdevicelink/bson_c_lib.git from cache (1.01s)
Computing version for https://github.com/smartdevicelink/bson_c_lib.git
Computed https://github.com/smartdevicelink/bson_c_lib.git at 1.2.5 (1.54s)
Creating working copy for https://github.com/smartdevicelink/bson_c_lib.git
Working copy of https://github.com/smartdevicelink/bson_c_lib.git resolved at 1.2.5
BUILD FAILURE 6.2 macosSpm