Whenever I have to debug something written in Swift, I'm always running into unavailable variables. If you try to print one in the debug window it just says "<variable not available>".
I've checked all the obvious stuff. I'm not debugging a release build, and I don't have any optimizations turned on.
I've never run into this problem with Objective-C code.
I've read old posts from years ago that say "Swift debugging in Xcode ***** right now" but surely whatever problems or bugs there may have been in the past have been fixed by now.
What's going on here?