diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 6dc7d1fe..00000000 Binary files a/.DS_Store and /dev/null differ diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 736ed180..3a27e4bc 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -3,3 +3,7 @@ * **[apodrugin](https://github.com/apodrugin)** * Improve SDK interface. + + +* **[ArthurAlvarez](https://github.com/ArthurAlvarez)** + * Adding Privacy Manifest. diff --git a/PLzmaSDK-ObjC.podspec b/PLzmaSDK-ObjC.podspec index c1e57eec..e68c6cd1 100644 --- a/PLzmaSDK-ObjC.podspec +++ b/PLzmaSDK-ObjC.podspec @@ -6,6 +6,7 @@ Pod::Spec.new do |s| s.source = { :git => s.homepage + '.git', :tag => s.version } s.license = { :type => 'MIT', :file => 'LICENSE' } s.authors = { 'Oleh Kulykov' => 'olehkulykov@gmail.com' } + s.resource = 'resources/PrivacyInfo.xcprivacy' s.ios.deployment_target = '12.0' s.osx.deployment_target = '10.13' # s.tvos.deployment_target = '9.0' diff --git a/PLzmaSDK.podspec b/PLzmaSDK.podspec index 8962d366..e765562e 100644 --- a/PLzmaSDK.podspec +++ b/PLzmaSDK.podspec @@ -7,9 +7,9 @@ Pod::Spec.new do |s| s.license = { :type => 'MIT', :file => 'LICENSE' } s.authors = { 'Oleh Kulykov' => 'olehkulykov@gmail.com' } s.swift_versions = ['5.0', '5.1', '5.2', '5.3', '5.4', '5.5', '5.6', '5.7', '5.8', '5.9'] + s.resource = 'resources/PrivacyInfo.xcprivacy' s.ios.deployment_target = '12.0' s.osx.deployment_target = '10.13' - s.resource = 'resources/PrivacyInfo.xcprivacy' # s.tvos.deployment_target = '12.0' # s.watchos.deployment_target = '2.0' diff --git a/Package.swift b/Package.swift index c7e3587b..41e77a9c 100755 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.0 +// swift-tools-version:5.3 import PackageDescription @@ -23,7 +23,10 @@ let package = Package( dependencies: [ .target(name: "libplzma") ], - path: "swift"), + path: "swift", + resources: [ + .copy("../resources/PrivacyInfo.xcprivacy"), + ]), .target(name: "plzma_test_files", path: "test_files"), .testTarget(