diff options
author | Eike Ziller <eike.ziller@qt.io> | 2018-10-22 11:28:36 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2018-10-23 09:17:35 +0000 |
commit | b605ad61bc17f1d7f3daf900e477ffb7bbaa1417 (patch) | |
tree | 11ed43236bbc771d40f83b715deb8fa11fcee23c /share/qtcreator/templates/wizards/projects/qtquickuiprototype/wizard.json | |
parent | e3021b7178fd557de5e10c55db5875e0eff73b2e (diff) |
iOS: Work around mismatch of USB serial and iOS device id
Currently we track connection of devices in the iOS plugin via USB,
using the USB serial number as a device identifier (iosdevice.h/cpp).
On the other side, iostool uses the MobileDevice framework to identify
iOS devices (iosdevicemanager.h/cpp).
The assumption that the two identifiers are the same seems to be no
longer true with the iPhone XS devices. These have a device identifier
that contains a dash that is not present in the USB serial number.
As a hotfix, just remove any dashes from the identifier on the iostool
side because we only use it for the lookup deviceId -> AMDeviceRef
anyhow.
The longer term fix should be to use MobileDevice framework for the
connection tracking of devices on the iOS plugin side as well, instead
on relying on questionable assumptions.
Change-Id: Iac3115a1c3f43a4f9e159aaa4ded1c671c55d888
Fixes: QTCREATORBUG-21291
Reviewed-by: Jason Hihn <jhihn@gmx.com>
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
Diffstat (limited to 'share/qtcreator/templates/wizards/projects/qtquickuiprototype/wizard.json')
0 files changed, 0 insertions, 0 deletions