Commit 84cf3cf7 authored by Fawzi Mohamed's avatar Fawzi Mohamed

ios: immediately skip running when the executable is missing

Change-Id: I9a867f2a62811e84fa758e9d27272b6583067afb
Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@digia.com>
parent d419069b
......@@ -114,6 +114,13 @@ void IosRunner::start()
}
m_cleanExit = false;
m_qmlPort = 0;
if (!QFileInfo::exists(m_bundleDir)) {
TaskHub::addTask(Task::Warning,
tr("Could not find %1.").arg(m_bundleDir),
ProjectExplorer::Constants::TASK_CATEGORY_DEPLOYMENT);
emit finished(m_cleanExit);
return;
}
IosToolHandler::DeviceType devType = IosToolHandler::IosDeviceType;
if (m_device->type() == Ios::Constants::IOS_DEVICE_TYPE) {
IosDevice::ConstPtr iosDevice = m_device.dynamicCast<const IosDevice>();
......
Markdown is supported
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