From d15bb0326d67513eeb0512f7b120036b7987518c Mon Sep 17 00:00:00 2001 From: onevcat Date: Mon, 18 Mar 2024 22:33:34 +0900 Subject: [PATCH 1/3] Add PrivacyInfo to the project --- APNGKit.podspec | 2 ++ Package@swift-5.9.swift | 28 ++++++++++++++++++++++++++++ Source/APNGKit/PrivacyInfo.xcprivacy | 14 ++++++++++++++ 3 files changed, 44 insertions(+) create mode 100644 Package@swift-5.9.swift create mode 100644 Source/APNGKit/PrivacyInfo.xcprivacy diff --git a/APNGKit.podspec b/APNGKit.podspec index 3a4234a..440032d 100644 --- a/APNGKit.podspec +++ b/APNGKit.podspec @@ -25,6 +25,8 @@ Pod::Spec.new do |s| s.source = { :git => "https://github.com/onevcat/APNGKit.git", :tag => s.version } s.source_files = "Source/**/*.swift" + s.resource_bundles = {"APNGKit" => ["Source/APNGKit/PrivacyInfo.xcprivacy"]} + s.swift_versions = ["5.3", "5.4", "5.5"] s.dependency "Delegate", "~> 1.1" end diff --git a/Package@swift-5.9.swift b/Package@swift-5.9.swift new file mode 100644 index 0000000..e442db3 --- /dev/null +++ b/Package@swift-5.9.swift @@ -0,0 +1,28 @@ +// swift-tools-version:5.9 +import PackageDescription + +let package = Package( + name: "APNGKit", + platforms: [.macOS(.v10_11), .iOS(.v9), .tvOS(.v9)], + products: [ + .library(name: "APNGKit", targets: ["APNGKit"]) + ], + dependencies: [ + .package(name: "Delegate", url: "https://github.com/onevcat/Delegate.git", .upToNextMajor(from: "1.1.1")) + ], + targets: [ + .target( + name: "APNGKit", + dependencies: ["Delegate"], + resources: [.copy("PrivacyInfo.xcprivacy")] + ), + .testTarget( + name: "APNGKitTests", + dependencies: ["APNGKit"], + resources: [ + .copy("Resources/SpecTesting"), + .copy("Resources/General"), + ] + ) + ] +) diff --git a/Source/APNGKit/PrivacyInfo.xcprivacy b/Source/APNGKit/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..c6bdf9c --- /dev/null +++ b/Source/APNGKit/PrivacyInfo.xcprivacy @@ -0,0 +1,14 @@ + + + + + NSPrivacyAccessedAPITypes + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + NSPrivacyCollectedDataTypes + + + From 0a06cc1969daff4646c81d3e8b450bd80e9c5fd5 Mon Sep 17 00:00:00 2001 From: onevcat Date: Mon, 18 Mar 2024 22:36:42 +0900 Subject: [PATCH 2/3] Fix warnings in package file --- Package@swift-5.9.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Package@swift-5.9.swift b/Package@swift-5.9.swift index e442db3..6616b96 100644 --- a/Package@swift-5.9.swift +++ b/Package@swift-5.9.swift @@ -3,12 +3,12 @@ import PackageDescription let package = Package( name: "APNGKit", - platforms: [.macOS(.v10_11), .iOS(.v9), .tvOS(.v9)], + platforms: [.macOS(.v10_13), .iOS(.v12), .tvOS(.v12)], products: [ .library(name: "APNGKit", targets: ["APNGKit"]) ], dependencies: [ - .package(name: "Delegate", url: "https://github.com/onevcat/Delegate.git", .upToNextMajor(from: "1.1.1")) + .package(url: "https://github.com/onevcat/Delegate.git", from: "1.1.1") ], targets: [ .target( From d277e284d38d5424e12758b7d5519837ea37ed49 Mon Sep 17 00:00:00 2001 From: onevcat Date: Mon, 18 Mar 2024 22:50:07 +0900 Subject: [PATCH 3/3] Upgrade gems --- Gemfile.lock | 87 +++++++++++++++++++++++++++------------------------- 1 file changed, 45 insertions(+), 42 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index d659752..373ec7a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,42 +1,45 @@ GEM remote: https://rubygems.org/ specs: - CFPropertyList (3.0.6) + CFPropertyList (3.0.7) + base64 + nkf rexml - activesupport (7.0.8) + activesupport (7.0.8.1) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) - addressable (2.8.5) + addressable (2.8.6) public_suffix (>= 2.0.2, < 6.0) algoliasearch (1.27.5) httpclient (~> 2.8, >= 2.8.3) json (>= 1.5.1) - artifactory (3.0.15) + artifactory (3.0.17) atomos (0.1.3) aws-eventstream (1.3.0) - aws-partitions (1.864.0) - aws-sdk-core (3.190.0) + aws-partitions (1.898.0) + aws-sdk-core (3.191.4) aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.651.0) aws-sigv4 (~> 1.8) jmespath (~> 1, >= 1.6.1) - aws-sdk-kms (1.74.0) - aws-sdk-core (~> 3, >= 3.188.0) + aws-sdk-kms (1.77.0) + aws-sdk-core (~> 3, >= 3.191.0) aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.141.0) - aws-sdk-core (~> 3, >= 3.189.0) + aws-sdk-s3 (1.145.0) + aws-sdk-core (~> 3, >= 3.191.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.8) aws-sigv4 (1.8.0) aws-eventstream (~> 1, >= 1.0.2) babosa (1.0.4) + base64 (0.2.0) claide (1.1.0) - cocoapods (1.14.3) + cocoapods (1.15.2) addressable (~> 2.8) claide (>= 1.0.2, < 2.0) - cocoapods-core (= 1.14.3) + cocoapods-core (= 1.15.2) cocoapods-deintegrate (>= 1.0.3, < 2.0) cocoapods-downloader (>= 2.1, < 3.0) cocoapods-plugins (>= 1.0.0, < 2.0) @@ -51,7 +54,7 @@ GEM nap (~> 1.0) ruby-macho (>= 2.3.0, < 3.0) xcodeproj (>= 1.23.0, < 2.0) - cocoapods-core (1.14.3) + cocoapods-core (1.15.2) activesupport (>= 5.0, < 8) addressable (~> 2.8) algoliasearch (~> 1.0) @@ -74,17 +77,17 @@ GEM colored2 (3.1.2) commander (4.6.0) highline (~> 2.0.0) - concurrent-ruby (1.2.2) + concurrent-ruby (1.2.3) declarative (0.0.20) digest-crc (0.6.5) rake (>= 12.0.0, < 14.0.0) - domain_name (0.6.20231109) + domain_name (0.6.20240107) dotenv (2.8.1) emoji_regex (3.2.3) escape (0.0.4) ethon (0.16.0) ffi (>= 1.15.0) - excon (0.105.0) + excon (0.110.0) faraday (1.10.3) faraday-em_http (~> 1.0) faraday-em_synchrony (~> 1.0) @@ -113,8 +116,8 @@ GEM faraday-retry (1.0.3) faraday_middleware (1.2.0) faraday (~> 1.0) - fastimage (2.2.7) - fastlane (2.217.0) + fastimage (2.3.0) + fastlane (2.219.0) CFPropertyList (>= 2.3, < 4.0.0) addressable (>= 2.8, < 3.0.0) artifactory (~> 3.0) @@ -133,6 +136,7 @@ GEM gh_inspector (>= 1.1.2, < 2.0.0) google-apis-androidpublisher_v3 (~> 0.3) google-apis-playcustomapp_v1 (~> 0.1) + google-cloud-env (>= 1.6.0, < 2.0.0) google-cloud-storage (~> 1.31) highline (~> 2.0) http-cookie (~> 1.0.5) @@ -141,7 +145,7 @@ GEM mini_magick (>= 4.9.4, < 5.0.0) multipart-post (>= 2.0.0, < 3.0.0) naturally (~> 2.2) - optparse (~> 0.1.1) + optparse (>= 0.1.1) plist (>= 3.1.0, < 4.0.0) rubyzip (>= 2.0.0, < 3.0.0) security (= 0.1.3) @@ -159,9 +163,9 @@ GEM fourflusher (2.3.1) fuzzy_match (2.0.4) gh_inspector (1.1.3) - google-apis-androidpublisher_v3 (0.53.0) + google-apis-androidpublisher_v3 (0.54.0) google-apis-core (>= 0.11.0, < 2.a) - google-apis-core (0.11.2) + google-apis-core (0.11.3) addressable (~> 2.5, >= 2.5.1) googleauth (>= 0.16.2, < 2.a) httpclient (>= 2.8.1, < 3.a) @@ -169,30 +173,28 @@ GEM representable (~> 3.0) retriable (>= 2.0, < 4.a) rexml - webrick google-apis-iamcredentials_v1 (0.17.0) google-apis-core (>= 0.11.0, < 2.a) google-apis-playcustomapp_v1 (0.13.0) google-apis-core (>= 0.11.0, < 2.a) - google-apis-storage_v1 (0.29.0) + google-apis-storage_v1 (0.31.0) google-apis-core (>= 0.11.0, < 2.a) - google-cloud-core (1.6.1) + google-cloud-core (1.7.0) google-cloud-env (>= 1.0, < 3.a) google-cloud-errors (~> 1.0) - google-cloud-env (2.0.1) - faraday (>= 1.0, < 3.a) - google-cloud-errors (1.3.1) - google-cloud-storage (1.45.0) + google-cloud-env (1.6.0) + faraday (>= 0.17.3, < 3.0) + google-cloud-errors (1.4.0) + google-cloud-storage (1.47.0) addressable (~> 2.8) digest-crc (~> 0.4) google-apis-iamcredentials_v1 (~> 0.1) - google-apis-storage_v1 (~> 0.29.0) + google-apis-storage_v1 (~> 0.31.0) google-cloud-core (~> 1.6) googleauth (>= 0.16.2, < 2.a) mini_mime (~> 1.0) - googleauth (1.9.0) - faraday (>= 1.0, < 3.a) - google-cloud-env (~> 2.0, >= 2.0.1) + googleauth (1.8.1) + faraday (>= 0.17.3, < 3.a) jwt (>= 1.4, < 3.0) multi_json (~> 1.11) os (>= 0.9, < 2.0) @@ -201,24 +203,26 @@ GEM http-cookie (1.0.5) domain_name (~> 0.5) httpclient (2.8.3) - i18n (1.14.1) + i18n (1.14.4) concurrent-ruby (~> 1.0) jmespath (1.6.2) json (2.7.1) - jwt (2.7.1) + jwt (2.8.1) + base64 mini_magick (4.12.0) mini_mime (1.1.5) - minitest (5.20.0) + minitest (5.22.3) molinillo (0.8.0) multi_json (1.15.0) - multipart-post (2.3.0) + multipart-post (2.4.0) nanaimo (0.3.0) nap (1.1.0) naturally (2.2.1) netrc (0.11.0) - optparse (0.1.1) + nkf (0.2.0) + optparse (0.4.0) os (1.1.4) - plist (3.7.0) + plist (3.7.1) public_suffix (4.0.7) rake (13.1.0) representable (3.2.0) @@ -232,7 +236,7 @@ GEM ruby2_keywords (0.0.5) rubyzip (2.3.2) security (0.1.3) - signet (0.18.0) + signet (0.19.0) addressable (~> 2.8) faraday (>= 0.17.5, < 3.a) jwt (>= 1.5, < 3.0) @@ -245,7 +249,7 @@ GEM unicode-display_width (>= 1.1.1, < 3) trailblazer-option (0.1.2) tty-cursor (0.7.1) - tty-screen (0.8.1) + tty-screen (0.8.2) tty-spinner (0.9.3) tty-cursor (~> 0.7) typhoeus (1.4.1) @@ -254,9 +258,8 @@ GEM concurrent-ruby (~> 1.0) uber (0.1.0) unicode-display_width (2.5.0) - webrick (1.8.1) word_wrap (1.0.0) - xcodeproj (1.23.0) + xcodeproj (1.24.0) CFPropertyList (>= 2.3.3, < 4.0) atomos (~> 0.1.3) claide (>= 1.0.2, < 2.0)