Skip to content

Commit

Permalink
fix: visionos to cocoapods
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanfallet committed Apr 16, 2024
1 parent f0af5e0 commit fc23699
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 10 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
0.15.2 (16-04-2024), [diff][diff-0.15.2]
========================================
* fix: visionos to cocoapods ([#1260][])

0.15.1 (14-04-2024), [diff][diff-0.15.1]
========================================

Expand Down Expand Up @@ -164,6 +168,7 @@ For breaking changes, see [Upgrading.md](Documentation/Upgrading.md).
[diff-0.14.1]: https://github.com/stephencelis/SQLite.swift/compare/0.14.0...0.14.1
[diff-0.15.0]: https://github.com/stephencelis/SQLite.swift/compare/0.14.0...0.15.0
[diff-0.15.1]: https://github.com/stephencelis/SQLite.swift/compare/0.15.0...0.15.1
[diff-0.15.2]: https://github.com/stephencelis/SQLite.swift/compare/0.15.1...0.15.2

[#30]: https://github.com/stephencelis/SQLite.swift/issues/30
[#142]: https://github.com/stephencelis/SQLite.swift/issues/142
Expand Down Expand Up @@ -248,3 +253,4 @@ For breaking changes, see [Upgrading.md](Documentation/Upgrading.md).
[#1248]: https://github.com/stephencelis/SQLite.swift/pull/1248
[#1255]: https://github.com/stephencelis/SQLite.swift/pull/1255
[#1237]: https://github.com/stephencelis/SQLite.swift/pull/1237
[#1260]: https://github.com/stephencelis/SQLite.swift/pull/1260
12 changes: 6 additions & 6 deletions Documentation/Index.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ process of downloading, compiling, and linking dependencies.

```swift
dependencies: [
.package(url: "https://github.com/stephencelis/SQLite.swift.git", from: "0.15.1")
.package(url: "https://github.com/stephencelis/SQLite.swift.git", from: "0.15.2")
]
```

Expand All @@ -129,7 +129,7 @@ install SQLite.swift with Carthage:
2. Update your Cartfile to include the following:

```ruby
github "stephencelis/SQLite.swift" ~> 0.15.1
github "stephencelis/SQLite.swift" ~> 0.15.2
```

3. Run `carthage update` and [add the appropriate framework][Carthage Usage].
Expand Down Expand Up @@ -159,7 +159,7 @@ install SQLite.swift with Carthage:
use_frameworks!

target 'YourAppTargetName' do
pod 'SQLite.swift', '~> 0.15.1'
pod 'SQLite.swift', '~> 0.15.2'
end
```

Expand All @@ -173,7 +173,7 @@ with the OS you can require the `standalone` subspec:

```ruby
target 'YourAppTargetName' do
pod 'SQLite.swift/standalone', '~> 0.15.1'
pod 'SQLite.swift/standalone', '~> 0.15.2'
end
```

Expand All @@ -183,7 +183,7 @@ dependency to sqlite3 or one of its subspecs:

```ruby
target 'YourAppTargetName' do
pod 'SQLite.swift/standalone', '~> 0.15.1'
pod 'SQLite.swift/standalone', '~> 0.15.2'
pod 'sqlite3/fts5', '= 3.15.0' # SQLite 3.15.0 with FTS5 enabled
end
```
Expand All @@ -199,7 +199,7 @@ If you want to use [SQLCipher][] with SQLite.swift you can require the
target 'YourAppTargetName' do
# Make sure you only require the subspec, otherwise you app might link against
# the system SQLite, which means the SQLCipher-specific methods won't work.
pod 'SQLite.swift/SQLCipher', '~> 0.15.1'
pod 'SQLite.swift/SQLCipher', '~> 0.15.2'
end
```

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ Swift code.

```swift
dependencies: [
.package(url: "https://github.com/stephencelis/SQLite.swift.git", from: "0.15.1")
.package(url: "https://github.com/stephencelis/SQLite.swift.git", from: "0.15.2")
]
```

Expand All @@ -152,7 +152,7 @@ install SQLite.swift with Carthage:
2. Update your Cartfile to include the following:

```ruby
github "stephencelis/SQLite.swift" ~> 0.15.1
github "stephencelis/SQLite.swift" ~> 0.15.2
```

3. Run `carthage update` and
Expand Down
7 changes: 6 additions & 1 deletion SQLite.swift.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "SQLite.swift"
s.version = "0.15.1"
s.version = "0.15.2"
s.summary = "A type-safe, Swift-language layer over SQLite3."

s.description = <<-DESC
Expand All @@ -22,11 +22,13 @@ Pod::Spec.new do |s|
tvos_deployment_target = '12.0'
osx_deployment_target = '10.13'
watchos_deployment_target = '4.0'
visionos_deployment_target = '1.0'

s.ios.deployment_target = ios_deployment_target
s.tvos.deployment_target = tvos_deployment_target
s.osx.deployment_target = osx_deployment_target
s.watchos.deployment_target = watchos_deployment_target
s.visionos.deployment_target = visionos_deployment_target

s.subspec 'standard' do |ss|
ss.source_files = 'Sources/SQLite/**/*.{c,h,m,swift}'
Expand All @@ -37,6 +39,7 @@ Pod::Spec.new do |s|
ss.tvos.deployment_target = tvos_deployment_target
ss.osx.deployment_target = osx_deployment_target
ss.watchos.deployment_target = watchos_deployment_target
ss.visionos.deployment_target = visionos_deployment_target

ss.test_spec 'tests' do |test_spec|
test_spec.resources = 'Tests/SQLiteTests/Resources/*'
Expand All @@ -61,6 +64,7 @@ Pod::Spec.new do |s|
ss.tvos.deployment_target = tvos_deployment_target
ss.osx.deployment_target = osx_deployment_target
ss.watchos.deployment_target = watchos_deployment_target
ss.visionos.deployment_target = visionos_deployment_target

ss.test_spec 'tests' do |test_spec|
test_spec.resources = 'Tests/SQLiteTests/Resources/*'
Expand All @@ -83,6 +87,7 @@ Pod::Spec.new do |s|
ss.tvos.deployment_target = tvos_deployment_target
ss.osx.deployment_target = osx_deployment_target
ss.watchos.deployment_target = watchos_deployment_target
ss.visionos.deployment_target = visionos_deployment_target

ss.test_spec 'tests' do |test_spec|
test_spec.resources = 'Tests/SQLiteTests/Resources/*'
Expand Down
2 changes: 1 addition & 1 deletion Tests/SPM/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ let package = Package(
// for testing from same repository
.package(path: "../..")
// normally this would be:
// .package(url: "https://github.com/stephencelis/SQLite.swift.git", from: "0.15.1")
// .package(url: "https://github.com/stephencelis/SQLite.swift.git", from: "0.15.2")
],
targets: [
.executableTarget(name: "test", dependencies: [.product(name: "SQLite", package: "SQLite.swift")])
Expand Down

0 comments on commit fc23699

Please sign in to comment.