Skip to content
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

DRAFT: Embed SQLiteLb Build With Loading Extensions Enabled #1680

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

spprichard
Copy link

@spprichard spprichard commented Nov 30, 2024

  • Currently not build with error Unable to open base config

Pull Request Checklist

  • CONTRIBUTING: You have read https://github.com/groue/GRDB.swift/blob/master/CONTRIBUTING.md
  • BRANCH: This pull request is submitted against the development branch.
  • DOCUMENTATION: Inline documentation has been updated.
  • DOCUMENTATION: README.md or another dedicated guide has been updated.
  • TESTS: Changes are tested.
  • TESTS: The make smokeTest terminal command runs without failure.

- Currently not build with error `Unable to open base config`
@groue
Copy link
Owner

groue commented Dec 1, 2024

Hello @spprichard :-)

The error you mention is described in #1591 (reply in thread). I paste your comment below:

Wanted to follow up on this.

I am a bit stuck/lost. I think I have followed the directions within SQLiteLib & GRDB for how to embed/update SQLiteLib. However, I am getting this build error for the GRDBCustom scheme.

image What I did to get into this state
  • Open GRDB workspace
  • Within the GRDBCustom project, delete the SQLiteLib project (GRDBCustomSQLite/SQLite.xcproj)
  • Drag and drop the version of SQLiteLib xcode project with OMIT_LOAD_EXTENSION removed from SQLiteLib.xcconfig. Here's the draft PR for that change to SQLiteLib.
  • Attempt to build the GRDBCustom scheme

My initial thought was to just add the file its complaining about, but that doesn't feel right to me. Because this wasn't failing prior to my change, so its probably something I did (or haven't done) within my changes thats causing the error

OK, I'll try to reproduce. Please give me a few days: I'm currently packing, moving, and it takes time 😅

@spprichard
Copy link
Author

@groue moving is the worst! Best of luck

In the mean time, I'll continue trying to solve it. Thank you

@spprichard spprichard changed the base branch from master to development December 3, 2024 14:18
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

Successfully merging this pull request may close these issues.

2 participants