aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/ios/iostoolhandler.cpp
diff options
context:
space:
mode:
authorFawzi Mohamed <[email protected]>2014-03-14 00:07:35 +0100
committerFawzi Mohamed <[email protected]>2014-03-14 21:35:28 +0100
commit9c17e9cb72f98b17389d245725629b44bdcde3a4 (patch)
tree1e27407fee36f9bdaf86b6acc627c71c33b3bc98 /src/plugins/ios/iostoolhandler.cpp
parent64f31afd5d16299494bcf34c0ef27ea4c338acd1 (diff)
ios: simulator support for Xcode 5.1
update iossim to be based on version 1.9.0, so that we can support the new Xcode 5.1. Keep the old version around and use it with older Xcode. Task-number: QTCREATORBUG-11714 Change-Id: I4ad9f922f22367c8371b3be68eae5b6dfdf4df5c Reviewed-by: Fawzi Mohamed <[email protected]>
Diffstat (limited to 'src/plugins/ios/iostoolhandler.cpp')
-rw-r--r--src/plugins/ios/iostoolhandler.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/ios/iostoolhandler.cpp b/src/plugins/ios/iostoolhandler.cpp
index 7a4ffe9f50d..26de448afbf 100644
--- a/src/plugins/ios/iostoolhandler.cpp
+++ b/src/plugins/ios/iostoolhandler.cpp
@@ -728,7 +728,13 @@ QString IosToolHandler::iosDeviceToolPath()
QString IosToolHandler::iosSimulatorToolPath()
{
+ Utils::FileName devPath = Internal::IosConfigurations::developerPath();
+ bool version182 = devPath.appendPath(QLatin1String(
+ "Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks/iPhoneSimulatorRemoteClient.framework"))
+ .toFileInfo().exists();
QString res = Core::ICore::libexecPath() + QLatin1String("/ios/iossim");
+ if (version182)
+ res = res.append(QLatin1String("_1_8_2"));
return res;
}