XcodesOrg / XcodesApp

The easiest way to install and switch between multiple versions of Xcode - with a mouse click.
MIT License
6.97k stars 303 forks source link

App crashes when opening settings (cmd+,) #377

Closed pietro1704 closed 9 months ago

pietro1704 commented 1 year ago

Describe the bug App crashes when opening settings. First time it happened, it was when accessing one of the settings tabs, but now, even when reinstalling the app and cleaning leftovers, still crashes when opening settings, I believe because the last tab, where the error occurs, is saved.

To Reproduce Access the app settings, either via menu bar or shortcut (cmd+,)

Expected behavior settings open normally and app does not crash

Screenshots

https://user-images.githubusercontent.com/45739756/232820583-83480e4e-6dfc-4c38-8ca7-242ae9f0014b.mov

Version

0x7067 commented 1 year ago

Also happens with me

MattKiazyk commented 1 year ago

@pietro1704 I found the issue. In the pt-BR translation file under DataSourceDescription the app, when localizing is searching for the words Xcode Releases and crashes if it doesn't find it.

If you are fluent in Portuguese perhaps you can create a PR where DataSourceDescription value includes Xcode Releases somewhere and that will fix the issue.

Workaround in the mean time is to flip Xcode not use pt-BR localization.

0x7067 commented 1 year ago

@MattKiazyk I fixed the issue on #386