Build Information
Failed to build WechatOpenSDK, reference 2.0.4 (07d37d
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 20:15:29 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yanyin1986/WechatOpenSDK.git
Reference: 2.0.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/yanyin1986/WechatOpenSDK
* tag 2.0.4 -> FETCH_HEAD
HEAD is now at 07d37db Merge pull request #1 from yanyin1986/version/2.0.4
Cloned https://github.com/yanyin1986/WechatOpenSDK.git
Revision (git rev-parse @):
07d37db666076d9ec6b85ca935e5bcdb68af43bd
SUCCESS checkout https://github.com/yanyin1986/WechatOpenSDK.git at 2.0.4
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "wechatopensdk",
"name": "WechatOpenSDK",
"url": "https://github.com/yanyin1986/WechatOpenSDK.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WechatOpenSDK",
"dependencies": [
]
}
]
}
Fetching https://github.com/yanyin1986/WechatOpenSDK.git
[1/180] Fetching wechatopensdk
Fetched https://github.com/yanyin1986/WechatOpenSDK.git from cache (1.50s)
Creating working copy for https://github.com/yanyin1986/WechatOpenSDK.git
Working copy of https://github.com/yanyin1986/WechatOpenSDK.git resolved at 2.0.4 (07d37db)
warning: '.resolve-product-dependencies': dependency 'wechatopensdk' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/yanyin1986/WechatOpenSDK.git
{
"dependencies" : [
],
"manifest_display_name" : "WechatOpenSDK",
"name" : "WechatOpenSDK",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
}
],
"products" : [
{
"name" : "WechatOpenSDK",
"targets" : [
"WechatOpenSDK"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "WechatOpenSDK",
"module_type" : "BinaryTarget",
"name" : "WechatOpenSDK",
"path" : "Sources/WechatOpenSDK-XCFramework.xcframework",
"product_memberships" : [
"WechatOpenSDK"
],
"sources" : [
],
"type" : "binary"
}
],
"tools_version" : "5.8"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
error: The package does not contain a buildable target.
Add at least one `.target` or `.executableTarget` to your `Package.swift`.
BUILD FAILURE 6.0 macosSpm