Skip to content

Commit bce934a

Browse files
committed
compiler
1 parent 5224490 commit bce934a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tasks/compiler.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Compiler.prototype.calculateDirectories = function() {
3434
case 'test':
3535
this.configuration = "Debug";
3636
this.iosSdk = "iphonesimulator";
37+
this.iosDestination = "platform=iOS Simulator,name=iPhone 6s,OS=latest"
3738
break;
3839
case 'staging':
3940
this.configuration = "Staging";
@@ -93,6 +94,7 @@ Compiler.prototype.buildIos = function() {
9394
to_run += " -workspace " + this.platformDirectory + "/Sample.xcworkspace";
9495
to_run += " -scheme \"" + scheme + "\"";
9596
to_run += " -sdk " + this.iosSdk;
97+
if (this.iosDestination) to_run += " -destination '" + this.iosDestination + "'";
9698
to_run += " -configuration " + this.configuration;
9799
to_run += " OBJROOT=" + this.buildDirectory;
98100
to_run += " SYMROOT=" + this.buildDirectory;

0 commit comments

Comments
 (0)