Build Information
Failed to build MGUtils, reference 1.0.2 (6bae52), with Swift 6.0 for macOS (SPM) on 29 Jul 2025 18:32:02 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dongzs0907/MGUtils.git
Reference: 1.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dongzs0907/MGUtils
* tag 1.0.2 -> FETCH_HEAD
HEAD is now at 6bae527 完善
Cloned https://github.com/dongzs0907/MGUtils.git
Revision (git rev-parse @):
6bae527ed7172d03720dd40b89f32af6882913f2
SUCCESS checkout https://github.com/dongzs0907/MGUtils.git at 1.0.2
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/dongzs0907/MGUtils.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
error: 'spi-builder-workspace': Invalid manifest (compiled with: ["/Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc", "-vfsoverlay", "/var/folders/5k/5yc19ymj0jqd5v0zvgfqz0xw0000gn/T/TemporaryDirectory.YqDEpg/vfs.yaml", "-L", "/Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-target", "arm64-apple-macosx13.0", "-sdk", "/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk", "-F", "/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks", "-I", "/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-L", "/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-swift-version", "5", "-I", "/Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-sdk", "/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk", "-package-description-version", "5.9.0", "/Users/admin/builder/spi-builder-workspace/Package.swift", "-o", "/var/folders/5k/5yc19ymj0jqd5v0zvgfqz0xw0000gn/T/TemporaryDirectory.uQygcG/spi-builder-workspace-manifest"])
/Users/admin/builder/spi-builder-workspace/Package.swift:25:9: error: unexpected ',' separator
23 | .linkedFramework("UIKit", .when(platforms: [.iOS])) // 关键:显式链接 UIKit[3,5](@ref)
24 | ],
25 | ),
| `- error: unexpected ',' separator
26 |
27 | .testTarget(
error: 'spi-builder-workspace': Invalid manifest (compiled with: ["/Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc", "-vfsoverlay", "/var/folders/5k/5yc19ymj0jqd5v0zvgfqz0xw0000gn/T/TemporaryDirectory.IpJDzY/vfs.yaml", "-L", "/Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-target", "arm64-apple-macosx13.0", "-sdk", "/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk", "-F", "/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks", "-I", "/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-L", "/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-swift-version", "5", "-I", "/Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-sdk", "/Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk", "-package-description-version", "5.9.0", "/Users/admin/builder/spi-builder-workspace/Package.swift", "-o", "/var/folders/5k/5yc19ymj0jqd5v0zvgfqz0xw0000gn/T/TemporaryDirectory.XqyFfW/spi-builder-workspace-manifest"])
/Users/admin/builder/spi-builder-workspace/Package.swift:25:9: error: unexpected ',' separator
23 | .linkedFramework("UIKit", .when(platforms: [.iOS])) // 关键:显式链接 UIKit[3,5](@ref)
24 | ],
25 | ),
| `- error: unexpected ',' separator
26 |
27 | .testTarget(
BUILD FAILURE 6.0 macosSpm