Commit d1cd1a49 authored by Fawzi Mohamed's avatar Fawzi Mohamed
Browse files

ios: correctly replace cryptic Locked message when deploying

Change-Id: I19e33d5c7e35f9d76c81469d3772bc800ce1760b
Reviewed-by: default avatarRichard Moe Gustavsen <>
parent 1fd6a4a8
......@@ -217,11 +217,11 @@ void IosRunner::handleErrorMsg(IosToolHandler *handler, const QString &msg)
tr("Run failed. The settings in the Organizer window of Xcode might be incorrect."),
} else if (msg.contains(lockedErr)) {
} else if (res.contains(lockedErr)) {
QString message = tr("The device is locked, please unlock.");
TaskHub::addTask(Task::Error, message,
res.replace(lockedErr, msg);
res.replace(lockedErr, message);
QRegExp qmlPortRe(QLatin1String("QML Debugger: Waiting for connection on port ([0-9]+)..."));
int index = qmlPortRe.indexIn(msg);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment