Skip to content

Commit

Permalink
Release 3.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bguidolim committed Jun 4, 2023
1 parent aaa3e25 commit f901c4e
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 53 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import PackageDescription
let package = Package(
name: "PhoneNumberKit",
platforms: [
.iOS(.v9), .macOS(.v10_10), .tvOS(.v10), .watchOS(.v2)
.iOS(.v11), .macOS(.v10_13), .tvOS(.v11), .watchOS(.v4)
],
products: [
.library(name: "PhoneNumberKit", targets: ["PhoneNumberKit"]),
Expand Down
60 changes: 19 additions & 41 deletions PhoneNumberKit.podspec
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
18 changes: 8 additions & 10 deletions PhoneNumberKit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -667,15 +667,18 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
MACOSX_DEPLOYMENT_TARGET = 10.13;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TVOS_DEPLOYMENT_TARGET = 11.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
WATCHOS_DEPLOYMENT_TARGET = 4.0;
};
name = Debug;
};
Expand Down Expand Up @@ -724,15 +727,18 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
MACOSX_DEPLOYMENT_TARGET = 10.13;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TVOS_DEPLOYMENT_TARGET = 11.0;
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
WATCHOS_DEPLOYMENT_TARGET = 4.0;
};
name = Release;
};
Expand All @@ -748,7 +754,6 @@
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = PhoneNumberKit/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.roymarmelstein.PhoneNumberKit;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -771,7 +776,6 @@
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = PhoneNumberKit/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.roymarmelstein.PhoneNumberKit;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down Expand Up @@ -817,7 +821,6 @@
INFOPLIST_FILE = "$(SRCROOT)/PhoneNumberKit/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.10;
PRODUCT_BUNDLE_IDENTIFIER = com.roymarmelstein.PhoneNumberKit.PhoneNumberKit;
PRODUCT_NAME = PhoneNumberKit;
SDKROOT = macosx;
Expand All @@ -840,7 +843,6 @@
INFOPLIST_FILE = "$(SRCROOT)/PhoneNumberKit/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.10;
PRODUCT_BUNDLE_IDENTIFIER = com.roymarmelstein.PhoneNumberKit.PhoneNumberKit;
PRODUCT_NAME = PhoneNumberKit;
SDKROOT = macosx;
Expand All @@ -867,7 +869,6 @@
SDKROOT = watchos;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = 4;
WATCHOS_DEPLOYMENT_TARGET = 2.2;
};
name = Debug;
};
Expand All @@ -890,7 +891,6 @@
SDKROOT = watchos;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = 4;
WATCHOS_DEPLOYMENT_TARGET = 2.2;
};
name = Release;
};
Expand All @@ -912,7 +912,6 @@
SDKROOT = appletvos;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = 3;
TVOS_DEPLOYMENT_TARGET = 9.2;
};
name = Debug;
};
Expand All @@ -934,7 +933,6 @@
SDKROOT = appletvos;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = 3;
TVOS_DEPLOYMENT_TARGET = 9.2;
};
name = Release;
};
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,5 +160,5 @@ github "marmelroy/PhoneNumberKit"
### Setting up with [CocoaPods](http://cocoapods.org/?q=PhoneNumberKit)

```ruby
pod 'PhoneNumberKit', :git => 'https://github.com/marmelroy/PhoneNumberKit'
pod 'PhoneNumberKit', '~> 3.6'
```

0 comments on commit f901c4e

Please sign in to comment.