File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -217,9 +217,9 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
217
217
} ) . future < void > ( ) ( ) ;
218
218
}
219
219
220
- public buildForDeploy ( platform : string ) : IFuture < void > {
220
+ public buildForDeploy ( platform : string , buildConfig ?: IBuildConfig ) : IFuture < void > {
221
221
if ( this . $options . release ) {
222
- return this . buildProject ( this . platformData . projectRoot ) ;
222
+ return this . buildProject ( this . platformData . projectRoot , buildConfig ) ;
223
223
}
224
224
225
225
let devicesArchitectures = _ ( this . $devicesService . getDeviceInstances ( ) )
@@ -237,7 +237,10 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
237
237
architectures . push ( 'ONLY_ACTIVE_ARCH=NO' ) ;
238
238
}
239
239
240
- return this . buildProject ( this . platformData . projectRoot , { architectures : architectures } ) ;
240
+ buildConfig = buildConfig || { } ;
241
+ buildConfig . architectures = architectures ;
242
+
243
+ return this . buildProject ( this . platformData . projectRoot , buildConfig ) ;
241
244
}
242
245
243
246
public isPlatformPrepared ( projectRoot : string ) : IFuture < boolean > {
You can’t perform that action at this time.
0 commit comments