Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

more hacks, don't worry about sdk versions always attempt default

  • Loading branch information...
commit 40edef639f8bd80d8a6415e34afaf16cecdec270 1 parent 71362d9
@aktowns aktowns authored
Showing with 11 additions and 11 deletions.
  1. +11 −11 Source/Launcher/LauncherSimClient.m
View
22 Source/Launcher/LauncherSimClient.m
@@ -113,18 +113,18 @@ - (void) launch {
}
/* Load the SDK root */
- if (sdk != nil) {
- sdkRoot = [C(DTiPhoneSimulatorSystemRoot) rootWithSDKVersion: sdk.version];
- if (sdkRoot == nil) {
- NSString *fmt = NSLocalizedString(@"The iPhoneSimulator %@ SDK was not found. Please install the SDK and try again.",
- @"SDK load failure alert info");
- NSLog(@"Can't find SDK system root for version %@\n", sdk.version);
- [self displayLaunchError: [NSString stringWithFormat: fmt, sdk.version]];
- return;
- }
- } else {
+// if (sdk != nil) {
+// sdkRoot = [C(DTiPhoneSimulatorSystemRoot) rootWithSDKVersion: sdk.version];
+// if (sdkRoot == nil) {
+// NSString *fmt = NSLocalizedString(@"The iPhoneSimulator %@ SDK was not found. Please install the SDK and try again.",
+// @"SDK load failure alert info");
+// NSLog(@"Can't find SDK system root for version %@\n", sdk.version);
+// [self displayLaunchError: [NSString stringWithFormat: fmt, sdk.version]];
+// return;
+// }
+// } else {
sdkRoot = [C(DTiPhoneSimulatorSystemRoot) defaultRoot];
- }
+// }
NSLog(@"SDK Root: %@\n", sdkRoot);
Please sign in to comment.
Something went wrong with that request. Please try again.