-
Notifications
You must be signed in to change notification settings - Fork 824
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
29 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,37 @@ | ||
# | ||
# Be sure to run `pod lib lint PhoneNumberKit.podspec' to ensure this is a | ||
# valid spec before submitting. | ||
# | ||
# Any lines starting with a # are optional, but their use is encouraged | ||
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html | ||
# | ||
|
||
Pod::Spec.new do |s| | ||
s.name = "PhoneNumberKit" | ||
s.version = "3.5.10" | ||
s.summary = "Swift framework for working with phone numbers" | ||
|
||
# This description is used to generate tags and improve search results. | ||
# * Think: What does it do? Why did you write it? What is the focus? | ||
# * Try to keep it short, snappy and to the point. | ||
# * Write the description between the DESC delimiters below. | ||
# * Finally, don't worry about the indent, CocoaPods strips it! | ||
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 | ||
DESC | ||
|
||
s.homepage = "https://github.com/marmelroy/PhoneNumberKit" | ||
# s.screenshots = "www.example.com/screenshots_1", "www.example.com/screenshots_2" | ||
s.homepage = 'https://github.com/marmelroy/PhoneNumberKit' | ||
s.license = 'MIT' | ||
s.author = { "Roy Marmelstein" => "[email protected]" } | ||
s.source = { :git => "https://github.com/marmelroy/PhoneNumberKit.git", :tag => s.version.to_s } | ||
s.social_media_url = "http://twitter.com/marmelroy" | ||
|
||
s.author = { 'Roy Marmelstein' => '[email protected]' } | ||
s.source = { git: 'https://github.com/marmelroy/PhoneNumberKit.git', tag: s.version.to_s } | ||
|
||
s.requires_arc = true | ||
|
||
s.ios.frameworks = 'CoreTelephony' | ||
s.osx.frameworks = 'CoreTelephony' | ||
|
||
s.ios.deployment_target = '9.0' | ||
s.osx.deployment_target = '10.10' | ||
s.tvos.deployment_target = '10.0' | ||
s.watchos.deployment_target = '2.0' | ||
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 = '9.0' | ||
core.osx.deployment_target = '10.10' | ||
core.tvos.deployment_target = '10.0' | ||
core.watchos.deployment_target = '2.0' | ||
core.source_files = "PhoneNumberKit/*.{swift}" | ||
core.resources = "PhoneNumberKit/Resources/PhoneNumberMetadata.json" | ||
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 = '9.0' | ||
ui.source_files = 'PhoneNumberKit/UI/' | ||
ui.ios.deployment_target = '11.0' | ||
ui.source_files = 'PhoneNumberKit/UI/*.{swift}' | ||
end | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters