Our project stopped building after updating to Xcode 14.3 with a bunch of cryptic "Trace/BPT trap: 5" errors.

Long story short, compiling this code crashes the Swift 5.8 compiler â˜šī¸

#swift #iosdev #xcode

@nerius Just curious to know what was the fix you went with

@TomEstelrich Dirty fix: wrap the optional closure into an non-optional closure đŸ¤ˇâ€â™‚ī¸

Also created a bug report on the Swift github repo.

@nerius Good to know. Actually I run in some similar issues in the past and I went with async/await