1

Just installed SQLite.swift from cocoapods in my Xcode project and I get an error when trying to build stating Header "/usr/include/sqlite3.h" not found. Therefore I get an error stating could not build Objective-C module 'SQLite3'.

Am I just doing something wrong or is there an issue here?

Zane Campbell
  • 150
  • 1
  • 12
  • This looks like a bug with the latest release. I'll file an issue and we'll try to get 0.9.1 out to address the issue. – stephencelis Jan 11 '16 at 13:39
  • Please try locking to the `module-map-path` branch (see https://github.com/stephencelis/SQLite.swift/issues/319). – stephencelis Jan 11 '16 at 13:52
  • i realize that the module-map-path branch doesn't exist any more but i see that you have already pushed 0.9.1. I've tested it and it works! Thank you for the very quick fix. – Zane Campbell Jan 11 '16 at 21:07

1 Answers1

0

Adding a note to echo the above comments that this should be fixed now.

The latest 0.9.2 should also work ok and be slightly more compatible, even for Swift 2.2 (as well as Carthage, CocoaPods or manual install).

mm2001
  • 6,427
  • 5
  • 39
  • 37