0

I have following lines on my Bridging-Header.h

//
//  Use this file to import your target's public headers that you would like to expose to Swift.
//

#import "FMDB.h"
#import "UAProgressView.h"
#import "ASValuePopUpView.h"
#import "ASValueTrackingSlider.h"
#import "JZMultiChoicesCircleButton.h"
#import "VYPlayIndicator.h"

#import <AVFoundation/AVFoundation.h>

It works great with no errors when I run it on the simulator. But when I run it on the device, it highlights with error "'FMDB.h' file not found". If you remove the line "for testing purpose" the error goes to the next line and so on.

What could be the problem when I run it on the device????!!!

tskulbru
  • 2,336
  • 1
  • 20
  • 38
Mr.KLD
  • 2,632
  • 2
  • 16
  • 26

1 Answers1

0

In Xcode, select your project target, build setting and search for 'objective-c bridging header'. make sure the path equals the path of your bridging header file

Ahmed Onawale
  • 3,992
  • 1
  • 17
  • 21