diff --git a/lib/services/ios-project-service.ts b/lib/services/ios-project-service.ts index c3db103ba7..982125ac38 100644 --- a/lib/services/ios-project-service.ts +++ b/lib/services/ios-project-service.ts @@ -646,6 +646,9 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ const group = this.getRootGroup(groupName, sourceFolderPath); project.addPbxGroup(group.files, group.name, group.path, null, { isMain: true, filesRelativeToProject: true }); project.addToHeaderSearchPaths(group.path); + if (!this.$fs.exists(path.join(sourceFolderPath, "module.modulemap"))) { + this.$logger.warn(`warning: Directory ${sourceFolderPath} with native iOS source code doesn't contain a modulemap file. Metadata for it will not be generated and it will not be accessible from JavaScript. To learn more see https://docs.nativescript.org/guides/ios-source-code`); + } this.savePbxProj(project, projectData); }