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
217217 } ) . future < void > ( ) ( ) ;
218218 }
219219
220- public buildForDeploy ( platform : string ) : IFuture < void > {
220+ public buildForDeploy ( platform : string , buildConfig ?: IBuildConfig ) : IFuture < void > {
221221 if ( this . $options . release ) {
222- return this . buildProject ( this . platformData . projectRoot ) ;
222+ return this . buildProject ( this . platformData . projectRoot , buildConfig ) ;
223223 }
224224
225225 let devicesArchitectures = _ ( this . $devicesService . getDeviceInstances ( ) )
@@ -237,7 +237,10 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
237237 architectures . push ( 'ONLY_ACTIVE_ARCH=NO' ) ;
238238 }
239239
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 ) ;
241244 }
242245
243246 public isPlatformPrepared ( projectRoot : string ) : IFuture < boolean > {
You can’t perform that action at this time.
0 commit comments