Since upgrading to Swift2.2 , my tests EXC_BAD_ACCESS (code=2, address=0xb6bc48) with EXC_BAD_ACCESS (code=2, address=0xb6bc48) in a line that looks like this:
let myLet = MyGenericClass<MyType>(some: 0, parameters: 1)
In the debug navigator, I see that it stops at
0 swift_initClassMetadata_UniversalStrategy ...snip... 6 type metadata accessor for MyGenericClass<MyType> 7 MyClassTests.theTestIAmExecuting() -> () ...snip...
Maybe something needs to be done so that I import the classes using @testable import MyApp instead of adding all the tested classes to the test object.
Does anyone have the same problem? Has anyone got a way to solve this?
UPDATE
It also crashes when starting my project now
xcode swift
Daniel
source share