@@ -435,7 +435,7 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
435435 let platformData = this . platformData ;
436436 let projectPath = path . join ( platformData . projectRoot , this . $projectData . projectName ) ;
437437 let projectPlist = this . getInfoPlistPath ( ) ;
438- let plistContent = plist . parse ( this . $fs . readText ( projectPlist ) . wait ( ) ) ;
438+ let plistContent = plist . parse ( this . $fs . readText ( projectPlist ) ) ;
439439 let storyName = plistContent [ "UILaunchStoryboardName" ] ;
440440 this . $logger . trace ( `Examining ${ projectPlist } UILaunchStoryboardName: "${ storyName } ".` ) ;
441441 if ( storyName !== "LaunchScreen" ) {
@@ -590,7 +590,7 @@ We will now place an empty obsolete compatability white screen LauncScreen.xib f
590590 this . $logger . trace ( "Schedule merge plist at: " + plistPath ) ;
591591 session . patch ( {
592592 name : path . relative ( projectDir , plistPath ) ,
593- read : ( ) => this . $fs . readText ( plistPath ) . wait ( )
593+ read : ( ) => this . $fs . readText ( plistPath )
594594 } ) ;
595595 } ;
596596
@@ -696,7 +696,7 @@ We will now place an empty obsolete compatability white screen LauncScreen.xib f
696696 public afterPrepareAllPlugins ( ) : IFuture < void > {
697697 return ( ( ) => {
698698 if ( this . $fs . exists ( this . projectPodFilePath ) ) {
699- let projectPodfileContent = this . $fs . readText ( this . projectPodFilePath ) . wait ( ) ;
699+ let projectPodfileContent = this . $fs . readText ( this . projectPodFilePath ) ;
700700 this . $logger . trace ( "Project Podfile content" ) ;
701701 this . $logger . trace ( projectPodfileContent ) ;
702702
@@ -772,7 +772,7 @@ We will now place an empty obsolete compatability white screen LauncScreen.xib f
772772
773773 private replaceFileContent ( file : string ) : IFuture < void > {
774774 return ( ( ) => {
775- let fileContent = this . $fs . readText ( file ) . wait ( ) ;
775+ let fileContent = this . $fs . readText ( file ) ;
776776 let replacedContent = helpers . stringReplaceAll ( fileContent , IOSProjectService . IOS_PROJECT_NAME_PLACEHOLDER , this . $projectData . projectName ) ;
777777 this . $fs . writeFile ( file , replacedContent ) . wait ( ) ;
778778 } ) . future < void > ( ) ( ) ;
@@ -840,9 +840,9 @@ We will now place an empty obsolete compatability white screen LauncScreen.xib f
840840 return ( ( ) => {
841841 let pluginPodFilePath = path . join ( pluginPlatformsFolderPath , "Podfile" ) ;
842842 if ( this . $fs . exists ( pluginPodFilePath ) ) {
843- let pluginPodFileContent = this . $fs . readText ( pluginPodFilePath ) . wait ( ) ,
843+ let pluginPodFileContent = this . $fs . readText ( pluginPodFilePath ) ,
844844 pluginPodFilePreparedContent = this . buildPodfileContent ( pluginPodFilePath , pluginPodFileContent ) ,
845- projectPodFileContent = this . $fs . exists ( this . projectPodFilePath ) ? this . $fs . readText ( this . projectPodFilePath ) . wait ( ) : "" ;
845+ projectPodFileContent = this . $fs . exists ( this . projectPodFilePath ) ? this . $fs . readText ( this . projectPodFilePath ) : "" ;
846846
847847 if ( ! ~ projectPodFileContent . indexOf ( pluginPodFilePreparedContent ) ) {
848848 let podFileHeader = this . $cocoapodsService . getPodfileHeader ( this . $projectData . projectName ) ,
@@ -904,8 +904,8 @@ We will now place an empty obsolete compatability white screen LauncScreen.xib f
904904 return ( ( ) => {
905905 let pluginPodFilePath = path . join ( pluginPlatformsFolderPath , "Podfile" ) ;
906906 if ( this . $fs . exists ( pluginPodFilePath ) && this . $fs . exists ( this . projectPodFilePath ) ) {
907- let pluginPodFileContent = this . $fs . readText ( pluginPodFilePath ) . wait ( ) ;
908- let projectPodFileContent = this . $fs . readText ( this . projectPodFilePath ) . wait ( ) ;
907+ let pluginPodFileContent = this . $fs . readText ( pluginPodFilePath ) ;
908+ let projectPodFileContent = this . $fs . readText ( this . projectPodFilePath ) ;
909909 let contentToRemove = this . buildPodfileContent ( pluginPodFilePath , pluginPodFileContent ) ;
910910 projectPodFileContent = helpers . stringReplaceAll ( projectPodFileContent , contentToRemove , "" ) ;
911911 if ( projectPodFileContent . trim ( ) === `use_frameworks!${ os . EOL } ${ os . EOL } target "${ this . $projectData . projectName } " do${ os . EOL } ${ os . EOL } end` ) {
@@ -1081,7 +1081,7 @@ We will now place an empty obsolete compatability white screen LauncScreen.xib f
10811081 let teamIds : any = { } ;
10821082 for ( let file of files ) {
10831083 let filePath = path . join ( dir , file ) ;
1084- let data = this . $fs . readText ( filePath , "utf8" ) . wait ( ) ;
1084+ let data = this . $fs . readText ( filePath , "utf8" ) ;
10851085 let teamId = this . getProvisioningProfileValue ( "TeamIdentifier" , data ) ;
10861086 let teamName = this . getProvisioningProfileValue ( "TeamName" , data ) ;
10871087 if ( teamId ) {
0 commit comments