Currently, if a C target has header and source files in the same folder, without the required include dir, the target will build. But depending on it from a Swift target with generate an unhelpful error message:
<unknown>:0: error: module map file '/Users/david/Projects/GRDB.swift/.build/x86_64-apple-macosx/debug/SQLCipher.build/module.modulemap' not found
<unknown>:0: error: module map file '/Users/david/Projects/GRDB.swift/.build/x86_64-apple-macosx/debug/SQLCipher.build/module.modulemap' not found
<unknown>:0: error: missing required module 'SwiftShims'
The error message should be improved and trigger when building the C target.
Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | Package Manager | |Labels | Bug | |Assignee | None | |Priority | Medium | md5: cf94b20028258c06eeacb2664750dd0aIssue Description:
Currently, if a C target has header and source files in the same folder, without the required include dir, the target will build. But depending on it from a Swift target with generate an unhelpful error message:
The error message should be improved and trigger when building the C target.