diff --git a/ASN1Swift.podspec b/ASN1Swift.podspec index 056c724..9b9edd2 100644 --- a/ASN1Swift.podspec +++ b/ASN1Swift.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "ASN1Swift" -s.version = "1.2.3" +s.version = "1.2.5" s.summary = "Decoding ASN.1 in swift" s.description = "A lightweight swift library for decoding ASN.1 structure. Similar to `JSONDecoder`" @@ -11,11 +11,14 @@ s.source = { :git => "https://github.com/tikhop/ASN1Swift.git", :tag => "# s.author = { "Pavel Tikhonenko" => "hi@tikhop.com" } -s.swift_versions = ['5.3'] -s.ios.deployment_target = '10.0' -s.osx.deployment_target = '10.12' -s.tvos.deployment_target = '10.0' -s.watchos.deployment_target = '3.0' +s.swift_versions = ['5.9'] + +s.ios.deployment_target = '12.0' +s.osx.deployment_target = '10.13' +s.tvos.deployment_target = '12.0' +s.visionos.deployment_target = '1.0' +s.watchos.deployment_target = '6.0' + s.requires_arc = true s.source_files = "Sources/ASN1Swift/*.{swift}", "Sources/ASN1Swift/PKCS7/*.{swift}" diff --git a/Package.swift b/Package.swift index ea24e5b..16390ed 100644 --- a/Package.swift +++ b/Package.swift @@ -1,23 +1,23 @@ -// swift-tools-version: 5.4 +// swift-tools-version: 5.9 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription +let visionOSSetting: SwiftSetting = .define("VISION_OS", .when(platforms: [.visionOS])) + let package = Package( name: "ASN1Swift", - platforms: [.macOS(.v10_12), - .iOS(.v10), - .tvOS(.v10), - .watchOS("6.2")], + platforms: [.macOS(.v10_13), + .iOS(.v12), + .tvOS(.v12), + .watchOS(.v6), + .visionOS(.v1)], products: [ - // Products define the executables and libraries a package produces, and make them visible to other packages. .library( name: "ASN1Swift", targets: ["ASN1Swift"]), ], 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 this package depends on. .target( name: "ASN1Swift", dependencies: []), diff --git a/README.md b/README.md index 593d861..3a94e52 100644 --- a/README.md +++ b/README.md @@ -66,8 +66,8 @@ If this is your first time using Carthage in the project, you'll need to go thro ### Requirements -- iOS 10.0+ / OSX 10.11+ -- Swift 5.2+ +- iOS 12.0+ / OSX 10.13+ +- Swift 5.9+ Example -------------