From 873a8f01282b11cfd57cb68d34bb987028c7e73f Mon Sep 17 00:00:00 2001 From: gumob Date: Sat, 24 Aug 2024 14:32:31 +0900 Subject: [PATCH 1/3] build: Bump Punycode version to 3.0.0 in Podspec, Info.plist and Tests/Info.plist This update brings the library to the latest version, ensuring compatibility with the latest iOS, macOS, and tvOS. --- Punycode.podspec | 2 +- Source/Info.plist | 2 +- Tests/Info.plist | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Punycode.podspec b/Punycode.podspec index 27a6486..b04e33d 100644 --- a/Punycode.podspec +++ b/Punycode.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "Punycode" - s.version = "2.2.0" + s.version = "3.0.0" s.summary = "A Pure Swift library for encode and decode punycoded strings supporting iOS, macOS, and tvOS." s.homepage = "https://github.com/gumob/PunycodeSwift" s.license = { :type => "MIT", :file => "LICENSE" } diff --git a/Source/Info.plist b/Source/Info.plist index 2d95f57..0e076a8 100644 --- a/Source/Info.plist +++ b/Source/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 2.2.0 + 3.0.0 CFBundleVersion $(CURRENT_PROJECT_VERSION) diff --git a/Tests/Info.plist b/Tests/Info.plist index 6b54d75..71f927a 100644 --- a/Tests/Info.plist +++ b/Tests/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 2.2.0 + 3.0.0 CFBundleVersion 1 From e7bc076fa5995adcba64bb453a8b95fe77eff40e Mon Sep 17 00:00:00 2001 From: gumob Date: Sat, 24 Aug 2024 14:40:57 +0900 Subject: [PATCH 2/3] build:Change supported version for watchOS and visionOS deployment targets, update Xcode project configuration --- Punycode.podspec | 30 ++++++++++++++++-------------- Punycode.xcodeproj/project.pbxproj | 8 ++++---- 2 files changed, 20 insertions(+), 18 deletions(-) diff --git a/Punycode.podspec b/Punycode.podspec index b04e33d..7deb2e6 100644 --- a/Punycode.podspec +++ b/Punycode.podspec @@ -1,18 +1,20 @@ Pod::Spec.new do |s| - s.name = "Punycode" - s.version = "3.0.0" - s.summary = "A Pure Swift library for encode and decode punycoded strings supporting iOS, macOS, and tvOS." - s.homepage = "https://github.com/gumob/PunycodeSwift" - s.license = { :type => "MIT", :file => "LICENSE" } - s.author = { "gumob" => "hello@gumob.com" } - s.frameworks = 'Foundation' - s.requires_arc = true - s.source = { :git => "https://github.com/gumob/PunycodeSwift.git", :tag => "#{s.version}" } - s.source_files = "Source/*.{swift}" - s.ios.deployment_target = "12.0" - s.osx.deployment_target = "10.13" - s.tvos.deployment_target = "12.0" - s.swift_version = '5.0' + s.name = "Punycode" + s.version = "3.0.0" + s.summary = "A Pure Swift library for encode and decode punycoded strings supporting iOS, macOS, and tvOS." + s.homepage = "https://github.com/gumob/PunycodeSwift" + s.license = { :type => "MIT", :file => "LICENSE" } + s.author = { "gumob" => "hello@gumob.com" } + s.frameworks = 'Foundation' + s.requires_arc = true + s.source = { :git => "https://github.com/gumob/PunycodeSwift.git", :tag => "#{s.version}" } + s.source_files = "Source/*.{swift}" + s.osx.deployment_target = "10.13" + s.ios.deployment_target = "12.0" + s.tvos.deployment_target = "12.0" + s.watchos.deployment_target = "4.0" + s.visionos.deployment_target = "1.0" + s.swift_version = '5.0' end diff --git a/Punycode.xcodeproj/project.pbxproj b/Punycode.xcodeproj/project.pbxproj index 10c3283..63db8a6 100644 --- a/Punycode.xcodeproj/project.pbxproj +++ b/Punycode.xcodeproj/project.pbxproj @@ -755,7 +755,7 @@ SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 4; TVOS_DEPLOYMENT_TARGET = 12.0; - WATCHOS_DEPLOYMENT_TARGET = 8.0; + WATCHOS_DEPLOYMENT_TARGET = 4.0; XROS_DEPLOYMENT_TARGET = 1.0; }; name = Debug; @@ -796,7 +796,7 @@ SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 4; TVOS_DEPLOYMENT_TARGET = 12.0; - WATCHOS_DEPLOYMENT_TARGET = 8.0; + WATCHOS_DEPLOYMENT_TARGET = 4.0; XROS_DEPLOYMENT_TARGET = 1.0; }; name = Release; @@ -825,7 +825,7 @@ SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 4; TVOS_DEPLOYMENT_TARGET = 12.0; - WATCHOS_DEPLOYMENT_TARGET = 8.0; + WATCHOS_DEPLOYMENT_TARGET = 4.0; XROS_DEPLOYMENT_TARGET = 1.0; }; name = Debug; @@ -853,7 +853,7 @@ SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 4; TVOS_DEPLOYMENT_TARGET = 12.0; - WATCHOS_DEPLOYMENT_TARGET = 8.0; + WATCHOS_DEPLOYMENT_TARGET = 4.0; XROS_DEPLOYMENT_TARGET = 1.0; }; name = Release; From 61f77920d86740cb01764dd8a3597ef6539eebb7 Mon Sep 17 00:00:00 2001 From: gumob Date: Sat, 24 Aug 2024 14:43:46 +0900 Subject: [PATCH 3/3] ci: Update workflow jobs to use the default platform for Carthage builds on watchOS and tvOS platforms, removing the '--skip-tests' flag. --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6db0204..c57f2bb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -275,7 +275,7 @@ jobs: - xcode: "Xcode_15.4" runsOn: macOS-14 name: "Carthage: watchOS" - platform: "watchos --skip-tests" + platform: "watchos" - xcode: "Xcode_15.4" runsOn: macOS-14 name: "Carthage: visionOS" @@ -326,11 +326,11 @@ jobs: configuration: "Debug" name: "Pods: tvOS, Debug" - xcode: "Xcode_15.4" - platform: "watchos --skip-tests" + platform: "watchos" configuration: "Release" name: "Pods: watchOS, Release" - xcode: "Xcode_15.4" - platform: "watchos --skip-tests" + platform: "watchos" configuration: "Debug" name: "Pods: watchOS, Debug" - xcode: "Xcode_15.4"