-
-
Notifications
You must be signed in to change notification settings - Fork 727
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
sqlite3.h path is hardcoded #2
Comments
Are you talking about https://github.com/groue/GRDB.swift/blob/master/GRDB/module.modulemap#L8 ? What path did you have to use in order to have GRDB compile on your machine? |
Yes, mine was: |
So you did not install the regular Xcode, did you? |
@philtre I did not intend to close the issue, sorry. Yet I don't quite know how to solve it. |
@philtre I'm considering closing this issue since it looks like it only affects people who did not install the regular Xcode. Anything against it? |
A solution to this issue may lie in stephencelis/SQLite.swift#163 |
Hi @davedelong. I've tried to replace the hard-coded path to sqlite3.h with a direct embedding of SDKROOT/user/include/sqlite3.h, following your advice on stephencelis/SQLite.swift#163. This leads to a partial success:
I was wondering what would be your opinion on point 3 (although I could sleep on it until an issue would come up), and if you had any advice on point 2. Thanks for reading! |
@groue CocoaPods doesn't support header files that aren't within the scope of the project. You'll need to continue to use the module map for CocoaPods at the very least. |
Thank you Stephen :-) Cross-linking to CocoaPods/CocoaPods#3942 for reference. |
There is no currently solution to this problem. The workaround is to use the latest release of Xcode, which a quite reasonable requirement: I'm closing the issue. |
NSFPIO-911 Configure SPM target to use SQLCipher v4.5.1 (pt.2) Approved-by: Alexander Bragin
The compiler could not find sqlite3.h because its hardcoded path in DRDB.swift.modulemap was incorrect on my machine
The text was updated successfully, but these errors were encountered: