Ich versuche, UI-Automatisierungstests mit Xcode 7 in einem älteren Projekt hinzuzufügen und auszuführen. Hier ist, was ich getan habe:UI-Test kann nicht auf älterem Projekt ausgeführt werden
- Added ein neues UI Testing
- die Version dieses Ziel Compiler geändert Ziel Compiler auf Standard (Apple-LLVM 7.0)
- einen Test Recorded den iPhone 6 Plus iOS9 Simulator (arbeitete wie ein Charme)
Nun, wenn ich versuche, den aufgezeichneten Test bekomme ich folgende Fehler auszuführen:
failed: caught "NSInternalInconsistencyException", "No target application path specified via test configuration: testBundleURL:file:///xxxxxxxxxxx/PlugIns/PageonceUITests.xctest/ productModuleName:(null) testsToSkip:(null) testsToRun:(null) reportResultsToIDE:no sessionIdentifier:<__NSConcreteUUID 0x7fc818d181a0> 7045B650-CDAF-4EC9-9738-83F78E1514D8 pathToXcodeReportingSocket:(null) disablePerformanceMetrics:no treatMissingBaselinesAsFailures:no baselineFileURL:(null) targetApplicationPath:(null) targetApplicationBundleID:(null)
Ich hatte das gleiche Problem und [dies] (http://stackoverflow.com/questions/32276523/nsinternalinconsistencyexception-when-running-uitesting-with-xcode-7?answertab=votes#tab-top) löste es . – Kalicz