Skip to content

Connecting to database in AppGroup fails #870

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
techumbely opened this issue Jan 5, 2019 · 3 comments
Closed

Connecting to database in AppGroup fails #870

techumbely opened this issue Jan 5, 2019 · 3 comments

Comments

@techumbely
Copy link

Build Information

  • Include the SQLite.swift version, commit or branch experiencing the issue.
    0.11.5
  • Mention Xcode and OS X versions affected.
    iOS 12
  • How do do you integrate SQLite.swift in your project?
    • manual

Issue

Connecting to a database in an AppGroup doesn't work. The database was successfully copied, which I debugged separately. Seems like a general issue. Hope you can reproduce it.

let directory = FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: "group.com.domain.project");

@jberkel
Copy link
Collaborator

jberkel commented Aug 24, 2021

What's the error message you get?

@jberkel
Copy link
Collaborator

jberkel commented Aug 26, 2021

See also #1042:

Searching for this issue, I'm finding others recommend not keeping your SQLite database in a shared group container. Which is something I'm doing. See:
https://inessential.com/2020/02/13/how_we_fixed_the_dreaded_0xdead10cc_cras

@jberkel
Copy link
Collaborator

jberkel commented Oct 26, 2022

Closes as dup+no information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants