The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BerkananSDK with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/zssz/BerkananSDK.git
Reference: master
Cloned https://github.com/zssz/BerkananSDK.git into spi-builder-workspace
SUCCESS checkout https://github.com/zssz/BerkananSDK.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/zssz/BerkananCompression
Fetching https://github.com/zssz/BerkananFoundation
Fetching https://github.com/apple/swift-protobuf.git
Fetched https://github.com/zssz/BerkananFoundation (0.19s)
[1/29782] Fetching swift-protobuf
Fetched https://github.com/zssz/BerkananCompression (3.57s)
Fetched https://github.com/apple/swift-protobuf.git (3.61s)
Computing version for https://github.com/zssz/BerkananFoundation
Computed https://github.com/zssz/BerkananFoundation at 1.0.0 (0.31s)
Computing version for https://github.com/zssz/BerkananCompression
Computed https://github.com/zssz/BerkananCompression at 1.0.3 (0.28s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.22.0 (0.32s)
Creating working copy for https://github.com/zssz/BerkananFoundation
Working copy of https://github.com/zssz/BerkananFoundation resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.22.0
Creating working copy for https://github.com/zssz/BerkananCompression
Working copy of https://github.com/zssz/BerkananCompression resolved at 1.0.3
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/CBerkananSDK/CBMutableCharacteristic+Init.m:8:
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBMutableCharacteristic+Init.h:8:9: fatal error: module 'CoreBluetooth' not found
@import CoreBluetooth.CBCharacteristic;
 ~~~~~~~^~~~~~~~~~~~~
1 error generated.
[1/9] Compiling CBerkananSDK CBMutableCharacteristic+Init.m
[1/9] Compiling CBerkananSDK CBMutableService+Init.m
[1/9] Compiling CBerkananSDK CBPeripheralManager+Init.m
BUILD FAILURE 5.9 linux

Build Machine: Linux 2