Skip to content

'Bindable' is unavailable in macOS #9095

@kcieplak

Description

@kcieplak

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

MacOS

swift build --buildsystem=swiftbuild fails to build package

info: Compile Lock.swift (arm64)
    cd /private/var/lib/jenkins/workspace/swift_oss/swift-package-index-metrics@2/spi-workdir/8E80A42E-CBC1-454B-B94C-87047C789F69
    
error: /private/var/lib/jenkins/workspace/swift_oss/swift-package-index-metrics@2/spi-workdir/8E80A42E-CBC1-454B-B94C-87047C789F69/tca-composer/.build-swiftbuild/checkouts/swift-perception/Sources/PerceptionCore/SwiftUI/Bindable.swift:85:13 'Bindable' is unavailable in macOS: Use @Bindable without the 'Perception.' prefix.
info: /private/var/lib/jenkins/workspace/swift_oss/swift-package-index-metrics@2/spi-workdir/8E80A42E-CBC1-454B-B94C-87047C789F69/tca-composer/.build-swiftbuild/checkouts/swift-perception/Sources/PerceptionCore/SwiftUI/Bindable.swift:35:17 'Bindable' was obsoleted in macOS 14
error: /private/var/lib/jenkins/workspace/swift_oss/swift-package-index-metrics@2/spi-workdir/8E80A42E-CBC1-454B-B94C-87047C789F69/tca-composer/.build-swiftbuild/checkouts/swift-perception/Sources/PerceptionCore/SwiftUI/Bindable.swift:92:13 'Bindable' is unavailable in macOS: Use @Bindable without the 'Perception.' prefix.
info: /private/var/lib/jenkins/workspace/swift_oss/swift-package-index-metrics@2/spi-workdir/8E80A42E-CBC1-454B-B94C-87047C789F69/tca-composer/.build-swiftbuild/checkouts/swift-perception/Sources/PerceptionCore/SwiftUI/Bindable.swift:35:17 'Bindable' was obsoleted in macOS 14
info: /private/var/lib/jenkins/workspace/swift_oss/swift-package-index-metrics@2/spi-workdir/8E80A42E-CBC1-454B-B94C-87047C789F69/tca-composer/.build-swiftbuild/checkouts/swift-perception/Sources/PerceptionCore/SwiftUI/Bindable.swift:85:13: error: 'Bindable' is unavailable in macOS: Use @Bindable without the 'Perception.' prefix.
  extension Bindable: Identifiable where Value: Identifiable {
            ^~~~~~~~
/private/var/lib/jenkins/workspace/swift_oss/swift-package-index-metrics@2/spi-workdir/8E80A42E-CBC1-454B-B94C-87047C789F69/tca-composer/.build-swiftbuild/checkouts/swift-perception/Sources/PerceptionCore/SwiftUI/Bindable.swift:35:17: note: 'Bindable' was obsoleted in macOS 14
  public struct Bindable<Value> {
                ^
/private/var/lib/jenkins/workspace/swift_oss/swift-package-index-metrics@2/spi-workdir/8E80A42E-CBC1-454B-B94C-87047C789F69/tca-composer/.build-swiftbuild/checkouts/swift-perception/Sources/PerceptionCore/SwiftUI/Bindable.swift:92:13: error: 'Bindable' is unavailable in macOS: Use @Bindable without the 'Perception.' prefix.
  extension Bindable: Sendable where Value: Sendable {}
            ^~~~~~~~
/private/var/lib/jenkins/workspace/swift_oss/swift-package-index-metrics@2/spi-workdir/8E80A42E-CBC1-454B-B94C-87047C789F69/tca-composer/.build-swiftbuild/checkouts/swift-perception/Sources/PerceptionCore/SwiftUI/Bindable.swift:35:17: note: 'Bindable' was obsoleted in macOS 14
  public struct Bindable<Value> {
                ^
error: EmitSwiftModule normal arm64 failed with a nonzero exit code

Expected behavior

Builds

Actual behavior

Fails to build

Steps to reproduce

git clone https://github.com/mentalflux/tca-composer.git
swift build --build-system=swiftbuild

Swift Package Manager version/commit hash

No response

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

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions