diff options
Diffstat (limited to 'src/plugins/ios/iostoolhandler.cpp')
-rw-r--r-- | src/plugins/ios/iostoolhandler.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/ios/iostoolhandler.cpp b/src/plugins/ios/iostoolhandler.cpp index 7a4ffe9f50..26de448afb 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; } |