tommy_p1ckles
tommy_p1ckles

Reputation: 685

Xcode error importing module not being imported

I left Xcode unsupervised for the weekend and I come back and it's telling me I have missing modules Corelocation and SQLite at:

import SQLite
import CoreLocation 

both giving me the error Missing required module 'CSQLite'. I'm not sure where its getting "CSQLite" especially in relation to Corelocation

I have the SQLite.xcodeproj added to the general page to be linked it was building fine a couple days ago and absolutely nothing's changed.

Upvotes: 2

Views: 770

Answers (1)

Ankit Thakur
Ankit Thakur

Reputation: 4749

In swift, if you want to use sqlite, you can either use modulemap feature of llvm to import c library or you can use cocoapods and import sqlite based any third party pod.

Upvotes: 1

Related Questions