diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2201176..ec76628 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,29 +30,31 @@ jobs: DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} test: - runs-on: macos-12 + runs-on: macos-14 strategy: matrix: platform: - - platform=iOS Simulator,name=iPhone 14 Pro Max - - platform=iOS Simulator,name=iPhone 14 Pro - - platform=iOS Simulator,name=iPhone 14 - - platform=iOS Simulator,name=iPhone 14 Plus - - platform=iOS Simulator,name=iPhone 12 Pro Max - - platform=iOS Simulator,name=iPhone 12 Pro - - platform=iOS Simulator,name=iPhone 12 - - platform=iOS Simulator,name=iPhone 12 mini - - platform=iOS Simulator,name=iPhone 8 Plus - - platform=iOS Simulator,name=iPhone 8 - - platform=iOS Simulator,name=iPhone SE (2nd generation) + - platform=iOS Simulator,name=iPhone 15 Pro Max + - platform=iOS Simulator,name=iPhone 15 Pro + - platform=iOS Simulator,name=iPhone 15 + - platform=iOS Simulator,name=iPhone 15 Plus + - platform=iOS Simulator,name=iPhone 16 Pro Max + - platform=iOS Simulator,name=iPhone 16 Pro + - platform=iOS Simulator,name=iPhone 16 + - platform=iOS Simulator,name=iPhone 16 Plus + - platform=iOS Simulator,name=iPhone SE (3rd generation) - platform=tvOS Simulator,name=Apple TV - platform=tvOS Simulator,name=Apple TV 4K (3rd generation) - - platform=watchOS Simulator,name=Apple Watch Series 8 (45mm) + - platform=watchOS Simulator,name=Apple Watch Series 9 (45mm) steps: - uses: actions/checkout@v2 + - uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: latest-stable + - uses: ruby/setup-ruby@v1 with: bundler-cache: true diff --git a/DeviceKit.podspec b/DeviceKit.podspec index 01d87c8..12c0b60 100644 --- a/DeviceKit.podspec +++ b/DeviceKit.podspec @@ -13,9 +13,9 @@ Pod::Spec.new do |s| s.social_media_url = 'https://twitter.com/dennis_weissman' s.requires_arc = true - s.ios.deployment_target = '11.0' - s.tvos.deployment_target = '11.0' - s.watchos.deployment_target = '4.0' + s.ios.deployment_target = '13.0' + s.tvos.deployment_target = '13.0' + s.watchos.deployment_target = '7.0' s.swift_version = '5.0' diff --git a/DeviceKit.xcodeproj/project.pbxproj b/DeviceKit.xcodeproj/project.pbxproj index 9548e38..f105425 100644 --- a/DeviceKit.xcodeproj/project.pbxproj +++ b/DeviceKit.xcodeproj/project.pbxproj @@ -378,7 +378,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; INFOPLIST_FILE = Source/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -398,7 +398,7 @@ SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2,3,4,7"; - TVOS_DEPLOYMENT_TARGET = 11.0; + TVOS_DEPLOYMENT_TARGET = 13.0; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; WATCHOS_DEPLOYMENT_TARGET = 4.0; @@ -438,7 +438,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; INFOPLIST_FILE = Source/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -456,7 +456,7 @@ SUPPORTS_MACCATALYST = YES; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2,3,4,7"; - TVOS_DEPLOYMENT_TARGET = 11.0; + TVOS_DEPLOYMENT_TARGET = 13.0; VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; @@ -493,7 +493,7 @@ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; INFOPLIST_FILE = Tests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -507,6 +507,7 @@ SWIFT_OBJC_INTERFACE_HEADER_NAME = ""; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; + TVOS_DEPLOYMENT_TARGET = 13.0; }; name = Debug; }; @@ -534,7 +535,7 @@ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; INFOPLIST_FILE = Tests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -548,6 +549,7 @@ SWIFT_OBJC_INTERFACE_HEADER_NAME = ""; SWIFT_OPTIMIZATION_LEVEL = "-O"; SWIFT_VERSION = 5.0; + TVOS_DEPLOYMENT_TARGET = 13.0; VALIDATE_PRODUCT = YES; }; name = Release; diff --git a/Package.swift b/Package.swift index ea77032..55e14ab 100644 --- a/Package.swift +++ b/Package.swift @@ -15,8 +15,8 @@ import PackageDescription let package = Package( name: "DeviceKit", platforms: [ - .iOS(.v11), - .tvOS(.v11), + .iOS(.v13), + .tvOS(.v13), .watchOS(.v4) ], products: [