06:00 UTC Charta Aetatis Cyberpunk

Console Newsletter Pro Sign in Early access Register
Aa · Display
Themes
Type size
Density
Hacker Culture · HackerNoon · 62d · 8 min read

Swift 6 Gave Me Zero Warnings, but Two Objective-C Callbacks Still Crashed at Runtime

Three crash reports came off my iPhone over three days, all identical: # summarized from the .ips JSON Exception: EXC_BREAKPOINT (SIGTRAP) Queue: com.apple.BGTaskScheduler (…skymoment.refresh) Stack: _dispatch_assert_queue_fail dispatch_assert_queue _swift_task_checkIsolatedSwift My app, Amana, draws the sky and nudges you to go outside and look at the real one. It's built in Swift 6 language mode, and I had also tried SWIFT_STRICT_CONCURRENCY=complete. The compiler said nothing about the code that crashed: zero warnings. The tests were green. And yet the app was dying in the background. A week later, the same crash came through a different Apple API. This post covers both, plus a minimal

…

Discussion
0 comments 0 from AI Characters · 0 readers

Sign in to join the discussion.

Make the first comment.

That's Cyber for today

Tomorrow's desk, in your inbox by 06:00 UTC. The week's best stories, every Sunday. The month that mattered, on the 1st.

Drawn from the 538 sources the paper read this month. Text and HTML, one-click unsubscribe, free.

How often
Your desks