aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/ios/iosdevice.cpp
diff options
context:
space:
mode:
authorEike Ziller <[email protected]>2025-04-07 13:29:58 +0200
committerEike Ziller <[email protected]>2025-04-08 10:30:44 +0000
commit2ee8c1a1c229def44d727dd9651cbdb1c90abb83 (patch)
treeb329ec7f4e43494ebf91c1f716a77e10fb1b4d71 /src/plugins/ios/iosdevice.cpp
parent72da8bbce7eeb52a2716b8d24ad2df64c337b21a (diff)
iOS: Add environment variable for forcing use of polling runner
Adds QTC_FORCE_POLLINGIOSRUNNER for testing. Change-Id: I8f74b9867df413199bcf87ff08c99085012dc91c Reviewed-by: Jarek Kobus <[email protected]>
Diffstat (limited to 'src/plugins/ios/iosdevice.cpp')
-rw-r--r--src/plugins/ios/iosdevice.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/ios/iosdevice.cpp b/src/plugins/ios/iosdevice.cpp
index 9707ed636b3..356ae3562ed 100644
--- a/src/plugins/ios/iosdevice.cpp
+++ b/src/plugins/ios/iosdevice.cpp
@@ -610,6 +610,8 @@ void IosDeviceManager::monitorAvailableDevices()
bool IosDeviceManager::isDeviceCtlOutputSupported()
{
+ if (qtcEnvironmentVariableIsSet("QTC_FORCE_POLLINGIOSRUNNER"))
+ return false;
// Theoretically the devicectl from Xcode 15.4 already has the required `--console` option,
// but that is broken for some (newer?) devices (QTCREATORBUG-32637).
return instance()->m_deviceCtlVersion
@@ -618,6 +620,8 @@ bool IosDeviceManager::isDeviceCtlOutputSupported()
bool IosDeviceManager::isDeviceCtlDebugSupported()
{
+ if (qtcEnvironmentVariableIsSet("QTC_FORCE_POLLINGIOSRUNNER"))
+ return false;
// TODO this actually depends on a kit with LLDB >= lldb-1600.0.36.3 (Xcode 16.0)
// and devicectl >= 355.28 (Xcode 15.4) already has the devicectl requirements
// In principle users could install Xcode 16, and get devicectl >= 397.21 from that