Skip to content

Commit 8de2558

Browse files
Merge pull request #4728 from NativeScript/fatme/fix-deploy
fix: fix deploy on iOS devices
2 parents de7d52c + bb3486f commit 8de2558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/controllers/deploy-controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export class DeployController {
1010
const { buildData, deviceDescriptors } = data;
1111

1212
const executeAction = async (device: Mobile.IDevice) => {
13-
await this.$buildController.prepareAndBuild(buildData);
13+
await this.$buildController.prepareAndBuild({ ...buildData, buildForDevice: !device.isEmulator });
1414
await this.$deviceInstallAppService.installOnDevice(device, buildData);
1515
};
1616

0 commit comments

Comments
 (0)