forked from qt-creator/qt-creator
iOS: fix simulator selection
get simulator type and SDK version dynamically from the available ones, and let the user choose which one to use. This fixes the static solution that did break with Xcode 6 Change-Id: I5cb2be68b9ea8736fc880cf3dd9d39d77f030293 Reviewed-by: Fawzi Mohamed <fawzi.mohamed@theqtcompany.com>
This commit is contained in:
committed by
Fawzi Mohamed
parent
a3c9104e35
commit
e757643690
@@ -31,8 +31,6 @@
|
||||
#ifndef IOSTOOLHANDLER_H
|
||||
#define IOSTOOLHANDLER_H
|
||||
|
||||
#include "iosconstants.h"
|
||||
|
||||
#include <QObject>
|
||||
#include <QMap>
|
||||
#include <QString>
|
||||
@@ -41,7 +39,10 @@
|
||||
|
||||
|
||||
namespace Ios {
|
||||
namespace Internal { class IosToolHandlerPrivate; }
|
||||
namespace Internal {
|
||||
class IosToolHandlerPrivate;
|
||||
class IosDeviceType;
|
||||
}
|
||||
|
||||
class IosToolHandler : public QObject
|
||||
{
|
||||
@@ -61,7 +62,7 @@ public:
|
||||
static QString iosDeviceToolPath();
|
||||
static QString iosSimulatorToolPath();
|
||||
|
||||
explicit IosToolHandler(IosDeviceType::Enum = IosDeviceType::IosDevice, QObject *parent = 0);
|
||||
explicit IosToolHandler(const Internal::IosDeviceType &type, QObject *parent = 0);
|
||||
~IosToolHandler();
|
||||
void requestTransferApp(const QString &bundlePath, const QString &deviceId, int timeout = 1000);
|
||||
void requestRunApp(const QString &bundlePath, const QStringList &extraArgs, RunKind runType,
|
||||
|
||||
Reference in New Issue
Block a user