简体   繁体   中英

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

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.

In app's build setting, the header path had paths specific to framework's headers. Once I removed those header paths pointing to the objective C framework, the issue is resolved.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM