Cocoa pods giving error for FMDB

Hi,

I am trying to install Snowplow using cocoa pods, while building its giving me error:

" include of non-modular header inside framework module 'FMDB.FMDatabase' [-Werror,-Wnon-modular-include-in-framework-module]
#import "sqlite3.h""

My project is in Swift.

Thanks,

I had the same issue. I wrote up how I solved it