@@ -399,7 +399,7 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
399399 } ) ;
400400 } ;
401401
402- const allPlugins = await this . getAllInstalledPlugins ( projectData ) ;
402+ const allPlugins = this . getAllProductionPlugins ( projectData ) ;
403403 for ( const plugin of allPlugins ) {
404404 const pluginInfoPlistPath = path . join ( plugin . pluginPlatformsFolderPath ( IOSProjectService . IOS_PLATFORM_NAME ) , this . getPlatformData ( projectData ) . configurationFileName ) ;
405405 makePatch ( pluginInfoPlistPath ) ;
@@ -452,8 +452,8 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
452452 this . $fs . writeFile ( this . getPlatformData ( projectData ) . configurationFilePath , plistContent ) ;
453453 }
454454
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 ) ;
457457 }
458458
459459 private replace ( name : string ) : string {
@@ -510,7 +510,7 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
510510
511511 public async handleNativeDependenciesChange ( projectData : IProjectData , opts : IRelease ) : Promise < void > {
512512 const platformData = this . getPlatformData ( projectData ) ;
513- const pluginsData = await this . getAllInstalledPlugins ( projectData ) ;
513+ const pluginsData = this . getAllProductionPlugins ( projectData ) ;
514514 this . setProductBundleIdentifier ( projectData ) ;
515515
516516 await this . applyPluginsCocoaPods ( pluginsData , projectData , platformData ) ;
@@ -763,8 +763,7 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
763763 this . $fs . deleteFile ( pluginsXcconfigFilePath ) ;
764764 }
765765
766- const pluginsService = < IPluginsService > this . $injector . resolve ( "pluginsService" ) ;
767- const allPlugins : IPluginData [ ] = await pluginsService . getAllInstalledPlugins ( projectData ) ;
766+ const allPlugins : IPluginData [ ] = this . getAllProductionPlugins ( projectData ) ;
768767 for ( const plugin of allPlugins ) {
769768 const pluginPlatformsFolderPath = plugin . pluginPlatformsFolderPath ( IOSProjectService . IOS_PLATFORM_NAME ) ;
770769 const pluginXcconfigFilePath = path . join ( pluginPlatformsFolderPath , BUILD_XCCONFIG_FILE_NAME ) ;
0 commit comments