Skip to content

Commit

Permalink
Merge pull request #200 from wlxo0401/master
Browse files Browse the repository at this point in the history
add PrivacyInfo podspec, Package
  • Loading branch information
evgenyneu authored Jan 2, 2024
2 parents 6d20af4 + 8779b31 commit 16f98ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Cosmos.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ Pod::Spec.new do |s|
s.ios.deployment_target = "9.0"
s.tvos.deployment_target = "9.0"
s.swift_versions = ['4.2', '5.0']

s.resource_bundles = {"Cosmos" => ["Cosmos/Resources/PrivacyInfo.xcprivacy"]}
end
6 changes: 4 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.0
// swift-tools-version:5.3

import PackageDescription

Expand All @@ -8,7 +8,9 @@ let package = Package(
.library(name: "Cosmos", targets: ["Cosmos"]),
],
targets: [
.target(name: "Cosmos", path: "./Cosmos"),
.target(name: "Cosmos",
path: "./Cosmos",
resources: [.copy("Resources/PrivacyInfo.xcprivacy")]),
.testTarget(name: "CosmosTests", dependencies: ["Cosmos"], path: "./CosmosTests"),
]
)

0 comments on commit 16f98ce

Please sign in to comment.