Skip to content

Commit 66fa28b

Browse files
authored
Merge pull request #4690 from NativeScript/fatme/build-for-device
fix: respect `--for-device` option when building for iOS device
2 parents aad09a3 + bad1fcb commit 66fa28b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/data/build-data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class BuildData extends PrepareData implements IBuildData {
1515
this.device = data.device;
1616
this.emulator = data.emulator;
1717
this.clean = data.clean;
18-
this.buildForDevice = data.buildForDevice;
18+
this.buildForDevice = data.buildForDevice || data.forDevice;
1919
this.buildOutputStdio = data.buildOutputStdio;
2020
this.outputPath = data.outputPath;
2121
this.copyTo = data.copyTo;

0 commit comments

Comments
 (0)