Build Information
Failed to build AgoraInfra_iOS, reference main (c448ed
), with Swift 6.0 for macOS (SPM) on 18 Apr 2025 13:38:36 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AgoraIO/AgoraInfra_iOS.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AgoraIO/AgoraInfra_iOS
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c448edb 1.2.13.1
Cloned https://github.com/AgoraIO/AgoraInfra_iOS.git
Revision (git rev-parse @):
c448edb8a6076b7ad3e3908fd0b61fe972674c7c
SUCCESS checkout https://github.com/AgoraIO/AgoraInfra_iOS.git at main
[81245/566903] Downloading https://download.agora.io/swiftpm/AgoraInfra_iOS/1.2.13.1/aosl.xcframework.zip
Downloading binary artifact https://download.agora.io/swiftpm/AgoraInfra_iOS/1.2.13.1/aosl.xcframework.zip
Downloaded https://download.agora.io/swiftpm/AgoraInfra_iOS/1.2.13.1/aosl.xcframework.zip (0.46s)
========================================
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": "agorainfra_ios",
"name": "AgoraInfra_iOS",
"url": "https://github.com/AgoraIO/AgoraInfra_iOS.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AgoraInfra_iOS",
"dependencies": [
]
}
]
}
Fetching https://github.com/AgoraIO/AgoraInfra_iOS.git
[1/22] Fetching agorainfra_ios
Fetched https://github.com/AgoraIO/AgoraInfra_iOS.git from cache (0.51s)
Creating working copy for https://github.com/AgoraIO/AgoraInfra_iOS.git
Working copy of https://github.com/AgoraIO/AgoraInfra_iOS.git resolved at main (c448edb)
Fetching binary artifact https://download.agora.io/swiftpm/AgoraInfra_iOS/1.2.13.1/aosl.xcframework.zip from cache
Fetched https://download.agora.io/swiftpm/AgoraInfra_iOS/1.2.13.1/aosl.xcframework.zip from cache (0.05s)
warning: '.resolve-product-dependencies': dependency 'agorainfra_ios' 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/AgoraIO/AgoraInfra_iOS.git
https://github.com/AgoraIO/AgoraInfra_iOS.git
{
"default_localization" : "en",
"dependencies" : [
],
"manifest_display_name" : "AgoraInfra_iOS",
"name" : "AgoraInfra_iOS",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "9.0"
}
],
"products" : [
{
"name" : "AgoraInfra_iOS",
"targets" : [
"aosl"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "aosl",
"module_type" : "BinaryTarget",
"name" : "aosl",
"path" : "remote/archive/aosl.xcframework.zip",
"product_memberships" : [
"AgoraInfra_iOS"
],
"sources" : [
],
"type" : "binary"
}
],
"tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.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`.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
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