From 5bc6f1e390175a5687b3fef7e6cd3a2329a81837 Mon Sep 17 00:00:00 2001 From: Fawzi Mohamed Date: Wed, 4 Dec 2013 12:54:32 +0100 Subject: [PATCH] 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 --- src/tools/iostool/iosdevicemanager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tools/iostool/iosdevicemanager.cpp b/src/tools/iostool/iosdevicemanager.cpp index 953fc1824e3..88815ff8fd7 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,