aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFawzi Mohamed <fawzi.mohamed@digia.com>2013-12-04 12:54:32 +0100
committerFawzi Mohamed <fawzi.mohamed@digia.com>2013-12-04 14:11:20 +0100
commit5bc6f1e390175a5687b3fef7e6cd3a2329a81837 (patch)
treef39d27ec95a132a36612d698c87c61d309f42b46
parent760e401098eaeffc06aadb657ca3860c7cc93dcf (diff)
ios: wait 5s after sucessful deploy
Ios 7.0.4 with xcode 5.0.2 seem to need a bit of time after installation before running, otherwise the device might be locked up. Task-number:QTCREATORBUG-10922s Change-Id: I4d35d0c3b21407db7d0aa5f629d3fa51117d4ddd Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
-rw-r--r--src/tools/iostool/iosdevicemanager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/iostool/iosdevicemanager.cpp b/src/tools/iostool/iosdevicemanager.cpp
index 953fc1824e..88815ff8fd 100644
--- a/src/tools/iostool/iosdevicemanager.cpp
+++ b/src/tools/iostool/iosdevicemanager.cpp
@@ -1063,6 +1063,8 @@ bool AppOpSession::installApp()
}
stopService(fd);
}
+ if (!failure)
+ sleep(5); // after installation the device needs a bit of quiet....
if (debugAll)
qDebug() << "AMDeviceInstallApplication finished request with " << failure;
IosDeviceManagerPrivate::instance()->didTransferApp(bundlePath, deviceId,