diff options
author | Fawzi Mohamed <[email protected]> | 2014-11-12 19:41:59 +0100 |
---|---|---|
committer | Fawzi Mohamed <[email protected]> | 2014-11-25 17:36:58 +0100 |
commit | e757643690b61f7377329fd363b2f1dd1e4f7505 (patch) | |
tree | b7305f0b12934c9bcca8f91d07c28ab39714df65 /src/plugins/ios/iosdevice.cpp | |
parent | a3c9104e35789a0148d11889b898464d7403f047 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/plugins/ios/iosdevice.cpp')
-rw-r--r-- | src/plugins/ios/iosdevice.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/ios/iosdevice.cpp b/src/plugins/ios/iosdevice.cpp index 01d71788b24..59667f2d3b7 100644 --- a/src/plugins/ios/iosdevice.cpp +++ b/src/plugins/ios/iosdevice.cpp @@ -29,6 +29,7 @@ ****************************************************************************/ #include "iosdevice.h" +#include "iossimulator.h" #include "iosconstants.h" #include "iosconfigurations.h" #include "iostoolhandler.h" @@ -291,7 +292,7 @@ void IosDeviceManager::deviceDisconnected(const QString &uid) void IosDeviceManager::updateInfo(const QString &devId) { - IosToolHandler *requester = new IosToolHandler(IosDeviceType::IosDevice, this); + IosToolHandler *requester = new IosToolHandler(IosDeviceType(), this); connect(requester, SIGNAL(deviceInfo(Ios::IosToolHandler*,QString,Ios::IosToolHandler::Dict)), SLOT(deviceInfo(Ios::IosToolHandler*,QString,Ios::IosToolHandler::Dict)), Qt::QueuedConnection); connect(requester, SIGNAL(finished(Ios::IosToolHandler*)), |