devicekit/DeviceKit

View on GitHub
DeviceKit.podspec

Summary

Maintainability
Test Coverage
Pod::Spec.new do |s|
  s.name         = 'DeviceKit'
  s.version      = '5.5.0'
  s.summary      = 'DeviceKit is a ยต-framework that provides a value-type replacement of UIDevice.'

  s.description                = <<-DESC
                                   `DeviceKit` is a value-type wrapper and extension of [`UIDevice`](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIDevice_Class/). It detects both devices and different simulators.
                                 DESC

  s.homepage                   = 'https://github.com/devicekit/DeviceKit'
  s.license                    = 'MIT'
  s.author                     = 'DeviceKit'
  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.swift_version = '5.0'

  s.source                     = { :git => 'https://github.com/devicekit/DeviceKit.git', :tag => s.version }
  s.source_files               = 'Source/Device.generated.swift'

  s.resource_bundles = { 'DeviceKit' => 'Source/PrivacyInfo.xcprivacy' }

  s.requires_arc = true
end