The crash is caused by calling UIGraphicsBeginImageContextWithOptions() with a size where either the width or height is 0. e.g. (0,0). The tricky part is that it somehow crashes completely and doesn't give you a full stack trace so you can track down the source of the problem.
Post
Replies
Boosts
Views
Activity
I'm seeing it on both device and simulator. Somehow it sometimes doesn't happen on a sim.
This is still an issue with Xcode 15 beta 5/iOS 17 beta 4
The bug is still there in beta 4. But I found a fix.
Open your .xib file, select the first property tab, and check the box to turn on "Use Trait Variations".
FB12587537
It appears that this is still an issue with beta 3.
Does anyone have an idea of why these particular .xib files fail to compile? Is there a fix that we should make to the file to work around the problem?
It looks like this is still an unresolved issue?
An acceptable solution would be to be able to do something like this:
someLabel.attributedText = NSAttributedString(string: "John Doe 1861-1938", attributes: [.numbersAreDateTime: true])
Here is a bug id FB9835553