forked from qt-creator/qt-creator
Ios: Finish deploy on failure
Previously the deploy step would seemingly run forever if the startSimulator step failed, as no result was added to the promise. Change-Id: Ib320d051e78057e536d4ad371cb30108e848c65f Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -746,6 +746,8 @@ void IosSimulatorToolHandlerPrivate::requestTransferApp(const FilePath &appBundl
|
||||
installAppOnSimulator();
|
||||
} else {
|
||||
errorMsg(Tr::tr("Application install on simulator failed. Simulator not running."));
|
||||
if (!response.commandOutput.isEmpty())
|
||||
errorMsg(response.commandOutput);
|
||||
didTransferApp(m_bundlePath, m_deviceId, IosToolHandler::Failure);
|
||||
emit q->finished(q);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user