Skip to content

Commit ac09389

Browse files
committed
Mention group container problems
Closes #1042
1 parent 25708c9 commit ac09389

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Documentation/Index.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
- [Connecting to a Database](#connecting-to-a-database)
1010
- [Read-Write Databases](#read-write-databases)
1111
- [Read-Only Databases](#read-only-databases)
12+
- [In a Shared Group Container](#in-a-shared-group-container)
1213
- [In-Memory Databases](#in-memory-databases)
1314
- [URI parameters](#uri-parameters)
1415
- [Thread-Safety](#thread-safety)
@@ -173,7 +174,7 @@ See the [sqlite3 podspec][sqlite3pod] for more details.
173174
#### Using SQLite.swift with SQLCipher
174175

175176
If you want to use [SQLCipher][] with SQLite.swift you can require the
176-
`SQLCipher` subspec in your Podfile (SPM is not supported yet, see [#1084](/issues/1084)):
177+
`SQLCipher` subspec in your Podfile (SPM is not supported yet, see [#1084](https://github.com/stephencelis/SQLite.swift/issues/1084)):
177178

178179
```ruby
179180
target 'YourAppTargetName' do
@@ -330,6 +331,13 @@ let db = try Connection(path, readonly: true)
330331
> We welcome changes to the above sample code to show how to successfully copy and use a bundled "seed"
331332
> database for writing in an app.
332333

334+
#### In a shared group container
335+
336+
It is not recommend to store databases in a [shared group container],
337+
some users have reported crashes ([#1042](https://github.com/stephencelis/SQLite.swift/issues/1042)).
338+
339+
[shared group container]: https://developer.apple.com/documentation/foundation/filemanager/1412643-containerurl#
340+
333341
#### In-Memory Databases
334342

335343
If you omit the path, SQLite.swift will provision an [in-memory

0 commit comments

Comments
 (0)