Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bridging headers not supported #32

Open
jamiedust opened this issue Jul 11, 2017 · 4 comments
Open

Bridging headers not supported #32

jamiedust opened this issue Jul 11, 2017 · 4 comments

Comments

@jamiedust
Copy link

Hi, I am trying to build an application using the CLI but am getting the error:

<unknown>:0: error: using bridging headers with framework targets is unsupported

When I remove the SWIFT_OBJC_BRIDGING_HEADER setting I no longer get this error, but get missing framework errors (my plugin includes some Cocoapod dependencies).

I can build and archive in Xcode with no problem, it is only command line builds that error like this (but I would like this to run on a CI server).

I have followed your README and have a bridging header file in my plugin.

@mzealey
Copy link

mzealey commented Apr 10, 2018

I have this issue too, did you ever get a resolution?

@eladnava
Copy link
Contributor

eladnava commented Apr 11, 2018

Exact same issue here. It happens when I include a Swift CocoaPods framework dependency in my plugin.xml.

@jamiedust
Copy link
Author

Hi, I never managed to resolve this issue, for a while I just did all my builds manually. The app this was required for was actually retired so in the end I never needed to solve it. I would love to know what the problem was though!

@eladnava
Copy link
Contributor

eladnava commented May 1, 2018

Hi @jamiedust,
I ended up manually including the compiled framework's .swift source files and working around the issue that way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants