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 7.6.1 (4178a0), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 07:20:13 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: 7.6.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/smartdevicelink/sdl_ios
 * tag               7.6.1      -> FETCH_HEAD
HEAD is now at 4178a0f Merge pull request #2122 from smartdevicelink/develop
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 @):
4178a0f33bdcfaef3dc5baa2fc32ef5e482edd3e
SUCCESS checkout https://github.com/smartdevicelink/sdl_ios.git at 7.6.1
========================================
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] Write sources
[0/578] Copying SDLLockScreen.strings
[0/578] Copying SDLLockScreen.storyboard
[0/578] Copying Info.plist
[0/578] Copying SDLLockScreen.strings
[9/578] Copying SDLAssets.xcassets
[10/578] Write swift-version-1EA4D86E10B52AF.txt
[11/578] Compiling SDLWindowState.m
[12/578] Compiling SDLWindowTypeCapabilities.m
[13/578] Compiling SDLWeatherServiceManifest.m
[14/578] Compiling SDLWeatherAlert.m
[15/578] Compiling SDLWayPointType.m
[16/578] Compiling SmartDeviceLink resource_bundle_accessor.m
[17/578] Compiling SDLWindowStatus.m
[18/578] Compiling SDLWarningLightStatus.m
[19/578] Compiling SDLWeatherServiceData.m
[20/578] Compiling SDLVrHelpItem.m
[21/578] Compiling SDLVrCapabilities.m
[22/578] Compiling SDLVoiceCommand.m
[23/578] Compiling SDLVideoStreamingState.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 SDLVideoStreamingCodec.m
[28/578] Compiling SDLWindowCapability.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.
[29/578] Compiling SDLVideoStreamingCapability.m
[29/578] Compiling SDLVehicleDataResultCode.m
[29/578] Compiling SDLVehicleDataType.m
[29/578] Compiling SDLVehicleType.m
[29/578] Compiling SDLVersion.m
[29/578] Compiling SDLVehicleDataStatus.m
[29/578] Compiling SDLWiperStatus.m
[29/578] Compiling SDLWindowType.m
[29/578] Compiling SDLVentilationMode.m
[29/578] Compiling SDLWeatherData.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 (0.92s)
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.42s)
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