File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,11 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
129129 this . interpolateConfigurationFile ( infoPlistFilePath ) . wait ( ) ;
130130
131131 let projectRootFilePath = path . join ( this . platformData . projectRoot , IOSProjectService . IOS_PROJECT_NAME_PLACEHOLDER ) ;
132- this . replaceFileName ( "-Info.plist" , projectRootFilePath ) . wait ( ) ;
132+ // Starting with NativeScript for iOS 1.6.0, the project Info.plist file resides not in the platform project,
133+ // but in the hello-world app template as a platform specific resource.
134+ if ( this . $fs . exists ( path . join ( projectRootFilePath , IOSProjectService . IOS_PROJECT_NAME_PLACEHOLDER + "-Info.plist" ) ) . wait ( ) ) {
135+ this . replaceFileName ( "-Info.plist" , projectRootFilePath ) . wait ( ) ;
136+ }
133137 this . replaceFileName ( "-Prefix.pch" , projectRootFilePath ) . wait ( ) ;
134138 this . replaceFileName ( IOSProjectService . XCODE_PROJECT_EXT_NAME , this . platformData . projectRoot ) . wait ( ) ;
135139
You can’t perform that action at this time.
0 commit comments