Build Information
Failed to build Unxip with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.38.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/thii/Unxip.git
Reference: 0.5.0
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/thii/Unxip
* tag 0.5.0 -> FETCH_HEAD
HEAD is now at 1e344e3 Expose UnxipKit target
Cloned https://github.com/thii/Unxip.git
Revision (git rev-parse @):
1e344e3d7e9d3932d5aaa3cd9a077f21c7ef75e5
SUCCESS checkout https://github.com/thii/Unxip.git at 0.5.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "unxip",
"name": "Unxip",
"url": "https://github.com/thii/Unxip.git",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Unxip",
"dependencies": [
]
}
]
}
Fetching https://github.com/thii/Unxip.git
[1/112] Fetching unxip
Fetched https://github.com/thii/Unxip.git from cache (0.24s)
Creating working copy for https://github.com/thii/Unxip.git
Working copy of https://github.com/thii/Unxip.git resolved at 0.5.0 (1e344e3)
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/thii/Unxip.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write sources
[1/7] Write unxip-entitlement.plist
[2/7] Compiling UnxipKit UnxipKit.m
[3/7] Write swift-version-6044DDE57671499D.txt
[5/10] Emitting module Unxip
[6/10] Compiling Unxip Runner.swift
[7/10] Compiling Unxip main.swift
[7/10] Write Objects.LinkFileList
error: link command failed with exit code 1 (use -v to see invocation)
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_PKSignedContainer", referenced from:
in main.swift.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: fatalError
[8/10] Linking unxip
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-6044DDE57671499D.txt
error: link command failed with exit code 1 (use -v to see invocation)
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_PKSignedContainer", referenced from:
in main.swift.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: fatalError
[1/3] Linking unxip
BUILD FAILURE 5.10 macosSpm