Skip to content

Commit

Permalink
feature: Enable visionOS Support (apollographql/apollo-ios-dev#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
calvincestari authored and gh-action-runner committed Apr 15, 2024
1 parent a267368 commit 7585fff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Apollo.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Pod::Spec.new do |s|
s.osx.deployment_target = '10.14'
s.tvos.deployment_target = '12.0'
s.watchos.deployment_target = '5.0'
s.visionos.deployment_target = '1.0'

cli_binary_name = 'apollo-ios-cli'
s.preserve_paths = [cli_binary_name]
Expand All @@ -30,7 +31,7 @@ Pod::Spec.new do |s|
s.subspec 'SQLite' do |ss|
ss.source_files = 'Sources/ApolloSQLite/*.swift'
ss.dependency 'Apollo/Core'
ss.dependency 'SQLite.swift', '~>0.13.1'
ss.dependency 'SQLite.swift', '~>0.15.1'
ss.resource_bundles = {
'ApolloSQLite' => ['Sources/ApolloSQLite/Resources/PrivacyInfo.xcprivacy']
}
Expand Down
5 changes: 3 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ let package = Package(
.iOS(.v12),
.macOS(.v10_14),
.tvOS(.v12),
.watchOS(.v5)
.watchOS(.v5),
.visionOS(.v1),
],
products: [
.library(name: "Apollo", targets: ["Apollo"]),
Expand All @@ -23,7 +24,7 @@ let package = Package(
dependencies: [
.package(
url: "https://github.com/stephencelis/SQLite.swift.git",
.upToNextMajor(from: "0.13.1")),
.upToNextMajor(from: "0.15.1")),
],
targets: [
.target(
Expand Down

0 comments on commit 7585fff

Please sign in to comment.