0

After successfully using my Xcode created Objective-C bridging header Xcode now returns a Swift Compiler error complaining that the bridging header does not exist. enter image description here I had been able to use the Xcode created bridging header all day yesterday before Xcode generated this error when the project was compiling. I have attempted to resolve the issue with the solutions here but have been unable to resolve the issue. enter image description here

Any suggestions? Thanks in advance.

Christophe
  • 68,716
  • 7
  • 72
  • 138

1 Answers1

0

I moved my project location and Xcode (v 6.4 ) still looked for the bridging header in the old folder location which was weird. The only way I fixed it was by using an absolute path to the bridging header (@Aggressor's solution of just dragging the file into the bridging header field populated the field with an absolute path) . Really hoping that later version of Xcode fix this - it seems like a stupid IDE bug to me...

  • Also ensure to check your project Tests target (if you have one) and do the same there
dijipiji
  • 3,063
  • 1
  • 26
  • 21