Skip to content

SDVersion 5.0.0

Latest

Choose a tag to compare

@sebyddd sebyddd released this 28 Dec 03:38

Major Update - 2025 Modernization

This release brings SDVersion up to date after 8 years, adding support for all Apple devices released between 2017-2024 and modernizing the library infrastructure.

New Device Support

iOS/iPadOS

  • iPhone XS through iPhone 16e (33 new models)
  • iPad Pro M4, iPad Air M2, iPad mini 7, and all 2018-2024 iPads
  • New screen sizes: 5.4", 6.1", 6.3", 6.5", 6.7", 6.9" with Dynamic Island detection

watchOS

  • Apple Watch Series 4 through Series 10
  • Apple Watch SE (1st and 2nd generation)
  • Apple Watch Ultra and Ultra 2
  • All case sizes: 40mm, 41mm, 44mm, 45mm, 46mm, 49mm

tvOS

  • Apple TV 4K (2nd and 3rd generation)
  • Renamed AppleTV4 to AppleTVHD for clarity

macOS

  • Full Apple Silicon support (M1 through M4 Max)
  • New isAppleSilicon, chipType, and chipName methods
  • Mac Studio detection
  • All MacBook Air/Pro, Mac mini, iMac, and Mac Pro models with Apple Silicon

New Infrastructure

  • Swift Package Manager support with platform-specific targets
  • Privacy Manifest (PrivacyInfo.xcprivacy) for App Store compliance
  • GitHub Actions CI for all platforms
  • Updated deployment targets: iOS 13+, macOS 11+, watchOS 6+, tvOS 13+

Breaking Changes

  • Minimum deployment targets increased (was iOS 8+, now iOS 13+)
  • AppleTV4 renamed to AppleTVHD
  • Some enum values renumbered to accommodate new devices
  • SPM users should import platform-specific libraries (SDiOSVersion, SDMacVersion, etc.)

Installation

Swift Package Manager (Recommended)

dependencies: [
    .package(url: "https://github.com/sebyddd/SDVersion.git", from: "5.0.0")
],
targets: [
    .target(name: "YourApp", dependencies: [
        .product(name: "SDiOSVersion", package: "SDVersion")
    ])
]

CocoaPods

pod 'SDVersion', '~> 5.0'

Full changelog: https://github.com/sebyddd/SDVersion/blob/master/CHANGELOG.md