Closed etcwilde closed 4 weeks ago
This issue is linked to rdar://103960437
Found the same problem in #75261 when I tried to implement macCatalyst in the compiler. My solution was changing the test, which is probably not right, if the test works unchanged internally for Apple.
This was fully resolved by https://github.com/swiftlang/swift/pull/75646.
Catalyst builds fail to test in SILGen/availability_query_maccatalyst_zippered_canonical_versions.swift.
The code in question
The expected output for a catalyst executable should include checks for both the macOS and the iOS version numbers. The SILGen emitted from the open-source compiler only includes the check for the macOS version.
Expected:
Got:
I've disabled the catalyst build from the nightly toolchain here; https://github.com/apple/swift/pull/62882