File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -426,11 +426,12 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
426426
427427 private prepareCocoapods ( pluginPlatformsFolderPath : string ) : IFuture < void > {
428428 return ( ( ) => {
429- if ( ! this . $fs . exists ( this . projectPodFilePath ) . wait ( ) ) {
430- this . $fs . writeFile ( this . projectPodFilePath , "use_frameworks!\n" ) . wait ( ) ;
431- }
432429 let pluginPodFilePath = path . join ( pluginPlatformsFolderPath , "Podfile" ) ;
433430 if ( this . $fs . exists ( pluginPodFilePath ) . wait ( ) ) {
431+ if ( ! this . $fs . exists ( this . projectPodFilePath ) . wait ( ) ) {
432+ this . $fs . writeFile ( this . projectPodFilePath , "use_frameworks!\n" ) . wait ( ) ;
433+ }
434+
434435 let pluginPodFileContent = this . $fs . readText ( pluginPodFilePath ) . wait ( ) ;
435436 let contentToWrite = this . buildPodfileContent ( pluginPodFilePath , pluginPodFileContent ) ;
436437 this . $fs . appendFile ( this . projectPodFilePath , contentToWrite ) . wait ( ) ;
You can’t perform that action at this time.
0 commit comments