Skip to content

Commit de89c09

Browse files
author
farfromrefuge
committed
Merge remote-tracking branch 'origin/master'
2 parents 0793d44 + 16b2945 commit de89c09

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

lib/services/ios-project-service.ts

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,15 +1103,23 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
11031103
}
11041104

11051105
private validateFramework(libraryPath: string): void {
1106-
const infoPlistPath = path.join(
1106+
let infoPlistPath = path.join(
11071107
libraryPath,
11081108
constants.INFO_PLIST_FILE_NAME
11091109
);
11101110
if (!this.$fs.exists(infoPlistPath)) {
1111-
this.$errors.fail(
1112-
"The bundle at %s does not contain an Info.plist file.",
1113-
libraryPath
1111+
infoPlistPath = path.join(
1112+
libraryPath,
1113+
"Resources",
1114+
constants.INFO_PLIST_FILE_NAME
11141115
);
1116+
if (!this.$fs.exists(infoPlistPath)) {
1117+
this.$errors.fail(
1118+
"The bundle at %s does not contain an Info.plist file.",
1119+
libraryPath
1120+
);
1121+
}
1122+
11151123
}
11161124

11171125
const plistJson = this.$plistParser.parseFileSync(infoPlistPath);

0 commit comments

Comments
 (0)