I'm getting a very very strange error in trying to refactor some code within my project. The code in question is calling swift code from Objective-C, and I keep getting EXC_BAD_ACCESS errors with various calls, but the thing is that the stack trace doesn't make any sense... I get a method call straight down to a property getter in swift, then get the error on a completely unrelated Swift method on the same class. It's almost as if the dispatch table is scrambled or something. There's no reason that the method showing the error should be called
I've cleaned, deleted derrived data, and no luck. If I comment out the call that results in this error, I just get another one in the same pattern in a different place.
Anyone seen this, or have an idea of what's going on?