Skip to content

'sqlite3.h' file not found #1000

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
vbklv opened this issue May 11, 2020 · 2 comments
Closed

'sqlite3.h' file not found #1000

vbklv opened this issue May 11, 2020 · 2 comments

Comments

@vbklv
Copy link

vbklv commented May 11, 2020

Error when building a project, which was building fine last week with the same project and Podfile settings:

'sqlite3.h' file not found

1. In file included from /project/Pods/SQLite.swift/Sources/SQLiteObjc/SQLite-Bridging.m:26:

Build Information

  • SQLite.swift 0.12.0 and 0.12.2
  • Version 11.4.1 (11E503a)
  • How do do you integrate SQLite.swift in your project?
    • CocoaPods

General guidelines

Podfile:
pod 'SQLite.swift'
pod 'YapDatabase/SQLCipher'

I tried adding sqlite3 to Podfile, tried updating and reverting SQLite.swift between 0.12.0 and 0.12.2, but it won't help.

@vbklv vbklv closed this as completed May 11, 2020
@vbklv vbklv reopened this May 11, 2020
@vbklv vbklv closed this as completed May 11, 2020
@vbklv
Copy link
Author

vbklv commented May 14, 2020

OK, the issue actually persists.
The app builds and installs when it is already installed previously on the device. But it won't build or install on simulator.

Screenshot 2020-05-11 at 15 29 47

@vbklv vbklv reopened this May 14, 2020
@vbklv
Copy link
Author

vbklv commented May 14, 2020

Resolved by fixing SQLCipher version as described here:
#986

  pod 'SQLCipher', '= 4.2.0'
  pod 'SQLite.swift/SQLCipher', '~> 0.12.2'
  pod 'YapDatabase/SQLCipher'

@vbklv vbklv closed this as completed May 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant