Re: Xcode 12.5 crash

Alex Zavatone

Ohh, I see it now.

It’s an error with NSRange.  It’s expecting a multibyte character and it’s not getting one so the range is -1 what it’s expecting.

Use Ben’s suggestion.  Nice bug though.  

Alex Zavatone

On Jun 23, 2021, at 5:04 PM, Carl Hoefs <newslists@...> wrote:

Xcode 12.5, macOS 11.4

If I insert a copyright character (©) from the "Emoji & Symbols" character viewer palette into a NSTextField on the storyboard, Xcode crashes reliably with:

UNCAUGHT EXCEPTION (NSRangeException): *** -[NSBigMutableString _getBlockStart:end:contentsEnd:forRange:stopAtLineSeparators:]: Range {0, 14} out of bounds; string length 13

Note: It crashes when I insert the character into the Attributes Inspector field (see attached).

Can anyone else verify, or is my Xcode installation hosed?

<Screen Shot 2021-06-23 at 2.58.28 PM.png>

Join to automatically receive all group messages.