You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53)
Target: x86_64-apple-darwin19.6.0
Additional Detail from JIRA
Votes
0
Component/s
Compiler
Labels
Bug
Assignee
None
Priority
Medium
md5: ff75f9655f0a8f6168e6a3ff0a1d6d33
duplicates:
SR-7051 Compiler fails with "Module not found" error
Issue Description:
In a mixed app target, if I import a framework and then add an extension to one of the framework's classes, the generated Obj-C header adds an import to the framework. This is true even if the extension is private, or if every declaration in it is @nonobjc. This is even true if the extension is completely empty.
Environment
Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53)
Target: x86_64-apple-darwin19.6.0
Additional Detail from JIRA
md5: ff75f9655f0a8f6168e6a3ff0a1d6d33
duplicates:
Issue Description:
In a mixed app target, if I import a framework and then add an extension to one of the framework's classes, the generated Obj-C header adds an import to the framework. This is true even if the extension is
private
, or if every declaration in it is@nonobjc
. This is even true if the extension is completely empty.Notice how it's importing
WebKit
even though this header contains literally no declarations.The text was updated successfully, but these errors were encountered: