Step 3 - Adding the Bridging-Header file

View original article on our GitHub

Create or edit your application's Bridging-Header file

1. Right-click your project and choose “New File…”

2. Choose iOS->Source->Header File->Next

3. Name the file "<YourProduct>-Bridging-Header.h”

where <YourProduct> should be identical to the one being used in your build's settings

4. Make sure the Bridging Header is declared in "Build Settings" with the right path


5. Import the following header file:

  1. #import <StartApp/StartApp.h> 


Was this article helpful?
0 out of 2 found this helpful
Have more questions? Submit a request


  • Avatar
    Serge Haddad

    Getting 2 errors :
    -"StartApp/StartApp.h' file not found.
    -Failed to import bridging header.

    What to do ? I put the path to the bridging header in Build Settings

  • Avatar
    Blake Eckert

    Getting the same errors. Any Solution?

  • Avatar
    Klemen Andrasic

    Yea so this is still dosen't work same problem as Serge Haddad can't find the .h file and failed to import bridging header

  • Avatar
    Giancarlo Pukas
    Anyone figure it out yet? having same issue
  • Avatar
    Klemen Andrasic
    yes @Giancarlo Pukas here is the fix to this problem using the new Xcode 7.2 and swift 2 You actually have to copy the StartApp SDK files to your project directory in order for the xCode to find them. If you don't copy them there you get the error that i got: - Can't find the header location - Can't find file I have also had to edit the "Framework Search Paths" to have the "$(PROJECT_DIR)" so that Xcode searches for the frameworks in your project directory (i don't know if this was necessary, but just to be sure). You find the Framework Search Paths under the Build Settings. TL:DR copy the framework of the StartApp to your project folder and edit build settings to make the path of custom frameworks to your project folder.
  • Avatar
    fouad kouidmir

    Hi, I am having this error : Bridging header does not exist.
    Can you help please !