Xcode Version 6.1.1 (6A2008a)
Error: libswiftCore.dylib`swift_dynamicCastClassUnconditional and Swift dynamic cast failed
I am trying to test and I am comin
Ok so after a lot of messing about here is what solved the issue:
I changed all the classes (in the main part of the application) that I needed to access (from the Test part of the application) to be public and also set these class's required methods to be public as well).
I imported the main project into each appropriate test classes with an #import AppName
statement
Hope that saves some other people some time.. :)