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

后端 未结 22 2226
盖世英雄少女心
盖世英雄少女心 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条回答
  •  猫巷女王i
    2020-12-07 12:10

    One more solution: After renaming a folder, the old location might still be listed in the project file for the .h file, even if you updated the location via Xcode's side-bar. This old location causes the umbrella-header error.

    Simple solution: Remove the reference to the .h file, and re-add. (and then remember to make it public again!)

提交回复
热议问题