I have recently updated my Xcode and started having this error.
2014-11-03 15:03:54.222 App[13141:60b] Error loading /private/var/mobile/Applications/677127BD-52
Xcode 10 here.
For me the issue was the discrepancy between the Project deployment target and the Target deployment target. Once I had them matching, XCTest started working.