File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -377,7 +377,7 @@ - (int)launchApp:(NSString *)path withFamily:(NSString *)family
377
377
DTiPhoneSimulatorApplicationSpecifier *appSpec;
378
378
DTiPhoneSimulatorSessionConfig *config;
379
379
DTiPhoneSimulatorSession *session;
380
- NSError *error;
380
+ NSError *error = nil ;
381
381
382
382
NSFileManager *fileManager = [[[NSFileManager alloc ] init ] autorelease ];
383
383
if (!startOnly && ![fileManager fileExistsAtPath: path]) {
@@ -464,7 +464,7 @@ - (int)launchApp:(NSString *)path withFamily:(NSString *)family
464
464
}
465
465
466
466
if (![session requestStartWithConfig: config timeout: timeout error: &error]) {
467
- nsprintf (@" Could not start simulator session: %@ " , error);
467
+ nsprintf (@" Could not start simulator session: %@ " , [ error localizedDescription ] );
468
468
return EXIT_FAILURE;
469
469
}
470
470
You can’t perform that action at this time.
0 commit comments