File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -1096,15 +1096,23 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
10961096 }
10971097
10981098 private validateFramework ( libraryPath : string ) : void {
1099- const infoPlistPath = path . join (
1099+ let infoPlistPath = path . join (
11001100 libraryPath ,
11011101 constants . INFO_PLIST_FILE_NAME
11021102 ) ;
11031103 if ( ! this . $fs . exists ( infoPlistPath ) ) {
1104- this . $errors . fail (
1105- "The bundle at %s does not contain an Info.plist file." ,
1106- libraryPath
1104+ infoPlistPath = path . join (
1105+ libraryPath ,
1106+ "Resources" ,
1107+ constants . INFO_PLIST_FILE_NAME
11071108 ) ;
1109+ if ( ! this . $fs . exists ( infoPlistPath ) ) {
1110+ this . $errors . fail (
1111+ "The bundle at %s does not contain an Info.plist file." ,
1112+ libraryPath
1113+ ) ;
1114+ }
1115+
11081116 }
11091117
11101118 const plistJson = this . $plistParser . parseFileSync ( infoPlistPath ) ;
You can’t perform that action at this time.
0 commit comments