diff --git a/lib/services/ios-project-service.ts b/lib/services/ios-project-service.ts index c308810f32..fd8e888719 100644 --- a/lib/services/ios-project-service.ts +++ b/lib/services/ios-project-service.ts @@ -238,7 +238,7 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ if (path.extname(frameworkPath) === ".xcframework") { let isDynamic = true; - const subDirs = this.$fs.readDirectory(frameworkPath).filter(entry => this.$fs.getFsStats(entry).isDirectory()); + const subDirs = this.$fs.readDirectory(frameworkPath).filter(entry => this.$fs.getFsStats(path.join(frameworkPath, entry)).isDirectory()); for (const subDir of subDirs) { const singlePlatformFramework = path.join(subDir, frameworkName + ".framework"); if (this.$fs.exists(singlePlatformFramework)) {