Creating a brand new iOS app in Xcode 26 (beta 17A5241e), and modifying the App file thusly causes a SIGABRT crash when run in the iOS 26 simulator:
import SwiftUI
import CoreMIDI
@main
struct MIDINetworkSession_crashApp: App {
var body: some Scene {
WindowGroup {
let midiNetworkSession = MIDINetworkSession.default() // <- SIGABRT crash here
ContentView()
}
}
}
I realise that as of writing iOS 26 is beta software, and I have submitted this via Apple's Feedback Assistant.
But is a pretty significant crash to encounter in Apple's code. Is anyone else seeing this? And is there some form of workaround to get past this crash?
Update: weirdly, this crash is only happening on the first run of a specific device on the simulator; on the second run the crash does not occur.
This appears to be fixed when building with Xcode 26.0 beta 2 (17A5241o).