Umbrella header not found.Could not build Objective C module. Swift and Objective Framework Interoperability

时间:2017-07-30 11:43:07

标签: ios objective-c swift xcode

I have a 2 frameworks.

Framework A- swift . and Framework B - objective C

Framework A makes use of framework B

I want make use of Framework A in my application. I linked them asusual. When I try to use the framework class in Objective C file in the app or import it Swift file. It throws me with following error

"Umbrella header not found" "Could not build Objective C module" for Framework B Umbrella header in that framework is public. Can anyone help me with this ?!

Whereas I am able to use the Framework B's class in Swift classes of my application directly.

1 个答案:

答案 0 :(得分:0)

在应用的构建设置中,标头路径具有特定于框架标头的路径。一旦我删除了指向目标C框架的那些标题路径,问题就解决了。