1

bridging header '/Users/bobby/Desktop/Project/Project_Name/Project_Name-Bridging-Header.h' does not exist

I am getting this error, trying to use core data to save data in my iphone app. It Shows up even when I put in a bridging header, though I shouldn't need to because it's on swift.

2 Answers2

3

Try this:

Go to targets -> Build Settings -> Swift Compiler - Code Generation -> Objective C Bridging Header and Double click on it and do this:

enter image description here

Hope this will help you.

Community
  • 1
  • 1
Dharmesh Kheni
  • 71,228
  • 33
  • 160
  • 165
0
  1. Delete any bridging header in Navigator
  2. Delete any path in targets -> Build Settings -> Swift Compiler - Code Generation -> Objective C Bridging Header, it should look like this:

enter image description here

fujianjin6471
  • 5,168
  • 1
  • 36
  • 32