The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TDOCSDK, reference main (444b9f), with Swift 6.2 for macOS (SPM) on 24 Jun 2025 00:51:08 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/zeinber/TDOCSDK.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/zeinber/TDOCSDK
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 444b9fa feat: remove info
Cloned https://github.com/zeinber/TDOCSDK.git
Revision (git rev-parse @):
444b9fa98113dc1c52e738557248a50d9ac96003
SUCCESS checkout https://github.com/zeinber/TDOCSDK.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/zeinber/TDOCSDK.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
/Users/admin/builder/spi-builder-workspace/Sources/TDOCSDK/TDOCSDKManager.m:9:9: fatal error: 'UIKit/UIKit.h' file not found
    9 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[0/1] Compiling TDOCSDK TDOCSDKManager.m
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:6:23: warning: 'v9' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
 4 | let package = Package(
 5 |     name: "TDOCSDK",
 6 |     platforms: [.iOS(.v9)],
   |                       `- warning: 'v9' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
 7 |     products: [
 8 |         .library(
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
BUILD FAILURE 6.2 macosSpm