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

后端 未结 22 2019
盖世英雄少女心
盖世英雄少女心 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:57

    I had the same issue and none of the suggested answers helped in my case so I'm leaving this here in case someone has the same problem.

    I had added a "Run script" in "Build phases" but ended up removing it and that's when I started getting the error.

    My solution ended up having to clean the project, rebuild my framework and then my app project built correctly.

提交回复
热议问题