The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SmartDeviceLink with Swift 5.10 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.29.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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/bson_c_lib'...
Cloning into '/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-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:             5.10
Building package at path:  $workDir
https://github.com/smartdevicelink/sdl_ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/578] Copying SDLLockScreen.strings
[0/578] Write sources
[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--423B1241ED78D482.txt
[11/578] Compiling SDLWiperStatus.m
[12/578] Compiling SDLWeatherServiceData.m
[13/578] Compiling SDLWindowTypeCapabilities.m
[14/578] Compiling SmartDeviceLink resource_bundle_accessor.m
[15/578] Compiling SDLWindowType.m
[16/578] Compiling SDLWeatherData.m
[17/578] Compiling SDLWeatherAlert.m
[18/578] Compiling SDLWayPointType.m
[19/578] Compiling SDLWindowStatus.m
[20/578] Compiling SDLWarningLightStatus.m
[21/578] Compiling SDLWindowCapability.m
[22/578] Compiling SDLVrCapabilities.m
[23/578] Compiling SDLVrHelpItem.m
[24/578] Compiling SDLVoiceCommand.m
[25/578] Compiling SDLVideoStreamingState.m
[26/578] Compiling SDLVideoStreamingProtocol.m
[27/578] Compiling SDLWeatherServiceManifest.m
[28/578] Compiling SDLVideoStreamingFormat.m
[29/578] Compiling SDLWindowState.m
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/SmartDeviceLink/public/SDLVideoStreamingRange.m:48:26: warning: 'init' is deprecated: Use .disabled instead [-Wdeprecated-declarations]
    return [[self alloc] init];
                         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/SmartDeviceLink/public/SDLVideoStreamingRange.h:33:22: note: 'init' has been explicitly marked deprecated here
- (instancetype)init __deprecated_msg("Use .disabled instead");
                     ^
/Applications/Xcode-15.3.0-Beta.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
1 warning generated.
[30/578] Compiling SDLVideoStreamingRange.m
In file included from /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/SmartDeviceLink/public/SDLVideoStreamingCapability.m:15:
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/SmartDeviceLink/public/SDLStreamingVideoScaleManager.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[31/578] Compiling SDLVideoStreamingCapability.m
[31/578] Compiling SDLVehicleDataResultCode.m
[31/578] Compiling SDLVideoStreamingCodec.m
[31/578] Compiling SDLVehicleDataStatus.m
[31/578] Compiling SDLVehicleType.m
[31/578] Compiling SDLVehicleDataType.m
[31/578] Compiling SDLVentilationMode.m
[31/578] Compiling SDLVersion.m
Fetching https://github.com/smartdevicelink/bson_c_lib.git from cache
Fetched https://github.com/smartdevicelink/bson_c_lib.git from cache (0.16s)
Computing version for https://github.com/smartdevicelink/bson_c_lib.git
Computed https://github.com/smartdevicelink/bson_c_lib.git at 1.2.5 (0.32s)
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
[0/1] Planning build
Building for debugging...
[0/548] Compiling SDLVehicleDataStatus.m
[1/548] Compiling SDLVentilationMode.m
[2/548] Compiling SDLVehicleDataType.m
[3/548] Compiling SDLVehicleType.m
[4/548] Compiling SDLVersion.m
In file included from /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/SmartDeviceLink/public/SDLVideoStreamingCapability.m:15:
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/SmartDeviceLink/public/SDLStreamingVideoScaleManager.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[4/548] Compiling SDLVideoStreamingCapability.m
[4/548] Compiling SDLVehicleDataActiveStatus.m
[4/548] Compiling SDLVehicleDataResult.m
[4/548] Compiling SDLVehicleDataNotificationStatus.m
[4/548] Compiling SDLVehicleDataEventStatus.m
[4/548] Compiling SDLVideoStreamingCodec.m
[4/548] Write swift-version--423B1241ED78D482.txt
[4/548] Compiling SDLVehicleDataResultCode.m
BUILD FAILURE 5.10 macosSpm

Build Machine: Mac 7