UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

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.

1      

@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

2      

TAKE YOUR SKILLS TO THE NEXT LEVEL If you like Hacking with Swift, you'll love Hacking with Swift+ – it's my premium service where you can learn advanced Swift and SwiftUI, functional programming, algorithms, and more. Plus it comes with stacks of benefits, including monthly live streams, downloadable projects, a 20% discount on all books, and free gifts!

Find out more

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

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

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.