I've updated my code to XCode 7 and Swift 2.0, now some of my tests fail and I see a list of 40 warnings in the Test build that are completely unrelated with the code they refer to. The warning message is:
"Cast From 'XCUIElement' to unrelated type 'String' always fails"
And this is an example of a row that produces the warning:
if let protocolStr = JSON["version"] as? String{
I'm not using XC user interface tests yet... so I cannot understand why this code is referring to that class. Any idea?
Update: November 9 With XCode 7.1 the issue is still there.