Skip to content

Latest OSS trunk snapshot for macOS cannot install a SDK bundle: "Symbol not found" #8991

@finagolfin

Description

@finagolfin

Is it reproducible with SwiftPM command-line tools: swift build, swift test, swift package etc?

  • Confirmed reproduction steps with SwiftPM CLI. The description text must include reproduction steps with either of command-line SwiftPM commands, swift build, swift test, swift package etc.

Description

My Android CI builds the latest trunk bundle on linux then tries to install it on macOS 13 x86_64, using the latest official OSS trunk snapshot toolchain for macOS.

Expected behavior

Until the July 28 trunk snapshot tag, that worked fine.

Actual behavior

Starting with the last August 2 trunk snapshot, that no longer works:

dyld[4511]: Symbol not found: _$s10Foundation11JSONDecoderC6decode_4from13configurationxxm_AA4DataV21DecodingConfigurationQztKAA013DecodableWithH0RzlFTj
  Referenced from: <ADA5560A-56B3-3CC9-88F2-BD941A693637> /Users/runner/work/swift-android-sdk/swift-android-sdk/swift-DEVELOPMENT-SNAPSHOT-[20](https://github.com/finagolfin/swift-android-sdk/actions/runs/16735913293/job/47384207327#step:13:21)25-08-02-a/usr/bin/swift-package (built for macOS 14.0 which is newer than running OS)
  Expected in:     <F962EED3-9D18-3E45-9DA2-B1E3529053E1> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
/Users/runner/work/_temp/64dfb267-5c12-4030-96a6-a541ecd84abf.sh: line 1:  4511 Abort trap: 6           ${TOOLCHAIN}/bin/swift sdk install ~/swift-DEVELOPMENT-SNAPSHOT-2025-08-02-a-android-*.artifactbundle.tar.gz

I'm checking the latest August 4 trunk snapshot now (yep, still failing). @marcprux, let me know if you're seeing this too.

Steps to reproduce

~/swift-DEVELOPMENT-SNAPSHOT-2025-08-02-a/usr/bin/swift sdk install ~/swift-DEVELOPMENT-SNAPSHOT-2025-08-02-a-android-*.artifactbundle.tar.gz

Swift Package Manager version/commit hash

6.3 August 2 snapshot

Swift & OS version (output of swift --version ; uname -a)

Apple Swift version 6.2-dev (LLVM dec20e11e68da63, Swift 8a77cba10b78e6f)
Target: x86_64-apple-macosx13.0
Build config: +assertions

macOS 13.7.6 x86_64

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions