@@ -771,7 +771,7 @@ We will now place an empty obsolete compatability white screen LauncScreen.xib f
771771 this . $logger . trace ( `Images to remove from xcode project: ${ imagesToRemove . join ( ", " ) } ` ) ;
772772 _ . each ( imagesToRemove , image => project . removeResourceFile ( path . join ( this . getAppResourcesDestinationDirectoryPath ( projectData ) , image ) ) ) ;
773773
774- await this . prepareNativeSourceCode ( "src" , path . join ( projectData . appDirectoryPath , constants . APP_RESOURCES_FOLDER_NAME , this . getPlatformData ( projectData ) . normalizedPlatformName , "src" ) , projectData ) ;
774+ await this . prepareNativeSourceCode ( constants . TNS_NATIVE_SOURCE_GROUP_NAME , path . join ( projectData . getAppResourcesDirectoryPath ( ) , constants . APP_RESOURCES_FOLDER_NAME , this . getPlatformData ( projectData ) . normalizedPlatformName , constants . NATIVE_SOURCE_FOLDER ) , projectData ) ;
775775
776776 this . savePbxProj ( project , projectData ) ;
777777 }
@@ -786,22 +786,22 @@ We will now place an empty obsolete compatability white screen LauncScreen.xib f
786786 filterFile ( constants . PODFILE_NAME ) ;
787787
788788 // src folder should not be copied as the pbxproject will have references to its files
789- this . $fs . deleteDirectory ( path . join ( appResourcesDirectoryPath , this . getPlatformData ( projectData ) . normalizedPlatformName , "src" ) ) ;
789+ this . $fs . deleteDirectory ( path . join ( appResourcesDirectoryPath , this . getPlatformData ( projectData ) . normalizedPlatformName , constants . NATIVE_SOURCE_FOLDER ) ) ;
790790
791791 this . $fs . deleteDirectory ( this . getAppResourcesDestinationDirectoryPath ( projectData ) ) ;
792792 }
793793
794- public async processConfigurationFilesFromAppResources ( release : boolean , projectData : IProjectData , installPods : boolean ) : Promise < void > {
795- await this . mergeInfoPlists ( { release } , projectData ) ;
794+ public async processConfigurationFilesFromAppResources ( projectData : IProjectData , opts : { release : boolean , installPods : boolean } ) : Promise < void > {
795+ await this . mergeInfoPlists ( { release : opts . release } , projectData ) ;
796796 await this . $iOSEntitlementsService . merge ( projectData ) ;
797- await this . mergeProjectXcconfigFiles ( release , projectData ) ;
797+ await this . mergeProjectXcconfigFiles ( opts . release , projectData ) ;
798798 for ( const pluginData of await this . getAllInstalledPlugins ( projectData ) ) {
799799 await this . $pluginVariablesService . interpolatePluginVariables ( pluginData , this . getPlatformData ( projectData ) . configurationFilePath , projectData . projectDir ) ;
800800 }
801801
802802 this . $pluginVariablesService . interpolateAppIdentifier ( this . getPlatformData ( projectData ) . configurationFilePath , projectData . projectIdentifiers . ios ) ;
803803
804- if ( installPods ) {
804+ if ( opts . installPods ) {
805805 await this . installPodsIfAny ( projectData ) ;
806806 }
807807 }
0 commit comments