Sto provando ad aggiungere ed eseguire test di automazione interfaccia utente con Xcode 7 su un progetto precedente. Ecco quello che ho fatto:Impossibile eseguire il test dell'interfaccia utente sul progetto precedente
- Aggiunto un nuovo test UI bersaglio
- cambiato la versione del compilatore di tale obiettivo to Default compilatore (Apple LLVM 7.0)
- registrato un test utilizzando il simulatore di iPhone 6 Plus iOS9 (ha lavorato come un fascino)
Ora, quando si tenta di eseguire il test registrato ottengo il seguente errore:
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)
Ho avuto lo stesso problema e [questo] (http://stackoverflow.com/questions/32276523/nsinternalinconsistencyexception-when-running-uitesting-with-xcode-7?answertab=votes#tab-top) risolto . – Kalicz