forked from qt-creator/qt-creator
iOS: Fix invalid device asserts during automatic kit update
Change-Id: I744022ca4441880995f9b965bf7092d6ec985886 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -289,7 +289,10 @@ void IosConfigurations::updateAutomaticKitList()
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
Core::Id pDeviceType = deviceId(sdk.directoryName);
|
Core::Id pDeviceType = deviceId(sdk.directoryName);
|
||||||
QTC_ASSERT(pDeviceType.isValid(), continue);
|
if (!pDeviceType.isValid()) {
|
||||||
|
qCDebug(kitSetupLog) << "Unsupported/Invalid device type" << sdk.directoryName;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
for (BaseQtVersion *qtVersion : qtVersions) {
|
for (BaseQtVersion *qtVersion : qtVersions) {
|
||||||
qCDebug(kitSetupLog) << " - Qt version:" << qtVersion->displayName();
|
qCDebug(kitSetupLog) << " - Qt version:" << qtVersion->displayName();
|
||||||
|
Reference in New Issue
Block a user