Skip to content

Commit

Permalink
Add PrivacyInfo.xcprivacy manifest. Bump swift-tools-version to 5.9. …
Browse files Browse the repository at this point in the history
…Bump Podspec version
  • Loading branch information
bigMOTOR committed Mar 15, 2024
1 parent 70b78bd commit f601e3a
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 1 deletion.
4 changes: 3 additions & 1 deletion DataDrivenRxDatasources.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "DataDrivenRxDatasources"
s.version = "3.5.3"
s.version = "3.6.0"
s.summary = "MVVM abstraction boilerplate code over RxDataSources."
s.description = <<-DESC
DataDrivenRxDatasources - MVVM abstraction boilerplate code over RxDataSources.
Expand Down Expand Up @@ -42,6 +42,8 @@ tableView.rx
s.ios.deployment_target = '11.0'

s.source_files = "Sources/DataDrivenRxDatasources/*.swift", "Sources/DataDrivenRxDatasources/**/*.swift"

s.resource_bundles = {"DataDrivenRxDatasources" => ["Sources/DataDrivenRxDatasources/PrivacyInfo.xcprivacy"]}

s.dependency 'RxSwift', '~> 6.0'
s.dependency 'RxDataSources', '~> 5.0'
Expand Down
36 changes: 36 additions & 0 deletions [email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
// swift-tools-version:5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "DataDrivenRxDatasources",
platforms: [
.iOS(.v12)
],
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(
name: "DataDrivenRxDatasources",
targets: ["DataDrivenRxDatasources"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(url: "https://github.com/ReactiveX/RxSwift.git", .upToNextMajor(from: "6.0.0" )),
.package(url: "https://github.com/RxSwiftCommunity/RxDataSources.git", .upToNextMajor(from: "5.0.0" )),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
.target(
name: "DataDrivenRxDatasources",
dependencies: ["RxSwift", "RxDataSources"],
resources: [
.copy("PrivacyInfo.xcprivacy")
]
),
.testTarget(
name: "DataDrivenRxDatasourcesTests",
dependencies: ["DataDrivenRxDatasources"]),
]
)
24 changes: 24 additions & 0 deletions Sources/DataDrivenRxDatasources/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!--
PrivacyInfo.xcprivacy
Created by Mykola Fiantsev on 15.03.2024.
Copyright (c) 2024 ___ORGANIZATIONNAME___. All rights reserved.
https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests
https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api
-->
<plist version="1.0">
<dict>
<key>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyAccessedAPITypes</key>
<array/>
</dict>
</plist>

0 comments on commit f601e3a

Please sign in to comment.