Commit 129d062a authored by hjk's avatar hjk
Browse files

IosDeployStep: use QTC_ASSERT when appropriate

Change-Id: I487f3ead6b72d558670dd4045c44b8ab09336e29
Reviewed-by: default avatarFawzi Mohamed <>
parent 29e4ed9f
......@@ -93,7 +93,7 @@ bool IosDeployStep::init()
m_device = ProjectExplorer::DeviceKitInformation::device(target()->kit());
IosRunConfiguration * runConfig = qobject_cast<IosRunConfiguration *>(
QTC_ASSERT(runConfig, return false);
m_bundlePath = runConfig->bundleDir().toString();
if (m_device.isNull()) {
emit addOutput(tr("Error: no device available, deploy failed."),
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