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 @@ -131,7 +131,11 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
131131 this . interpolateConfigurationFile ( infoPlistFilePath ) . wait ( ) ;
132132
133133 let projectRootFilePath = path . join ( this . platformData . projectRoot , IOSProjectService . IOS_PROJECT_NAME_PLACEHOLDER ) ;
134- this . replaceFileName ( "-Info.plist" , projectRootFilePath ) . wait ( ) ;
134+ // Starting with NativeScript for iOS 1.6.0, the project Info.plist file resides not in the platform project,
135+ // but in the hello-world app template as a platform specific resource.
136+ if ( this . $fs . exists ( path . join ( projectRootFilePath , IOSProjectService . IOS_PROJECT_NAME_PLACEHOLDER + "-Info.plist" ) ) . wait ( ) ) {
137+ this . replaceFileName ( "-Info.plist" , projectRootFilePath ) . wait ( ) ;
138+ }
135139 this . replaceFileName ( "-Prefix.pch" , projectRootFilePath ) . wait ( ) ;
136140 this . replaceFileName ( IOSProjectService . XCODE_PROJECT_EXT_NAME , this . platformData . projectRoot ) . wait ( ) ;
137141
You can’t perform that action at this time.
0 commit comments