Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-16007] External import statements in swiftinterface doesn't respect -fmodule-map-file compiler option #58268

Closed
Kudo opened this issue Mar 17, 2022 · 1 comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself

Comments

@Kudo
Copy link

Kudo commented Mar 17, 2022

Previous ID SR-16007
Radar None
Original Reporter @Kudo
Type Bug

Attachment: Download

Environment

Xcode 13.3 (13E113)

Swift 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)

Additional Detail from JIRA
Votes 1
Component/s Compiler
Labels Bug
Assignee None
Priority Medium

md5: 2dab302ce3ff14775ecf45448deaa288

Issue Description:

Hi everyone,

I came across a compiler issue for `.swiftinterface` with external import dependencies. The dependency is an Objective-C module with custom modulemap. Typically, we can use the `-fmodule-map-file` compiler option to specify custom modulemap. This is also heavily used in CocoaPods. However, `.swiftinterface` module resolution seems not support this option.

To demonstrate the issue, I have a minimal reproducible example at https://github.com/Kudo/Swift-Module-Issue. Although it's getting little complicated, if there's anything unclear, please let me know. Thanks!

@Kudo
Copy link
Author

Kudo commented Sep 28, 2022

close in favor of #61335

@Kudo Kudo closed this as completed Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself
Projects
None yet
Development

No branches or pull requests

1 participant