WWDC22 SALE: Save 50% on all my Swift books and bundles! >>

SOLVED: Ultimate Portfolio: Hard Crash after Lesson 52 in Shared Projects/Shared Items view

Forums > SwiftUI

I'm getting the dreaded "Thread 1: EXC_BAD_ACCESS" error when clicking on the one shared project displayed on the Shared Projects view. I must have screwed something up in this lesson, but before I just revert all the changes and start again, I'd like to know how to debug this. I've set breakpoints all over the place, and many of them are triggered, but once the Shared Projects view is built and finally displayed, the app crashes (after a few seconds delay) as soon as I click the row with the shared project. After that click, none of my breakpoints are triggered. So I'd love to learn how to debug a situation like this, not only for the current dilemma, but for future ones as well. Thanks for any help.

   

@twoStraws created an exclusive, members only forum for HackingWithSwift+ boffins. Since you're boxed by a lesson in the Ultimate Portfolio, you might get better insight and assistance from your peers in the upper house.

See-> HWS+ Private Forum

1      

Save 50% in my Black Friday sale.

SAVE 50% To celebrate WWDC22, all our books and bundles are half price, so you can take your Swift knowledge further without spending big! Get the Swift Power Pack to build your iOS career faster, get the Swift Platform Pack to builds apps for macOS, watchOS, and beyond, or get the Swift Plus Pack to learn advanced design patterns, testing skills, and more.

Save 50% on all our books and bundles!

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.