@@ -399,7 +399,7 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
399
399
} ) ;
400
400
} ;
401
401
402
- const allPlugins = await this . getAllInstalledPlugins ( projectData ) ;
402
+ const allPlugins = this . getAllProductionPlugins ( projectData ) ;
403
403
for ( const plugin of allPlugins ) {
404
404
const pluginInfoPlistPath = path . join ( plugin . pluginPlatformsFolderPath ( IOSProjectService . IOS_PLATFORM_NAME ) , this . getPlatformData ( projectData ) . configurationFileName ) ;
405
405
makePatch ( pluginInfoPlistPath ) ;
@@ -452,8 +452,8 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
452
452
this . $fs . writeFile ( this . getPlatformData ( projectData ) . configurationFilePath , plistContent ) ;
453
453
}
454
454
455
- private getAllInstalledPlugins ( projectData : IProjectData ) : Promise < IPluginData [ ] > {
456
- return ( < IPluginsService > this . $injector . resolve ( "pluginsService" ) ) . getAllInstalledPlugins ( projectData ) ;
455
+ private getAllProductionPlugins ( projectData : IProjectData ) : IPluginData [ ] {
456
+ return ( < IPluginsService > this . $injector . resolve ( "pluginsService" ) ) . getAllProductionPlugins ( projectData ) ;
457
457
}
458
458
459
459
private replace ( name : string ) : string {
@@ -510,7 +510,7 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
510
510
511
511
public async handleNativeDependenciesChange ( projectData : IProjectData , opts : IRelease ) : Promise < void > {
512
512
const platformData = this . getPlatformData ( projectData ) ;
513
- const pluginsData = await this . getAllInstalledPlugins ( projectData ) ;
513
+ const pluginsData = this . getAllProductionPlugins ( projectData ) ;
514
514
this . setProductBundleIdentifier ( projectData ) ;
515
515
516
516
await this . applyPluginsCocoaPods ( pluginsData , projectData , platformData ) ;
@@ -763,8 +763,7 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
763
763
this . $fs . deleteFile ( pluginsXcconfigFilePath ) ;
764
764
}
765
765
766
- const pluginsService = < IPluginsService > this . $injector . resolve ( "pluginsService" ) ;
767
- const allPlugins : IPluginData [ ] = await pluginsService . getAllInstalledPlugins ( projectData ) ;
766
+ const allPlugins : IPluginData [ ] = this . getAllProductionPlugins ( projectData ) ;
768
767
for ( const plugin of allPlugins ) {
769
768
const pluginPlatformsFolderPath = plugin . pluginPlatformsFolderPath ( IOSProjectService . IOS_PLATFORM_NAME ) ;
770
769
const pluginXcconfigFilePath = path . join ( pluginPlatformsFolderPath , BUILD_XCCONFIG_FILE_NAME ) ;
0 commit comments