The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TUICore_SwiftPM, reference 9.0.7655 (df63d3), with Swift 6.1 for macOS (SPM) on 10 Oct 2026 12:21:36 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Tencent-RTC/TUICore_SwiftPM.git
Reference: 9.0.7655
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Tencent-RTC/TUICore_SwiftPM
 * tag               9.0.7655   -> FETCH_HEAD
HEAD is now at df63d33 release 9.0.7655
Cloned https://github.com/Tencent-RTC/TUICore_SwiftPM.git
Revision (git rev-parse @):
df63d33c306af65407538f205d250caecbb427b7
SUCCESS checkout https://github.com/Tencent-RTC/TUICore_SwiftPM.git at 9.0.7655
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Tencent-RTC/TUICore_SwiftPM.git
https://github.com/Tencent-RTC/TUICore_SwiftPM.git
{
  "dependencies" : [
    {
      "identity" : "chat_sdk_swiftpm",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.0.7652",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Tencent-RTC/Chat_SDK_SwiftPM.git"
    },
    {
      "identity" : "sdwebimage",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.1",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SDWebImage/SDWebImage.git"
    }
  ],
  "manifest_display_name" : "TUICore_SwiftPM",
  "name" : "TUICore_SwiftPM",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "TUICore_SwiftPM",
      "targets" : [
        "TUICore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TUICore",
      "module_type" : "ClangTarget",
      "name" : "TUICore",
      "path" : "Sources/TUICore",
      "product_dependencies" : [
        "Chat_SDK_SwiftPM",
        "SDWebImage"
      ],
      "product_memberships" : [
        "TUICore_SwiftPM"
      ],
      "sources" : [
        "NSDictionary+TUISafe.m",
        "NSString+TUIUtil.m",
        "OfflinePushExtBusinessInfo.m",
        "OfflinePushExtConfigInfo.m",
        "OfflinePushExtInfo.m",
        "TUICommonModel.m",
        "TUIConfig.m",
        "TUICore.m",
        "TUIDarkModel.m",
        "TUIGlobalization.m",
        "TUILogin.m",
        "TUIThemeManager.m",
        "TUITool.m",
        "TUIWeakProxy.m",
        "UIColor+TUIHexColor.m",
        "UIView+TUILayout.m",
        "UIView+TUIToast.m",
        "UIView+TUIUtil.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
In file included from /Users/admin/builder/spi-builder-workspace/Sources/TUICore/UIView+TUIUtil.m:9:
/Users/admin/builder/spi-builder-workspace/Sources/TUICore/include/UIView+TUIUtil.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
    9 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[0/18] Compiling TUICore UIView+TUIUtil.m
[0/18] Compiling TUICore TUIDarkModel.m
[0/18] Compiling TUICore TUIGlobalization.m
[0/18] Compiling TUICore TUIConfig.m
[0/18] Compiling TUICore NSDictionary+TUISafe.m
[0/18] Compiling TUICore UIView+TUIToast.m
[0/18] Compiling TUICore OfflinePushExtConfigInfo.m
[0/18] Compiling TUICore UIView+TUILayout.m
[0/18] Compiling TUICore OfflinePushExtBusinessInfo.m
[0/18] Compiling TUICore NSString+TUIUtil.m
Fetching https://github.com/Tencent-RTC/Chat_SDK_SwiftPM.git
Fetching https://github.com/SDWebImage/SDWebImage.git
[1/34] Fetching chat_sdk_swiftpm
[34/26081] Fetching chat_sdk_swiftpm, sdwebimage
Fetched https://github.com/Tencent-RTC/Chat_SDK_SwiftPM.git from cache (4.21s)
Fetched https://github.com/SDWebImage/SDWebImage.git from cache (4.21s)
Computing version for https://github.com/Tencent-RTC/Chat_SDK_SwiftPM.git
Computed https://github.com/Tencent-RTC/Chat_SDK_SwiftPM.git at 9.0.7652 (4.71s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.21.7 (2.84s)
Creating working copy for https://github.com/SDWebImage/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.21.7
Creating working copy for https://github.com/Tencent-RTC/Chat_SDK_SwiftPM.git
Working copy of https://github.com/Tencent-RTC/Chat_SDK_SwiftPM.git resolved at 9.0.7652
Downloading binary artifact https://im.sdk.cloud.tencent.cn/download/plus/9.0.7652/ImSDK_Plus_9.0.7652.xcframework.zip
[65536/12026619] Downloading https://im.sdk.cloud.tencent.cn/download/plus/9.0.7652/ImSDK_Plus_9.0.7652.xcframework.zip
Downloaded https://im.sdk.cloud.tencent.cn/download/plus/9.0.7652/ImSDK_Plus_9.0.7652.xcframework.zip (0.76s)
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
In file included from /Users/admin/builder/spi-builder-workspace/Sources/TUICore/UIColor+TUIHexColor.m:9:
/Users/admin/builder/spi-builder-workspace/Sources/TUICore/include/UIColor+TUIHexColor.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
    9 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[0/18] Compiling TUICore UIColor+TUIHexColor.m
[0/18] Compiling TUICore TUIGlobalization.m
[0/18] Compiling TUICore TUILogin.m
[0/18] Compiling TUICore TUIThemeManager.m
[0/18] Compiling TUICore TUIDarkModel.m
[0/18] Compiling TUICore TUITool.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/TUICore/UIView+TUIUtil.m:9:
/Users/admin/builder/spi-builder-workspace/Sources/TUICore/include/UIView+TUIUtil.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
    9 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[0/18] Compiling TUICore UIView+TUIUtil.m
[0/18] Compiling TUICore UIView+TUILayout.m
[0/18] Compiling TUICore UIView+TUIToast.m
[0/18] Compiling TUICore TUIWeakProxy.m
BUILD FAILURE 6.1 macosSpm