Skip to content

Commit c9c3df6

Browse files
committed
Update SwiftPM package supported platforms
1 parent f6b012c commit c9c3df6

File tree

5 files changed

+14
-8
lines changed

5 files changed

+14
-8
lines changed

CHANGELOG

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
1.8.2
2+
- Enable VisionOS as supported platform for Xcode project and SwiftPM package
3+
- Tweak CocoaPods setup for privacy manifest
4+
15
1.8.1
26
- Update publicKeyDER to support exponent of any byte length
37
- Add SHA3 variants for RSA signature verification

CryptoSwift.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "CryptoSwift"
3-
s.version = "1.8.1"
3+
s.version = "1.8.2"
44
s.source = { :git => "https://github.com/krzyzanowskim/CryptoSwift.git", :tag => "#{s.version}" }
55
s.summary = "Cryptography in Swift. SHA, MD5, CRC, PBKDF, Poly1305, HMAC, CMAC, HDKF, Scrypt, ChaCha20, Rabbit, Blowfish, AES, RSA."
66
s.description = "Cryptography functions and helpers for Swift implemented in Swift. SHA-1, SHA-2, SHA-3, MD5, PBKDF1, PBKDF2, Scrypt, CRC, Poly1305, HMAC, ChaCha20, Rabbit, Blowfish, AES, RSA"

Package.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
// swift-tools-version:5.3
1+
// swift-tools-version:5.6
22

33
import PackageDescription
44

55
let package = Package(
66
name: "CryptoSwift",
77
platforms: [
8-
.macOS(.v10_13), .iOS(.v11), .tvOS(.v11), .watchOS(.v4)
8+
.macOS(.v10_13), .macCatalyst(.v13), .iOS(.v11), .tvOS(.v11), .watchOS(.v4), .custom("visionos", versionString: "1.0")
99
],
1010
products: [
1111
.library(
@@ -23,6 +23,6 @@ let package = Package(
2323
#if swift(>=5.6)
2424
// Add the documentation compiler plugin if possible
2525
package.dependencies.append(
26-
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0")
26+
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.3.0")
2727
)
2828
#endif

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ It is recommended to enable [Whole-Module Optimization](https://swift.org/blog/w
131131
You can use [Swift Package Manager](https://swift.org/package-manager/) and specify dependency in `Package.swift` by adding this:
132132

133133
```swift
134-
.package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", .upToNextMajor(from: "1.8.1"))
134+
.package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", .upToNextMajor(from: "1.8.2"))
135135
```
136136

137137
See: [Package.swift - manual](https://blog.krzyzanowskim.com/2016/08/09/package-swift-manual/)
@@ -143,7 +143,7 @@ Notice: Swift Package Manager uses debug configuration for debug Xcode build, th
143143
You can use [CocoaPods](https://cocoapods.org/pods/CryptoSwift).
144144

145145
```ruby
146-
pod 'CryptoSwift', '~> 1.8.1'
146+
pod 'CryptoSwift', '~> 1.8.2'
147147
```
148148

149149
Bear in mind that CocoaPods will build CryptoSwift without [Whole-Module Optimization](https://swift.org/blog/whole-module-optimizations/) that may impact performance. You can change it manually after installation, or use [cocoapods-wholemodule](https://github.com/jedlewison/cocoapods-wholemodule) plugin.

config/Project-Shared.xcconfig

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
MARKETING_VERSION = 1.8.1
1+
MARKETING_VERSION = 1.8.2
22

3-
SUPPORTED_PLATFORMS = iphonesimulator iphoneos macosx appletvos watchos appletvsimulator watchsimulator
3+
SUPPORTED_PLATFORMS = iphonesimulator iphoneos macosx appletvos watchos appletvsimulator watchsimulator xrsimulator xros
44

55
SWIFT_COMPILATION_MODE = wholemodule
66
SWIFT_VERSION = 5.0
@@ -11,6 +11,7 @@ TVOS_DEPLOYMENT_TARGET = 11.0
1111
IPHONEOS_DEPLOYMENT_TARGET = 11.0
1212
MACOSX_DEPLOYMENT_TARGET = 10.13
1313
WATCHOS_DEPLOYMENT_TARGET = 4.0
14+
XROS_DEPLOYMENT_TARGET = 1.0
1415

1516
DEVELOPMENT_TEAM =
1617
//PROVISIONING_PROFILE =
@@ -83,4 +84,5 @@ BUILD_LIBRARY_FOR_DISTRIBUTION = YES
8384

8485
// Catalyst
8586
SUPPORTS_MACCATALYST = YES
87+
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES
8688
DERIVE_MACCATALYST_PRODUCT_BUNDLE_IDENTIFIER = NO

0 commit comments

Comments
 (0)