0

I am new to iOS development. I am working on developing an app which saves data into a sqlite.swift db and I have added the SQLite framework to the targets and linked the required libraries as per the manual installation process of https://github.com/stephencelis/SQLite.swift. But there is an error with the following message while building:

'@import' in framework header is discouraged, including this header requires -fmodules..

This is in the sqlite.h file. Here is the file detail:

@import Foundation;

FOUNDATION_EXPORT double SQLiteVersionNumber;
FOUNDATION_EXPORT const unsigned char SQLiteVersionString[];
HangarRash
  • 7,314
  • 5
  • 5
  • 32

0 Answers0