3

I updated my Xcode to version 7 and now I get this error saying the bridging header doesnt exist. It tells me that its supposed to be in the /users/desktop/apps/projectname/projectname-bridging-header.h. I checked in the file and its there but xcode still gives me an error. Has anyone had this problem before and know how to fix it. Thanks!

coding22
  • 689
  • 1
  • 7
  • 28

3 Answers3

0

Make a new bridging file with a different name and link to that.

Graeme K
  • 89
  • 8
  • Still doesn't work. I don't get it the bridging header file does exist and xcode is telling me it doesnt. – coding22 Sep 18 '15 at 16:45
0

Try cleaning your build folder (Product menu, hold down option to reveal it).

I experienced issues with cocoapods 'useframeworks!' and the build folder was being used, so even after removing it and using an objc version of the library, no matter what I did the bridging header was broken.

some_id
  • 29,466
  • 62
  • 182
  • 304
0

I got it to work there was a problem in the Framework Search Paths. I had to add the destination for one of my ad networks.

coding22
  • 689
  • 1
  • 7
  • 28