Skip to content

Commit a19b29b

Browse files
committed
Make it clear that pod needs to be included once
1 parent f6d7593 commit a19b29b

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

Documentation/Index.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,14 +125,18 @@ install SQLite.swift with Carthage:
125125
If you want to use a more recent version of SQLite than what is provided with the OS you can require the `standalone` subspec:
126126
127127
``` ruby
128-
pod 'SQLite.swift/standalone', '~> 0.11.1'
128+
target 'YourAppTargetName' do
129+
pod 'SQLite.swift/standalone', '~> 0.11.1'
130+
end
129131
```
130132

131133
By default this will use the most recent version of SQLite without any extras. If you want you can further customize this by adding another dependency to sqlite3 or one of its subspecs:
132134

133135
``` ruby
134-
pod 'SQLite.swift/standalone', '~> 0.11.1'
135-
pod 'sqlite3/fts5', '= 3.15.0' # SQLite 3.15.0 with FTS5 enabled
136+
target 'YourAppTargetName' do
137+
pod 'SQLite.swift/standalone', '~> 0.11.1'
138+
pod 'sqlite3/fts5', '= 3.15.0' # SQLite 3.15.0 with FTS5 enabled
139+
end
136140
```
137141

138142
See the [sqlite3 podspec][sqlite3pod] for more details.
@@ -143,7 +147,9 @@ If you want to use [SQLCipher][] with SQLite.swift you can require the `SQLCiphe
143147
subspec in your Podfile:
144148

145149
``` ruby
146-
pod 'SQLite.swift/SQLCipher', '~> 0.11.1'
150+
target 'YourAppTargetName' do
151+
pod 'SQLite.swift/SQLCipher', '~> 0.11.1'
152+
end
147153
```
148154

149155
This will automatically add a dependency to the SQLCipher pod as well as extend

0 commit comments

Comments
 (0)