The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

env DEVELOPER_DIR="/Applications/Xcode-14.3.0.app" xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.20.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/smartdevicelink/sdl_ios.git
Reference: develop
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-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 '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/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/bson_c_lib'...
Cloning into '/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/generator/rpc_spec'...
Submodule path 'bson_c_lib': checked out '48d38d5b7a9b6cffc8171087b68bee5f4649e67d'
Submodule path 'generator/rpc_spec': checked out '6537500b45f65e02d884da9d73d6820ba7b0b1f5'
Cloned https://github.com/smartdevicelink/sdl_ios.git into spi-builder-workspace
2c3d561468ee67a4b298e4976a1ac2699853c11e
SUCCESS checkout https://github.com/smartdevicelink/sdl_ios.git at develop
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-14.3.0.app" xcrun swift build --arch arm64
Building ... (attempt 1)
Fetching https://github.com/smartdevicelink/bson_c_lib.git from cache
Fetched https://github.com/smartdevicelink/bson_c_lib.git (0.20s)
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.46s)
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
Building for debugging...
[0/576] Copying SDLLockScreen.strings
[2/576] Copying Info.plist
[2/576] Copying SDLLockScreen.strings
[2/576] Copying SDLLockScreen.storyboard
[2/576] Copying SDLLockScreen.strings
[8/576] Copying SDLAssets.xcassets
[9/576] Compiling SDLWindowCapability.m
[10/576] Compiling SDLWindowType.m
[10/576] Compiling SDLWiperStatus.m
[12/576] Compiling SDLWeatherServiceManifest.m
[13/576] Compiling SmartDeviceLink resource_bundle_accessor.m
[14/576] Compiling SDLWeatherServiceData.m
[15/576] Compiling SDLWeatherData.m
[16/576] Compiling SDLWeatherAlert.m
[16/576] Compiling SDLWindowState.m
[18/576] Compiling SDLWarningLightStatus.m
[19/576] Compiling SDLWayPointType.m
[20/576] Compiling SDLWindowStatus.m
[21/576] Compiling SDLVideoStreamingProtocol.m
[22/576] Compiling SDLWindowTypeCapabilities.m
[23/576] Compiling SDLVoiceCommand.m
[23/576] Compiling SDLVrHelpItem.m
[25/576] Compiling SDLVideoStreamingState.m
[26/576] Compiling SDLVrCapabilities.m
[27/576] Compiling SDLVideoStreamingFormat.m
[28/576] Compiling SDLVideoStreamingCodec.m
/Users/builder/builds/o86TiJKT/3/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/o86TiJKT/3/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-14.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
1 warning generated.
[29/576] Compiling SDLVideoStreamingRange.m
[30/576] Compiling SDLVentilationMode.m
In file included from /Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/SmartDeviceLink/public/SDLVideoStreamingCapability.m:15:
/Users/builder/builds/o86TiJKT/3/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/576] Compiling SDLVideoStreamingCapability.m
[31/576] Compiling SDLVehicleDataNotificationStatus.m
[31/576] Compiling SDLVehicleDataResult.m
[31/576] Compiling SDLVehicleDataResultCode.m
[31/576] Compiling SDLVersion.m
[31/576] Compiling SDLVehicleDataStatus.m
[31/576] Compiling SDLVehicleType.m
[31/576] Compiling SDLVehicleDataType.m
Retrying in 0 seconds ...
Building ... (attempt 2)
[0/1] Planning build
Building for debugging...
[0/545] Compiling SDLVehicleDataResultCode.m
[1/545] Compiling SDLVersion.m
[2/545] Compiling SDLVehicleDataType.m
[3/545] Compiling SDLVehicleDataStatus.m
In file included from /Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/SmartDeviceLink/public/SDLVideoStreamingCapability.m:15:
/Users/builder/builds/o86TiJKT/3/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/545] Compiling SDLVideoStreamingCapability.m
[4/545] Compiling SDLUpdateTurnListResponse.m
[4/545] Compiling SDLUpdateTurnList.m
[4/545] Compiling SDLVehicleDataEventStatus.m
[4/545] Compiling SDLVehicleDataActiveStatus.m
[4/545] Compiling SDLVehicleDataNotificationStatus.m
[4/545] Compiling SDLVehicleDataResult.m
[4/545] Compiling SDLVehicleType.m
Retrying in 0 seconds ...
BUILD FAILURE 5.8 macosSpm

Build Machine: Mac 5