Skip to content

maccatalyst builds not building Cxx interop libraries #73409

Closed
@jpeezzy

Description

@jpeezzy

Description

When building swift targeting maccatalyst, the Cxx-interop libraries are not getting built specifically for maccatalyst. From the latest developer builds, Cxx-interoperability comes from libraries that target a specific Mac device here: /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2024-05-01-a.xctoolchain/usr/lib/swift_static/
Mac Catalyst is missing as a target, and as a result, Mac Catalyst programs are unable to utilize Cxx interoperability.

I used these flags to create a swift build on my end with the same results:

./swift/utils/build-script -R -i --cxx-interoperability-mode=default --enable-cxx-interop-swift-bridging-header true --skip-watchos --skip-tvos --enable-experimental-string-processing true --maccatalyst true

Reproduction

./swift/utils/build-script -R -i --cxx-interoperability-mode=default --enable-cxx-interop-swift-bridging-header true  --skip-watchos --skip-tvos --enable-experimental-string-processing true --maccatalyst true

Expected behavior

seeing a maccatalyst folder located here: build/Ninja-ReleaseAssert/swift-macosx-arm64/lib/swift_static/

Environment

main
swift-5.10-RELEASE

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.c++ interopFeature: Interoperability with C++

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions