Closed toddthomas closed 12 months ago
Update: I reinstalled via
brew install xcode-kotlin
and Xcode 14.3.1 launched successfully.
I then did
xcode-kotlin uninstall
xcode-kotlin install
and Xcode is still launching fine. So for me the crashing issue only occurred after updating to macOS 13.5, and reinstalling xcode-kotlin seems to allow it to work again. Though I haven't yet tested using xcode-kotlin features in Xcode.
I couldn't reproduce this, but we have a worse problem that might be related (#95) and it's unfortunately a bug in Xcode itself (it seems).
Just released Xcode Kotlin CLI 1.3.0 which includes an automated workaround for the crash.
Summary
With xcode-kotlin installed via Homebrew, Xcode 14.3.1 was crashing on every launch attempt after I updated to macOS 13.5.
Details
Here's the relevant portion of a crash log that led me to suspect an Xcode plugin.
Reproduction
I haven't performed these steps as such, I'm proposing how you would set up the situation I found myself in.
brew install xcode-kotlin
Expected result
Xcode launches successfully.
Current state
Xcode crashes immediately, before any of its windows are shown. Holding down Option-Shift while launching does not fix the problem, so it's not due to opening the projects that were open when you last ran Xcode.
Possible Fix
The problem was fixed for me by
brew uninstall xcode-kotlin
.Screenshots
None.
Issue Labels