Swift Framework: Umbrella header '[…].h' not found

后端 未结 22 2148
盖世英雄少女心
盖世英雄少女心 2020-12-07 11:49

In a custom framework containing both Objective-C and Swift code, the Swift compiler throws the following error:

[build_pat         


        
22条回答
  •  伪装坚强ぢ
    2020-12-07 11:58

    This will happen, when the Always Search User Paths setting is enabled for the Framework target.

    Setting it to No will resolve that error.

    IMHO this is a bug in the Swift Compiler and I have filed a radar with Apple.
    See rdar://21038443

提交回复
热议问题