forked from marmelroy/PhoneNumberKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PhoneNumberKit.podspec
37 lines (32 loc) · 1.36 KB
/
PhoneNumberKit.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Pod::Spec.new do |s|
s.name = 'PhoneNumberKit'
s.version = '3.6.0'
s.summary = 'Swift framework for working with phone numbers'
s.description = <<-DESC
A Swift framework for parsing, formatting and validating international phone numbers. Inspired by Google's libphonenumber.
DESC
s.homepage = 'https://github.com/marmelroy/PhoneNumberKit'
s.license = 'MIT'
s.author = { 'Roy Marmelstein' => 'marmelroy@gmail.com' }
s.source = { git: 'https://github.com/marmelroy/PhoneNumberKit.git', tag: s.version.to_s }
s.requires_arc = true
s.ios.deployment_target = '11.0'
s.osx.deployment_target = '10.13'
s.tvos.deployment_target = '11.0'
s.watchos.deployment_target = '4.0'
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '5.0' }
s.swift_version = '5.0'
s.subspec 'PhoneNumberKitCore' do |core|
core.ios.deployment_target = '11.0'
core.osx.deployment_target = '10.13'
core.tvos.deployment_target = '11.0'
core.watchos.deployment_target = '4.0'
core.source_files = 'PhoneNumberKit/*.{swift}'
core.resources = 'PhoneNumberKit/Resources/PhoneNumberMetadata.json'
end
s.subspec 'UIKit' do |ui|
ui.dependency 'PhoneNumberKit/PhoneNumberKitCore'
ui.ios.deployment_target = '11.0'
ui.source_files = 'PhoneNumberKit/UI/*.{swift}'
end
end