Adding a (convenient) computed height property to UIView in my UIViewExtension.swift file is causing the Swift compiler to segfault...
When you run into a compiler segfault in Swift, you don't get a handy line number and error message. Here's how you can track the problem down:
SegFaultDebugger.swift in your project.SegFaultDebugger.swift.At this point, one of three things happens:
SegFaultDebugger.swift back to the original file and move a different set of methods into SegFaultDebugger.swift. RepeatSegFaultDebugger.swift: Great! Now use binary search to pin the segfault down to a specific method until you can figure out what construct is causing it.