Swift to ObjC Bridging Header - marked as error

Screen Shot 2015-05-28 at 13.21.14.png

Please not: this is about Swift -> ObC Header - not the other way around!

Xcode generates a Swift to ObjC Bridging Header automatically and puts it into the derived data folder for usage. In case the project name as an illegal character (as "." or "_") these are changed zu "_" (underscore).

My current project is called "ios-lunchbox". The Swift->ObjC Header is called "ios_lunchbox-Swift.h"
AppCode doesn't see the bridging header and marks it as an error. But compiling works, since LLVM seems to know what to do.

Is this a bug (or missing feature) or is there a way to get around this?

Tatiana Shabaeva
Comment actions Permalink


We have such issue in our tracker: https://youtrack.jetbrains.com/issue/OC-10856 . Feel free to upvote.

Comment actions Permalink

Thanks Tatiana :)


Please sign in to leave a comment.