Răsfoiți Sursa

Add privacy manifest to podspec

Evgenii Neumerzhitckii 1 an în urmă
părinte
comite
5e1b02b6a9
3 a modificat fișierele cu 9 adăugiri și 4 ștergeri
  1. 4 0
      CHANGELOG.md
  2. 2 1
      KeychainSwift.podspec
  3. 3 3
      README.md

+ 4 - 0
CHANGELOG.md

@@ -1,5 +1,9 @@
 # KeychainSwift version history
 
+## 24.0.0 (2024-05-26)
+
+Added privacy manifest as a resource bundle to CocoaPods Podspec file.
+
 ## 23.0.0 (2024-05-26)
 
 Reverted PR #188 (https://github.com/evgenyneu/keychain-swift/pull/188) since it introduced the issue when installing the library with CocoaPods (https://github.com/evgenyneu/keychain-swift/issues/185#issuecomment-2078297077).

+ 2 - 1
KeychainSwift.podspec

@@ -1,6 +1,6 @@
 Pod::Spec.new do |s|
   s.name        = "KeychainSwift"
-  s.version     = "23.0.0"
+  s.version     = "24.0.0"
   s.license     = { :type => "MIT" }
   s.homepage    = "https://github.com/evgenyneu/keychain-swift"
   s.summary     = "A library for saving text and data in the Keychain with Swift."
@@ -15,6 +15,7 @@ Pod::Spec.new do |s|
   s.source      = { :git => "https://github.com/evgenyneu/keychain-swift.git", :tag => s.version }
   s.screenshots  = "https://raw.githubusercontent.com/evgenyneu/keychain-swift/master/graphics/keychain-swift-demo-3.png"
   s.source_files = "Sources/*.swift"
+  s.resource_bundles = {"KeychainSwift" => ["Sources/PrivacyInfo.xcprivacy"]}
   s.ios.deployment_target = "12.0"
   s.osx.deployment_target = "10.13"
   s.watchos.deployment_target = "4.0"

+ 3 - 3
README.md

@@ -37,7 +37,7 @@ Simply add [KeychainSwiftDistrib.swift](https://github.com/evgenyneu/keychain-sw
 
 #### Setup with Carthage (iOS 8+)
 
-Alternatively, add `github "evgenyneu/keychain-swift" ~> 23.0` to your Cartfile and run `carthage update`.
+Alternatively, add `github "evgenyneu/keychain-swift" ~> 24.0` to your Cartfile and run `carthage update`.
 
 #### Setup with CocoaPods (iOS 8+)
 
@@ -46,7 +46,7 @@ If you are using CocoaPods add this text to your Podfile and run `pod install`.
 ```
 use_frameworks!
 target 'Your target name'
-pod 'KeychainSwift', '~> 23.0'
+pod 'KeychainSwift', '~> 24.0'
 ```
 
 
@@ -60,7 +60,7 @@ pod 'KeychainSwift', '~> 23.0'
 If you're using KeychainSwift in a Swift package, make sure to specify a `name`. This is because SPM cannot automatically resolve a name for a package that has a different Target name in its `Package.swift` (namely `KeychainSwift`) that differs from the repo link (`keychain-swift`).
 
 ```
-.package(name: "KeychainSwift", url: "https://github.com/evgenyneu/keychain-swift.git", from: "23.0.0")
+.package(name: "KeychainSwift", url: "https://github.com/evgenyneu/keychain-swift.git", from: "24.0.0")
 ```
 
 ## Legacy Swift versions