Skip to content

Commit f901c4e

Browse files
committed
Release 3.6.0
1 parent aaa3e25 commit f901c4e

File tree

4 files changed

+29
-53
lines changed

4 files changed

+29
-53
lines changed

Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import PackageDescription
44
let package = Package(
55
name: "PhoneNumberKit",
66
platforms: [
7-
.iOS(.v9), .macOS(.v10_10), .tvOS(.v10), .watchOS(.v2)
7+
.iOS(.v11), .macOS(.v10_13), .tvOS(.v11), .watchOS(.v4)
88
],
99
products: [
1010
.library(name: "PhoneNumberKit", targets: ["PhoneNumberKit"]),

PhoneNumberKit.podspec

+19-41
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,37 @@
1-
#
2-
# Be sure to run `pod lib lint PhoneNumberKit.podspec' to ensure this is a
3-
# valid spec before submitting.
4-
#
5-
# Any lines starting with a # are optional, but their use is encouraged
6-
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
7-
#
8-
91
Pod::Spec.new do |s|
10-
s.name = "PhoneNumberKit"
11-
s.version = "3.5.10"
12-
s.summary = "Swift framework for working with phone numbers"
13-
14-
# This description is used to generate tags and improve search results.
15-
# * Think: What does it do? Why did you write it? What is the focus?
16-
# * Try to keep it short, snappy and to the point.
17-
# * Write the description between the DESC delimiters below.
18-
# * Finally, don't worry about the indent, CocoaPods strips it!
2+
s.name = 'PhoneNumberKit'
3+
s.version = '3.6.0'
4+
s.summary = 'Swift framework for working with phone numbers'
195
s.description = <<-DESC
206
A Swift framework for parsing, formatting and validating international phone numbers. Inspired by Google's libphonenumber.
21-
DESC
7+
DESC
228

23-
s.homepage = "https://github.com/marmelroy/PhoneNumberKit"
24-
# s.screenshots = "www.example.com/screenshots_1", "www.example.com/screenshots_2"
9+
s.homepage = 'https://github.com/marmelroy/PhoneNumberKit'
2510
s.license = 'MIT'
26-
s.author = { "Roy Marmelstein" => "[email protected]" }
27-
s.source = { :git => "https://github.com/marmelroy/PhoneNumberKit.git", :tag => s.version.to_s }
28-
s.social_media_url = "http://twitter.com/marmelroy"
29-
11+
s.author = { 'Roy Marmelstein' => '[email protected]' }
12+
s.source = { git: 'https://github.com/marmelroy/PhoneNumberKit.git', tag: s.version.to_s }
3013

3114
s.requires_arc = true
32-
33-
s.ios.frameworks = 'CoreTelephony'
34-
s.osx.frameworks = 'CoreTelephony'
35-
36-
s.ios.deployment_target = '9.0'
37-
s.osx.deployment_target = '10.10'
38-
s.tvos.deployment_target = '10.0'
39-
s.watchos.deployment_target = '2.0'
15+
s.ios.deployment_target = '11.0'
16+
s.osx.deployment_target = '10.13'
17+
s.tvos.deployment_target = '11.0'
18+
s.watchos.deployment_target = '4.0'
4019

4120
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '5.0' }
4221
s.swift_version = '5.0'
4322

4423
s.subspec 'PhoneNumberKitCore' do |core|
45-
core.ios.deployment_target = '9.0'
46-
core.osx.deployment_target = '10.10'
47-
core.tvos.deployment_target = '10.0'
48-
core.watchos.deployment_target = '2.0'
49-
core.source_files = "PhoneNumberKit/*.{swift}"
50-
core.resources = "PhoneNumberKit/Resources/PhoneNumberMetadata.json"
24+
core.ios.deployment_target = '11.0'
25+
core.osx.deployment_target = '10.13'
26+
core.tvos.deployment_target = '11.0'
27+
core.watchos.deployment_target = '4.0'
28+
core.source_files = 'PhoneNumberKit/*.{swift}'
29+
core.resources = 'PhoneNumberKit/Resources/PhoneNumberMetadata.json'
5130
end
5231

5332
s.subspec 'UIKit' do |ui|
5433
ui.dependency 'PhoneNumberKit/PhoneNumberKitCore'
55-
ui.ios.deployment_target = '9.0'
56-
ui.source_files = 'PhoneNumberKit/UI/'
34+
ui.ios.deployment_target = '11.0'
35+
ui.source_files = 'PhoneNumberKit/UI/*.{swift}'
5736
end
58-
5937
end

PhoneNumberKit.xcodeproj/project.pbxproj

+8-10
Original file line numberDiff line numberDiff line change
@@ -667,15 +667,18 @@
667667
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
668668
GCC_WARN_UNUSED_FUNCTION = YES;
669669
GCC_WARN_UNUSED_VARIABLE = YES;
670-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
670+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
671+
MACOSX_DEPLOYMENT_TARGET = 10.13;
671672
MTL_ENABLE_DEBUG_INFO = YES;
672673
ONLY_ACTIVE_ARCH = YES;
673674
SDKROOT = iphoneos;
674675
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
675676
SWIFT_VERSION = 5.0;
676677
TARGETED_DEVICE_FAMILY = "1,2";
678+
TVOS_DEPLOYMENT_TARGET = 11.0;
677679
VERSIONING_SYSTEM = "apple-generic";
678680
VERSION_INFO_PREFIX = "";
681+
WATCHOS_DEPLOYMENT_TARGET = 4.0;
679682
};
680683
name = Debug;
681684
};
@@ -724,15 +727,18 @@
724727
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
725728
GCC_WARN_UNUSED_FUNCTION = YES;
726729
GCC_WARN_UNUSED_VARIABLE = YES;
727-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
730+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
731+
MACOSX_DEPLOYMENT_TARGET = 10.13;
728732
MTL_ENABLE_DEBUG_INFO = NO;
729733
SDKROOT = iphoneos;
730734
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
731735
SWIFT_VERSION = 5.0;
732736
TARGETED_DEVICE_FAMILY = "1,2";
737+
TVOS_DEPLOYMENT_TARGET = 11.0;
733738
VALIDATE_PRODUCT = YES;
734739
VERSIONING_SYSTEM = "apple-generic";
735740
VERSION_INFO_PREFIX = "";
741+
WATCHOS_DEPLOYMENT_TARGET = 4.0;
736742
};
737743
name = Release;
738744
};
@@ -748,7 +754,6 @@
748754
DYLIB_INSTALL_NAME_BASE = "@rpath";
749755
INFOPLIST_FILE = PhoneNumberKit/Info.plist;
750756
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
751-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
752757
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
753758
PRODUCT_BUNDLE_IDENTIFIER = com.roymarmelstein.PhoneNumberKit;
754759
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -771,7 +776,6 @@
771776
DYLIB_INSTALL_NAME_BASE = "@rpath";
772777
INFOPLIST_FILE = PhoneNumberKit/Info.plist;
773778
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
774-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
775779
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
776780
PRODUCT_BUNDLE_IDENTIFIER = com.roymarmelstein.PhoneNumberKit;
777781
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -817,7 +821,6 @@
817821
INFOPLIST_FILE = "$(SRCROOT)/PhoneNumberKit/Info.plist";
818822
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
819823
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
820-
MACOSX_DEPLOYMENT_TARGET = 10.10;
821824
PRODUCT_BUNDLE_IDENTIFIER = com.roymarmelstein.PhoneNumberKit.PhoneNumberKit;
822825
PRODUCT_NAME = PhoneNumberKit;
823826
SDKROOT = macosx;
@@ -840,7 +843,6 @@
840843
INFOPLIST_FILE = "$(SRCROOT)/PhoneNumberKit/Info.plist";
841844
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
842845
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
843-
MACOSX_DEPLOYMENT_TARGET = 10.10;
844846
PRODUCT_BUNDLE_IDENTIFIER = com.roymarmelstein.PhoneNumberKit.PhoneNumberKit;
845847
PRODUCT_NAME = PhoneNumberKit;
846848
SDKROOT = macosx;
@@ -867,7 +869,6 @@
867869
SDKROOT = watchos;
868870
SKIP_INSTALL = YES;
869871
TARGETED_DEVICE_FAMILY = 4;
870-
WATCHOS_DEPLOYMENT_TARGET = 2.2;
871872
};
872873
name = Debug;
873874
};
@@ -890,7 +891,6 @@
890891
SDKROOT = watchos;
891892
SKIP_INSTALL = YES;
892893
TARGETED_DEVICE_FAMILY = 4;
893-
WATCHOS_DEPLOYMENT_TARGET = 2.2;
894894
};
895895
name = Release;
896896
};
@@ -912,7 +912,6 @@
912912
SDKROOT = appletvos;
913913
SKIP_INSTALL = YES;
914914
TARGETED_DEVICE_FAMILY = 3;
915-
TVOS_DEPLOYMENT_TARGET = 9.2;
916915
};
917916
name = Debug;
918917
};
@@ -934,7 +933,6 @@
934933
SDKROOT = appletvos;
935934
SKIP_INSTALL = YES;
936935
TARGETED_DEVICE_FAMILY = 3;
937-
TVOS_DEPLOYMENT_TARGET = 9.2;
938936
};
939937
name = Release;
940938
};

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,5 +160,5 @@ github "marmelroy/PhoneNumberKit"
160160
### Setting up with [CocoaPods](http://cocoapods.org/?q=PhoneNumberKit)
161161

162162
```ruby
163-
pod 'PhoneNumberKit', :git => 'https://github.com/marmelroy/PhoneNumberKit'
163+
pod 'PhoneNumberKit', '~> 3.6'
164164
```

0 commit comments

Comments
 (0)