Post

Replies

Boosts

Views

Activity

Reply to Xcode Crashes in Uncommited Changes Editor
I found out that the same crash happened when I had some range issues in localise.strings files. I mean Xcode have incorrectly defined range of changes in my strings file, and that change was at the end of file. That why there is SourceEditorDataSource.contentRangeForLineRange in logs, I think. To handle this issue you can just move your changes somewhere in the middle of the file, so changed range would be not after the end.
Jan ’24
Reply to XCode 16 crash on commit - SourceEditorDataSource.contentRangeForLineRange(_:) + 244
This issue persists for a long time and was reproducible even with localizable.stings files. The only workaround I find was to open Localizable.xcstrings as a source code and add a sufficient number of empty strings at the bottom of file. But you should do it before every commit so it is rather annoying.
Replies
Boosts
Views
Activity
May ’25
Reply to Xcode Crashes in Uncommited Changes Editor
I found out that the same crash happened when I had some range issues in localise.strings files. I mean Xcode have incorrectly defined range of changes in my strings file, and that change was at the end of file. That why there is SourceEditorDataSource.contentRangeForLineRange in logs, I think. To handle this issue you can just move your changes somewhere in the middle of the file, so changed range would be not after the end.
Replies
Boosts
Views
Activity
Jan ’24
Reply to [SwiftUI] How do I catch the "No image named MYEXAMPLE found in asset catalog" warning? Alternatively, how do I determine if something exists in the asset catalog?
I've stumbled upon this question too, and for now I found the only way to handle this issue by using Image(uiImage: UIImage(named: ....)) init. You can check if UIImage(named: ....) exists because it's optional.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’23
Reply to Custom fonts not detected in Xcode
If none of the above helps, try to delete "Fonts provided by application" row from info.plist and add it again, but select from dropdown menu now. It happens that you could misprint when was entering that row's name previously.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Apr ’23