Running Xcode 16b4 on Apple silicon.
Create a fresh Swift package, it will be using swift-tools-version: 6.0
. Add a Swift Test to the test target with some basic assertion like #expect(true)
.
Run the test against the target My Mac
and the test will compile, run and pass.
Run the test against the target My Mac (Mac Catalyst)
and the test will compile and crash with EXC_BAD_ACCESS
.
If you create an equivalent XCTest, it will compile, run and pass against both destinations.
Has anyone else experienced this? Is this already being tracked?
Is this possibly related? https://github.com/swiftlang/swift/pull/75432
Given that the Mac Catalyst run destination is very Xcode specific, I think it’d be best for you to file a bug against Xcode about this.
Please post your bug number, just for the record.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"