libPhoneNumber-iOS/libPhoneNumber-iOS.podspec
Jordan Rose 12927fe928 Convert metadata JSON to a deduplicated plist ahead of time
Based on work by Martin, but using a simpler deduplication method than
what libPhoneNumber had: an NSKeyedArchiver delegate. This allows us
to stop deserializing and deduplicating JSON at app launch time, at
the cost of some additional disk space (437KB, 223KB compressed, instead
of 33KB of compressed static data within the app binary).
2022-02-14 17:20:23 -08:00

22 lines
1.5 KiB
Ruby

Pod::Spec.new do |s|
s.name = "libPhoneNumber-iOS"
s.version = "0.9.15"
s.summary = "iOS library for parsing, formatting, storing and validating international phone numbers from libphonenumber library."
s.description = <<-DESC
libPhoneNumber for iOS
iOS library for parsing, formatting, storing and validating international phone numbers from libphonenumber library.
DESC
s.homepage = "https://github.com/iziz/libPhoneNumber-iOS.git"
s.license = 'Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
s.authors = { "iziz" => "zen.isis@gmail.com", "hyukhur" => "hyukhur@gmail.com" }
s.source = { :git => "https://github.com/iziz/libPhoneNumber-iOS.git", :tag => s.version.to_s }
s.ios.framework = 'CoreTelephony'
s.ios.deployment_target = "11.0"
s.osx.deployment_target = "10.9"
s.watchos.deployment_target = "2.0"
s.tvos.deployment_target = "9.0"
s.requires_arc = true
s.resources = 'libPhoneNumber/NBPhoneNumberMetaData.plist'
s.source_files = 'libPhoneNumber/NBPhoneNumberDefines.{h,m}', 'libPhoneNumber/NBPhoneNumber.{h,m}', 'libPhoneNumber/NBNumberFormat.{h,m}', 'libPhoneNumber/NBPhoneNumberDesc.{h,m}', 'libPhoneNumber/NBPhoneMetaData.{h,m}', 'libPhoneNumber/NBPhoneNumberUtil.{h,m}', 'libPhoneNumber/NBMetadataHelper.{h,m}', 'libPhoneNumber/NBAsYouTypeFormatter.{h,m}', 'libPhoneNumber/NSArray+NBAdditions.{h,m}', 'libPhoneNumber/Internal/NBRegExMatcher.{h,m}', 'libPhoneNumber/Internal/NBRegularExpressionCache.{h,m}'
end