9

Here I'm attaching a screenshot of created header file

I have created a new header file in xcode and named it as (projectname)-Bridging-Header.h. But I am not able to find the path and make it work. How to find the path of the file?

enter image description here

Viraj Padsala
  • 1,388
  • 1
  • 13
  • 31
imjaydeep
  • 878
  • 1
  • 11
  • 34
  • do drag and drop objective c file then automatic will be created header file. This time you can import and build or clean. I think you will get solution – Mahmudul Haque Khan Jan 06 '16 at 06:53

1 Answers1

9
  1. First go to project build setting,

  2. Then search Swift in in the search box

  3. After that you will find a Objective C Bridging Header option in Swift Compiler Code Generation Area

  4. Add the bridging header path for this Objective C Bridging Header Option

  5. Path should be Given as

Also you can find below the screen shot for the reference.

Project Name/Project Name Bridging Header.h