The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.22.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/o86TiJKT/2/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 '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/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/bson_c_lib'...
Cloning into '/Users/builder/builds/o86TiJKT/2/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
4178a0f33bdcfaef3dc5baa2fc32ef5e482edd3e
SUCCESS checkout https://github.com/smartdevicelink/sdl_ios.git at 7.6.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.7
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-14.2.0.app" xcrun swift build --arch arm64
Fetching https://github.com/smartdevicelink/bson_c_lib.git from cache
Fetched https://github.com/smartdevicelink/bson_c_lib.git (0.29s)
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.34s)
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
[1/576] Copying Info.plist
[1/576] Copying SDLLockScreen.strings
[1/576] Copying SDLLockScreen.storyboard
[1/576] Copying SDLLockScreen.strings
[8/576] Copying SDLAssets.xcassets
[9/576] Compiling SDLWindowTypeCapabilities.m
[10/576] Compiling SmartDeviceLink resource_bundle_accessor.m
[11/576] Compiling SDLWiperStatus.m
[12/576] Compiling SDLWeatherServiceData.m
[13/576] Compiling SDLWindowCapability.m
[14/576] Compiling SDLWeatherServiceManifest.m
[15/576] Compiling SDLWeatherData.m
[16/576] Compiling SDLWeatherAlert.m
[17/576] Compiling SDLWayPointType.m
[18/576] Compiling SDLWindowStatus.m
[19/576] Compiling SDLWarningLightStatus.m
[20/576] Compiling SDLWindowType.m
[21/576] Compiling SDLVrHelpItem.m
[22/576] Compiling SDLVrCapabilities.m
[23/576] Compiling SDLVideoStreamingState.m
[24/576] Compiling SDLVoiceCommand.m
[25/576] Compiling SDLVideoStreamingProtocol.m
[26/576] Compiling SDLVideoStreamingFormat.m
[27/576] Compiling SDLVideoStreamingRange.m
[28/576] Compiling SDLWindowState.m
[29/576] Compiling SDLVideoStreamingCodec.m
In file included from /Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/SmartDeviceLink/public/SDLVideoStreamingCapability.m:15:
/Users/builder/builds/o86TiJKT/2/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.
[30/576] Compiling SDLVideoStreamingCapability.m
[30/576] Compiling SDLVehicleDataType.m
[30/576] Compiling SDLVersion.m
[30/576] Compiling SDLVehicleDataResult.m
[30/576] Compiling SDLVehicleDataStatus.m
[30/576] Compiling SDLVehicleDataResultCode.m
[30/576] Compiling SDLVentilationMode.m
[30/576] Compiling SDLVehicleType.m
ShellOut encountered an error
Status code: 1
Message: "Fetching https://github.com/smartdevicelink/bson_c_lib.git from cache
Fetched https://github.com/smartdevicelink/bson_c_lib.git (0.29s)
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.34s)
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"
Output: "Building for debugging...
[0/576] Copying SDLLockScreen.strings
[1/576] Copying Info.plist
[1/576] Copying SDLLockScreen.strings
[1/576] Copying SDLLockScreen.storyboard
[1/576] Copying SDLLockScreen.strings
[8/576] Copying SDLAssets.xcassets
[9/576] Compiling SDLWindowTypeCapabilities.m
[10/576] Compiling SmartDeviceLink resource_bundle_accessor.m
[11/576] Compiling SDLWiperStatus.m
[12/576] Compiling SDLWeatherServiceData.m
[13/576] Compiling SDLWindowCapability.m
[14/576] Compiling SDLWeatherServiceManifest.m
[15/576] Compiling SDLWeatherData.m
[16/576] Compiling SDLWeatherAlert.m
[17/576] Compiling SDLWayPointType.m
[18/576] Compiling SDLWindowStatus.m
[19/576] Compiling SDLWarningLightStatus.m
[20/576] Compiling SDLWindowType.m
[21/576] Compiling SDLVrHelpItem.m
[22/576] Compiling SDLVrCapabilities.m
[23/576] Compiling SDLVideoStreamingState.m
[24/576] Compiling SDLVoiceCommand.m
[25/576] Compiling SDLVideoStreamingProtocol.m
[26/576] Compiling SDLVideoStreamingFormat.m
[27/576] Compiling SDLVideoStreamingRange.m
[28/576] Compiling SDLWindowState.m
[29/576] Compiling SDLVideoStreamingCodec.m
In file included from /Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/SmartDeviceLink/public/SDLVideoStreamingCapability.m:15:
/Users/builder/builds/o86TiJKT/2/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.
[30/576] Compiling SDLVideoStreamingCapability.m
[30/576] Compiling SDLVehicleDataType.m
[30/576] Compiling SDLVersion.m
[30/576] Compiling SDLVehicleDataResult.m
[30/576] Compiling SDLVehicleDataStatus.m
[30/576] Compiling SDLVehicleDataResultCode.m
[30/576] Compiling SDLVentilationMode.m
[30/576] Compiling SDLVehicleType.m"
Retrying in 0.0 seconds ...
Building ... (attempt 2)
[0/1] Planning build
Building for debugging...
[0/546] Compiling SDLVentilationMode.m
In file included from /Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/SmartDeviceLink/public/SDLVideoStreamingCapability.m:15:
/Users/builder/builds/o86TiJKT/2/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.
[1/546] Compiling SDLVideoStreamingCapability.m
[1/546] Compiling SDLVehicleType.m
[1/546] Compiling SDLVehicleDataNotificationStatus.m
[1/546] Compiling SDLVehicleDataResult.m
[1/546] Compiling SDLVehicleDataStatus.m
[1/546] Compiling SDLVersion.m
[1/546] Compiling SDLVehicleDataType.m
[1/546] Compiling SDLVehicleDataResultCode.m
ShellOut encountered an error
Status code: 1
Message: ""
Output: "[0/1] Planning build
Building for debugging...
[0/546] Compiling SDLVentilationMode.m
In file included from /Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/SmartDeviceLink/public/SDLVideoStreamingCapability.m:15:
/Users/builder/builds/o86TiJKT/2/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.
[1/546] Compiling SDLVideoStreamingCapability.m
[1/546] Compiling SDLVehicleType.m
[1/546] Compiling SDLVehicleDataNotificationStatus.m
[1/546] Compiling SDLVehicleDataResult.m
[1/546] Compiling SDLVehicleDataStatus.m
[1/546] Compiling SDLVersion.m
[1/546] Compiling SDLVehicleDataType.m
[1/546] Compiling SDLVehicleDataResultCode.m"
BUILD FAILURE 5.7 macosSpm

Build Machine: Mac 5