forked from qt-creator/qt-creator
iOS: Fix run without deploy on iOS simulator
Task-number: QTCREATORBUG-18107 Change-Id: Ie847cdab672ff2df7af0c2fee742901de0783861 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -848,13 +848,12 @@ void IosSimulatorToolHandlerPrivate::requestRunApp(const QString &appBundlePath,
|
||||
}
|
||||
|
||||
auto onSimulatorStart = [this, extraArgs] (const SimulatorControl::ResponseData &response) {
|
||||
if (isResponseValid(response))
|
||||
if (!isResponseValid(response))
|
||||
return;
|
||||
if (response.success) {
|
||||
launchAppOnSimulator(extraArgs);
|
||||
} else {
|
||||
errorMsg(IosToolHandler::tr("Application launch on Simulator failed. Simulator not running.")
|
||||
.arg(bundlePath));
|
||||
errorMsg(IosToolHandler::tr("Application launch on Simulator failed. Simulator not running."));
|
||||
didStartApp(bundlePath, deviceId, Ios::IosToolHandler::Failure);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user