1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

SQLite.swift sqlite3.h not found 対処方法

Posted at

SQLite.swiftで、sqlite3.h not found エラーが出た場合の対処方法

対処方法

module.modulemap を修正する。

module.modulemap
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/sqlite3.h'

自分の場合は、Xcodeのバージョンを幾つか共存させていたので、アプリ名を変更していた。

Xcode.app -> Xcode7.3.1.app

原因

現在のバージョン(0.10.1)では、絶対パス記述になっていたため。

参考: iOS Swift: SQLite.swift Error - Header not found

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?