SQLite.swift: Could not build Objective-C module?
Hi, I am having an issue with SQLite. Ever since I have updated my version of XCode to version 6.3, I have been getting an issue saying that it cannot find the module SQLite3 when I try to import it into my files using import SQLite. As a result, I resorted to deleting the entire SQLite folder from my project and re-adding it to my project. However, now I am getting issues saying Header '/usr/include/sqlite3.h' not found and Could not build Objective-C module 'sqlite3. It was all working for me previous to this but now I have no idea and every time i re-add the folder to my project, I get this error or an error saying Coudl not build Objective-C module SQLite. Any help would be appreciated. Thanks!
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 17 (2 by maintainers)
Commits related to this issue
- Revert "Use single module map file for sqlite3 shim" This reverts commit 2bf90d49cc982589b6d7ed9585f3f8f41ccf3263. It looks like the module map's path is not relative to the SDK root after all (as s... — committed to stephencelis/SQLite.swift by stephencelis 9 years ago
- Add note about active Xcode dev directory #120 — committed to stephencelis/SQLite.swift by jberkel 8 years ago
“import Foundation” fixed it for me