mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-29 04:24:21 +00:00
Updated SPM installation instructions
Added note about static / dynamic
This commit is contained in:
1 parent
c184b76849
commit
e28658c574
1 file changed
+3
-1
@@ -397,6 +397,8 @@ GRDB can be installed as a framework, or a static library.
|
||||
|
||||
The [Swift Package Manager](https://swift.org/package-manager/) automates the distribution of Swift code. To use GRDB with SPM, add a dependency to `https://github.com/groue/GRDB.swift.git`
|
||||
|
||||
> GRDB offers a `static` as well as `dynamic` library. Choose the default `GRDB` (static) library if you're not sure about the difference. Choose `GRDB-dynamic` if you are going to link it with multiple targets within your app and only wish to link to a shared, dynamic framework once. See [#How to link as dynamic](https://forums.swift.org/t/how-to-link-a-swift-package-as-dynamic/32062)
|
||||
>
|
||||
> :point_up: **Note**: Linux is not currently supported.
|
||||
>
|
||||
> :warning: **Warning**: Due to an Xcode bug, you will get "No such module 'CSQLite'" errors when you want to embed the GRDB package in other targets than the main application (watch extensions, for example). UI and Unit testing targets are OK, though. See [#642](https://github.com/groue/GRDB.swift/issues/642#issuecomment-575994093) for more information.
|
||||
@@ -8407,4 +8409,4 @@ This chapter was renamed to [Embedding SQL in Query Interface Requests].
|
||||
[SQL literal]: Documentation/SQLInterpolation.md#sql-literal
|
||||
[Identifiable]: https://developer.apple.com/documentation/swift/identifiable
|
||||
[Query Interface Organization]: Documentation/QueryInterfaceOrganization.md
|
||||
[Database Configuration]: #database-configuration
|
||||
[Database Configuration]: #database-configuration
|
||||
Reference in new issue
Block a user