Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
[PCH-398] 16.4 parsing fix (#3)
Browse files Browse the repository at this point in the history
* bump tvOS support to 10, fix build issues

* Remove duplicate methods

Fix the bug that NSRange may cross the boundary

When working with text that’s presented to the user, use the localizedCaseInsensitiveCompare(_:) method instead.

Remove duplicate calls `setup`.

* remove nil value from carrier cellular provider

* 🔗 Callable URL and call() method to call on a device

* Update RegexManager.swift

Memory leak fixed on Charset fix and tested please add to next release

* Update CountryCodePickerViewController.swift

* Metadata updates for release 8.12.43

* Xcode: Update last upgrade check

* PhoneNumber: remove call method due to build issue when included in app extension

* Regex manager: fix build error with special character set

* Release 3.3.4

* Update flag after pasting/auto-filling a phone number

* Fix Swift 5.6 crash on Linux (#516)

* Replace use of NSMutableCharacterSet with CharacterSet

This change fixes a crash when initializing PhoneNumberKit on Linux

* Use designated constant for non-breaking space

* Create stale.yml

* Updated the compile time check to work with other platforms (#435)

* Metadata update: 8.12.47 (#519)

* Metadata update: 8.12.47

* Updated tests

Co-authored-by: Bruno Guidolim <bruno@pockid.com>

* Release 3.3.5

* Update stale.yml

* Adds accessibility text to country code button, (#439)

Makes Search bar input more explicit

Co-authored-by: Rebecca Chin <rchin@league.com>

* Added modalPresentationStyle Property (#436)

* Added modalPresentationStyle Property

* Fixed optional type to modalPresentationStyle

* Fixed Sample Project

* Fix bundle accessor for SwiftUI previews. (#485)

* Release 3.3.6

* Fix bundle acessor (#523)

* Fix #522

* Let's play safe

Co-authored-by: Bruno Guidolim <bruno@pockid.com>

* Keeping a single reference of CTTelephonyNetworkInfo to avoid possible issues (#521)

* Keeping a single reference of CTTelephonyNetworkInfo to avoid possible issues

This commit fix #444

Resources:
 - marmelroy/PhoneNumberKit#484
 - https://stackoverflow.com/questions/14238586/coretelephony-crash
 - flurry/flurry-ios-sdk#200
 - amplitude/Amplitude-iOS#13

* Keeping only the real changes

Co-authored-by: Bruno Guidolim <bruno@pockid.com>

* Release 3.3.7

* Introduce coding strategies for `PhoneNumber` (#517)

* Release 3.4.0

* Makes RegexManager thread-safe (#529)

* Fix #528

* Apply suggestions from code review

Co-authored-by: Michael Williams <michaeldwilliams@users.noreply.github.com>

Co-authored-by: Michael Williams <michaeldwilliams@users.noreply.github.com>

* Release 3.4.1

* Fix bundle search path (#531)

* Updated metadata and related unit-tests according to the v8.12.50 in Google library. (#534)

Please note: With the new metadata the partial formatter can add extra characters (like `(`) in the beginning of the string detection, if the default region is `US`. The Unit test changes in the `PartialFormatterTests` are highlighting those edge cases.

* Fix #249: Potential thread explosion (#535)

* Fix #249: Potential thread explosion

* Applying suggestion from code review

* Release 3.4.2

* Simplified `defaultRegionCode()` in `PhoneNumberKit` in order to handle better the multiple SIM related issues. (#538)

- The `CoreTelephony` based solution was replaced with a `Contacts` framework based one.
- Added more strict performance tests for parsing both via an array,. and through a non-optimized way (calling the `parse(_:_:)` method in the body of a for loop).

* Updated metadata according to 8.12.51. (#537)

* Release 3.4.3

* Normalizes the way of getting metadata from MetadataManager (#542)

* Release 3.4.4

* Updated metadata according to v8.12.52 https://github.com/google/libphonenumber/releases/tag/v8.12.52 (#545)

* Release 3.4.5

* Fix #451 no flag change for different regionCode (#550)

* Falling back default region to Locale if CNContactsUserDefaults is not available (fix #549) (#551)

* Metadata automation (#554)

* Started script to automate releases

* Added GH action

* Updated metadata to version metadata/8.12.53 (#555)

Co-authored-by: runner <runner@Mac-1660824613252.local>

* Release 3.4.6

* Stop testing metadata since it's supposed to change.

* Updated metadata to version metadata/8.12.54 (#556)

Co-authored-by: runner <runner@Mac-1661155838180.local>

* Release 3.4.7

* Fix #557 (#561)

* Revert #550 due issues with other countries (#562)

* Make sample app use local package

* Revert "Fix #451 no flag change for different regionCode (#550)"

This reverts commit d8c0069.

* Release 3.4.8

* Updated metadata to version metadata/8.12.55 (#568)

Co-authored-by: runner <runner@Mac-1662768069832.local>

* Release 3.4.9

* Updated metadata to version metadata/8.12.56 (#572)

Co-authored-by: runner <runner@Mac-1663934197792.local>

* Change references to ISO 639 language code into ISO 3166 region code (#571)

* Update flags for countries with the same international code (#563)

Fix #451

* Release 3.4.10

* Updated metadata to version metadata/8.12.57 (#576)

Co-authored-by: runner <runner@Mac-1665748767715.local>

* Fix macCatalyst OS bug if language is set to Korean (#578)

* Fix minor "dispaly" typo (#580)

* Updated metadata to version metadata/8.13.0 (#582)

Co-authored-by: runner <runner@Mac-1667735953427.local>

* Make sample app use the local package

* Introducing the new error `ambiguousNumber` (#583)

ParseManager now throws an error with a list of possible phone numbers in case a number was not able to be parsed and the guessing logic provides multiple phone numbers.

* Release 3.5.0

* Updated metadata to version metadata/8.13.1 (#586)

Co-authored-by: runner <runner@Mac-1669635957015.local>

* Release 3.5.1

* Updated metadata to version metadata/8.13.2 (#589)

Co-authored-by: runner <runner@Mac-1670500125558.local>

* Release 3.5.2

* Updated metadata to version metadata/8.13.3 (#590)

Co-authored-by: runner <runner@Mac-1671752828078.local>

* Add Equatable conformance for PhoneNumberError (#591)

* Change references to ISO 639 language code into ISO 3166 region code

* Add documentation for PhoneNumberError.ambiguousNumber

* Add Equatable conformance for PhoneNumberError

* Release 3.5.3

* Add missing text field delegate method (#592)

* Updated metadata to version metadata/8.13.4 (#594)

Co-authored-by: runner <runner@Mac-1673265644046.local>

* Release 3.5.4

* Only change default region if the withFlag is true (#593)

* Fix country picker by id (#601)

* Release 3.5.5

* Revert "Fix country picker by id (#601)" (#603)

This reverts commit eddc377.

Co-authored-by: Bruno Guidolim <bruno@ruuky.com>

* Updated metadata to version metadata/8.13.5 (#604)

Co-authored-by: runner <runner@Mac-1675092228380.local>

* Release 3.5.6

* Updated metadata to version metadata/8.13.6 (#605)

* Increment Swift version (#606)

* Release 3.5.7

* Updated metadata to version metadata/8.13.7 (#608)

* ensure country codes are capitalized per ISO specs (#612)

* Release 3.5.8

* Updated metadata to version metadata/8.13.8 (#617)

* Updated metadata to version metadata/8.13.9 (#624)

* Alternate way to load contents of a file in a Data object (#620)

* Updated metadata to version metadata/8.13.10 (#631)

* Updated metadata to version metadata/8.13.11 (#636)

Co-authored-by: runner <runner@Mac-1682595728106.local>

* Release 3.5.9

---------

Co-authored-by: Nicolas Degen <ndegen@me.com>
Co-authored-by: fuyoufang <fuyoufang@163.com>
Co-authored-by: Kevin CATHALY <alaknorth@gmail.com>
Co-authored-by: Ben Myers <benl.myers01@gmail.com>
Co-authored-by: sachithamh <5784803+sachithamh@users.noreply.github.com>
Co-authored-by: Horevoi Illia <illia.horevoi@materialise.kiev.ua>
Co-authored-by: Roy Marmelstein <marmelroy@gmail.com>
Co-authored-by: Roy Marmelstein <marmelroy@spotify.com>
Co-authored-by: Alessandro Mulloni <ale@mulloni.tech>
Co-authored-by: Bruno Guidolim <bguidolim@gmail.com>
Co-authored-by: David Roman <d@vidroman.dev>
Co-authored-by: Bobby Rohweder <BobbyRohweder@gmail.com>
Co-authored-by: Bruno Guidolim <bruno@pockid.com>
Co-authored-by: Rebecca Chin <rebeccagchin@gmail.com>
Co-authored-by: Rebecca Chin <rchin@league.com>
Co-authored-by: Erkam Kücet <ekucet@gmail.com>
Co-authored-by: Luke Redpath <luke@lukeredpath.co.uk>
Co-authored-by: Michael Williams <michaeldwilliams@users.noreply.github.com>
Co-authored-by: vladislavsosiuk <vladislavsosiuk@gmail.com>
Co-authored-by: Peter Molnar <petermolnar.hu@gmail.com>
Co-authored-by: Max <14940890+MaxZheleznyy@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: runner <runner@Mac-1660824613252.local>
Co-authored-by: runner <runner@Mac-1661155838180.local>
Co-authored-by: runner <runner@Mac-1662768069832.local>
Co-authored-by: runner <runner@Mac-1663934197792.local>
Co-authored-by: Iggy Drougge <idrougge@mac.com>
Co-authored-by: runner <runner@Mac-1665748767715.local>
Co-authored-by: jackyabcde <49716044+jackyabcde@users.noreply.github.com>
Co-authored-by: Greg <greg@vida.com>
Co-authored-by: runner <runner@Mac-1667735953427.local>
Co-authored-by: runner <runner@Mac-1669635957015.local>
Co-authored-by: runner <runner@Mac-1670500125558.local>
Co-authored-by: runner <runner@Mac-1671752828078.local>
Co-authored-by: Anna Strzeżek <astrzezek@gmail.com>
Co-authored-by: runner <runner@Mac-1673265644046.local>
Co-authored-by: Olivier Destrebecq <olivier@mobdesignapps.fr>
Co-authored-by: 4taras4 <4taras4@gmail.com>
Co-authored-by: Bruno Guidolim <bruno@ruuky.com>
Co-authored-by: runner <runner@Mac-1675092228380.local>
Co-authored-by: Juantri94 <55553750+Juantri94@users.noreply.github.com>
Co-authored-by: Morgan Dock <mmdock@users.noreply.github.com>
Co-authored-by: runner <runner@Mac-1682595728106.local>
  • Loading branch information
1 parent b9589f3 commit 3c92daf
Show file tree
Hide file tree
Showing 38 changed files with 3,514 additions and 1,906 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/actions/stale
name: Mark stale issues and pull requests

on:
schedule:
- cron: '40 3 * * *'

jobs:
stale:

runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
stale-issue-label: 'stale'
stale-pr-label: 'stale'
27 changes: 27 additions & 0 deletions .github/workflows/update_metadata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Update metadata

on:
workflow_dispatch:
schedule:
- cron: '0 */12 * * *' # Every 12 hours

jobs:
build:
runs-on: macos-latest
steps:
- name: Configure Python
uses: actions/setup-python@v4
with:
python-version: '3.9'

- name: Install XML to JSON converter
run: pip install xmljson

- name: Checkout
uses: actions/checkout@v2

- name: Authorize
run: echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token

- name: Update Metadata
run: cd PhoneNumberKit/Resources && sh ./update_metadata.sh
9 changes: 4 additions & 5 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// swift-tools-version:5.3
// swift-tools-version: 5.4
import PackageDescription

let package = Package(
name: "PhoneNumberKit",
defaultLocalization: "en",
platforms: [
.iOS(.v9), .macOS(.v10_10), .tvOS(.v9), .watchOS(.v2)
.iOS(.v9), .macOS(.v10_10), .tvOS(.v10), .watchOS(.v2)
],
products: [
.library(name: "PhoneNumberKit", targets: ["PhoneNumberKit"]),
Expand All @@ -17,9 +17,8 @@ let package = Package(
path: "PhoneNumberKit",
exclude: ["Resources/Original",
"Resources/README.md",
"Resources/update.sh",
"Info.plist",
"Bundle+Resources.swift"],
"Resources/update_metadata.sh",
"Info.plist"],
resources: [
.process("Resources")
]),
Expand Down
6 changes: 3 additions & 3 deletions PhoneNumberKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = "PhoneNumberKit"
s.version = "3.3.3"
s.version = "3.5.9"
s.summary = "Swift framework for working with phone numbers"

# This description is used to generate tags and improve search results.
Expand All @@ -35,7 +35,7 @@ Pod::Spec.new do |s|

s.ios.deployment_target = '9.0'
s.osx.deployment_target = '10.10'
s.tvos.deployment_target = '9.0'
s.tvos.deployment_target = '10.0'
s.watchos.deployment_target = '2.0'

s.pod_target_xcconfig = { 'SWIFT_VERSION' => '5.0' }
Expand All @@ -44,7 +44,7 @@ Pod::Spec.new do |s|
s.subspec 'PhoneNumberKitCore' do |core|
core.ios.deployment_target = '9.0'
core.osx.deployment_target = '10.10'
core.tvos.deployment_target = '9.0'
core.tvos.deployment_target = '10.0'
core.watchos.deployment_target = '2.0'
core.source_files = "PhoneNumberKit/*.{swift}"
core.resources = "PhoneNumberKit/Resources/PhoneNumberMetadata.json"
Expand Down
60 changes: 43 additions & 17 deletions PhoneNumberKit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@
A863BC9B23801ABC00088460 /* PhoneNumberMetadata.json in Resources */ = {isa = PBXBuildFile; fileRef = A863BC9923801ABC00088460 /* PhoneNumberMetadata.json */; };
A863BC9C23801ABC00088460 /* PhoneNumberMetadata.json in Resources */ = {isa = PBXBuildFile; fileRef = A863BC9923801ABC00088460 /* PhoneNumberMetadata.json */; };
A863BC9D23801ABC00088460 /* PhoneNumberMetadata.json in Resources */ = {isa = PBXBuildFile; fileRef = A863BC9923801ABC00088460 /* PhoneNumberMetadata.json */; };
C5639CD025B9127D009637AF /* PhoneNumberTextField.swift in Sources */ = {isa = PBXBuildFile; fileRef = 343B850B1C62A25600918E46 /* PhoneNumberTextField.swift */; };
C5639CD625B9127D009637AF /* PhoneNumberTextField.swift in Sources */ = {isa = PBXBuildFile; fileRef = 343B850B1C62A25600918E46 /* PhoneNumberTextField.swift */; };
C5639CD725B9127E009637AF /* PhoneNumberTextField.swift in Sources */ = {isa = PBXBuildFile; fileRef = 343B850B1C62A25600918E46 /* PhoneNumberTextField.swift */; };
C5639CDD25B91283009637AF /* CountryCodePickerViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5D14267C238F5842002DD197 /* CountryCodePickerViewController.swift */; };
C5639CE325B91284009637AF /* CountryCodePickerViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5D14267C238F5842002DD197 /* CountryCodePickerViewController.swift */; };
C5639CE425B91284009637AF /* CountryCodePickerViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5D14267C238F5842002DD197 /* CountryCodePickerViewController.swift */; };
C6B53DA51D944F8000E607DD /* NSRegularExpression+Swift.swift in Sources */ = {isa = PBXBuildFile; fileRef = 11C2EF381D62BC3200052D44 /* NSRegularExpression+Swift.swift */; };
C6B53DA61D944F8000E607DD /* NSRegularExpression+Swift.swift in Sources */ = {isa = PBXBuildFile; fileRef = 11C2EF381D62BC3200052D44 /* NSRegularExpression+Swift.swift */; };
C6B53DA71D94508400E607DD /* NSRegularExpression+Swift.swift in Sources */ = {isa = PBXBuildFile; fileRef = 11C2EF381D62BC3200052D44 /* NSRegularExpression+Swift.swift */; };
Expand Down Expand Up @@ -83,6 +89,11 @@
C6DF6CDF1D1B18D800259F4B /* PhoneNumberParser.swift in Sources */ = {isa = PBXBuildFile; fileRef = 342418811BB70F5200EE70E7 /* PhoneNumberParser.swift */; };
C6DF6CE01D1B18D800259F4B /* RegexManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34566C991BC112C500715E6B /* RegexManager.swift */; };
C9D81F822348025700B75AB7 /* PhoneNumberTextFieldTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = C9D81F812348025700B75AB7 /* PhoneNumberTextFieldTests.swift */; };
D51A60A9274416050021EE7E /* PhoneNumber+Codable.swift in Sources */ = {isa = PBXBuildFile; fileRef = D51A60A8274416050021EE7E /* PhoneNumber+Codable.swift */; };
D51A60AA2744160B0021EE7E /* PhoneNumber+Codable.swift in Sources */ = {isa = PBXBuildFile; fileRef = D51A60A8274416050021EE7E /* PhoneNumber+Codable.swift */; };
D51A60AB2744160B0021EE7E /* PhoneNumber+Codable.swift in Sources */ = {isa = PBXBuildFile; fileRef = D51A60A8274416050021EE7E /* PhoneNumber+Codable.swift */; };
D51A60AC2744160C0021EE7E /* PhoneNumber+Codable.swift in Sources */ = {isa = PBXBuildFile; fileRef = D51A60A8274416050021EE7E /* PhoneNumber+Codable.swift */; };
D51A60AE27442EF50021EE7E /* PhoneNumber+CodableTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D51A60AD27442EF50021EE7E /* PhoneNumber+CodableTests.swift */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -130,6 +141,8 @@
C6DF6CA71D1B145300259F4B /* PhoneNumberKit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PhoneNumberKit.h; sourceTree = "<group>"; };
C6DF6CCC1D1B18B000259F4B /* PhoneNumberKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = PhoneNumberKit.framework; sourceTree = BUILT_PRODUCTS_DIR; };
C9D81F812348025700B75AB7 /* PhoneNumberTextFieldTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PhoneNumberTextFieldTests.swift; sourceTree = "<group>"; };
D51A60A8274416050021EE7E /* PhoneNumber+Codable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "PhoneNumber+Codable.swift"; sourceTree = "<group>"; };
D51A60AD27442EF50021EE7E /* PhoneNumber+CodableTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "PhoneNumber+CodableTests.swift"; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -226,6 +239,7 @@
34566C991BC112C500715E6B /* RegexManager.swift */,
34F26FBD2517DCB700B6AF4D /* Bundle+Resources.swift */,
3424187F1BB705B500EE70E7 /* PhoneNumber.swift */,
D51A60A8274416050021EE7E /* PhoneNumber+Codable.swift */,
34AA66011BDD160B00467912 /* Constants.swift */,
3420CF5D1BE8959F00FAE34F /* Formatter.swift */,
343B850A1C62A25600918E46 /* PartialFormatter.swift */,
Expand All @@ -244,6 +258,7 @@
isa = PBXGroup;
children = (
342418731BB6E5A000EE70E7 /* PhoneNumberKitTests.swift */,
D51A60AD27442EF50021EE7E /* PhoneNumber+CodableTests.swift */,
346EF14D1C69C688008C7306 /* PartialFormatterTests.swift */,
34776AA71BE2BF1100400790 /* PhoneNumberKitParsingTests.swift */,
342418751BB6E5A000EE70E7 /* Info.plist */,
Expand Down Expand Up @@ -396,7 +411,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0700;
LastUpgradeCheck = 1210;
LastUpgradeCheck = 1320;
ORGANIZATIONNAME = "Roy Marmelstein";
TargetAttributes = {
342418631BB6E5A000EE70E7 = {
Expand Down Expand Up @@ -504,6 +519,7 @@
3417BD6B2210AC4900477EE7 /* MetadataParsing.swift in Sources */,
346922691BC023A60023482F /* PhoneNumberKit.swift in Sources */,
343B850C1C62A25600918E46 /* PartialFormatter.swift in Sources */,
D51A60A9274416050021EE7E /* PhoneNumber+Codable.swift in Sources */,
3422D9BA1BE6A2D500867D02 /* ParseManager.swift in Sources */,
34566C9A1BC112C500715E6B /* RegexManager.swift in Sources */,
342418801BB705B500EE70E7 /* PhoneNumber.swift in Sources */,
Expand All @@ -517,6 +533,7 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
D51A60AE27442EF50021EE7E /* PhoneNumber+CodableTests.swift in Sources */,
34776AA81BE2BF1100400790 /* PhoneNumberKitParsingTests.swift in Sources */,
342418741BB6E5A000EE70E7 /* PhoneNumberKitTests.swift in Sources */,
346EF14E1C69C688008C7306 /* PartialFormatterTests.swift in Sources */,
Expand All @@ -536,9 +553,12 @@
C6DF6C551D1B09DD00259F4B /* Formatter.swift in Sources */,
1B80904E2300B4DC006AE849 /* MetadataParsing.swift in Sources */,
C6DF6C5C1D1B09DD00259F4B /* PhoneNumber.swift in Sources */,
C5639CD025B9127D009637AF /* PhoneNumberTextField.swift in Sources */,
C6DF6C541D1B09DD00259F4B /* Constants.swift in Sources */,
D51A60AA2744160B0021EE7E /* PhoneNumber+Codable.swift in Sources */,
34F26FBF2517DCB700B6AF4D /* Bundle+Resources.swift in Sources */,
C6DF6C591D1B09DD00259F4B /* MetadataTypes.swift in Sources */,
C5639CDD25B91283009637AF /* CountryCodePickerViewController.swift in Sources */,
C6DF6C5F1D1B09DD00259F4B /* RegexManager.swift in Sources */,
C6DF6C581D1B09DD00259F4B /* MetadataManager.swift in Sources */,
C6DF6C561D1B09DD00259F4B /* PartialFormatter.swift in Sources */,
Expand All @@ -557,9 +577,12 @@
C6DF6CB31D1B159A00259F4B /* Formatter.swift in Sources */,
1B80904F2300B4DC006AE849 /* MetadataParsing.swift in Sources */,
C6DF6CBA1D1B159A00259F4B /* PhoneNumber.swift in Sources */,
C5639CD625B9127D009637AF /* PhoneNumberTextField.swift in Sources */,
C6DF6CB21D1B159A00259F4B /* Constants.swift in Sources */,
D51A60AB2744160B0021EE7E /* PhoneNumber+Codable.swift in Sources */,
34F26FC02517DCB700B6AF4D /* Bundle+Resources.swift in Sources */,
C6DF6CB71D1B159A00259F4B /* MetadataTypes.swift in Sources */,
C5639CE325B91284009637AF /* CountryCodePickerViewController.swift in Sources */,
C6DF6CBD1D1B159A00259F4B /* RegexManager.swift in Sources */,
C6DF6CB61D1B159A00259F4B /* MetadataManager.swift in Sources */,
C6DF6CB41D1B159A00259F4B /* PartialFormatter.swift in Sources */,
Expand All @@ -578,9 +601,12 @@
C6DF6CDD1D1B18D800259F4B /* PhoneNumber.swift in Sources */,
C6DF6CD51D1B18D800259F4B /* Constants.swift in Sources */,
1B8090502300B4DD006AE849 /* MetadataParsing.swift in Sources */,
C5639CD725B9127E009637AF /* PhoneNumberTextField.swift in Sources */,
C6DF6CDA1D1B18D800259F4B /* MetadataTypes.swift in Sources */,
D51A60AC2744160C0021EE7E /* PhoneNumber+Codable.swift in Sources */,
34F26FC12517DCB700B6AF4D /* Bundle+Resources.swift in Sources */,
C6DF6CE01D1B18D800259F4B /* RegexManager.swift in Sources */,
C5639CE425B91284009637AF /* CountryCodePickerViewController.swift in Sources */,
C6DF6CD91D1B18D800259F4B /* MetadataManager.swift in Sources */,
1B1A4DD82300759E006AE849 /* PhoneNumberFormatter.swift in Sources */,
C6DF6CD71D1B18D800259F4B /* PartialFormatter.swift in Sources */,
Expand Down Expand Up @@ -641,7 +667,7 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 26;
CURRENT_PROJECT_VERSION = 27;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
Expand Down Expand Up @@ -704,7 +730,7 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 26;
CURRENT_PROJECT_VERSION = 27;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
Expand Down Expand Up @@ -738,7 +764,7 @@
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 26;
DYLIB_CURRENT_VERSION = 27;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = PhoneNumberKit/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
Expand All @@ -761,7 +787,7 @@
"DEBUG_INFORMATION_FORMAT[sdk=macosx*]" = "dwarf-with-dsym";
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 26;
DYLIB_CURRENT_VERSION = 27;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = PhoneNumberKit/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
Expand Down Expand Up @@ -802,10 +828,10 @@
CLANG_ANALYZER_NONNULL = YES;
CODE_SIGN_IDENTITY = "";
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 26;
CURRENT_PROJECT_VERSION = 27;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 26;
DYLIB_CURRENT_VERSION = 27;
DYLIB_INSTALL_NAME_BASE = "@rpath";
FRAMEWORK_VERSION = A;
INFOPLIST_FILE = "$(SRCROOT)/PhoneNumberKit/Info.plist";
Expand All @@ -825,10 +851,10 @@
CLANG_ANALYZER_NONNULL = YES;
CODE_SIGN_IDENTITY = "";
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 26;
CURRENT_PROJECT_VERSION = 27;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 26;
DYLIB_CURRENT_VERSION = 27;
DYLIB_INSTALL_NAME_BASE = "@rpath";
FRAMEWORK_VERSION = A;
INFOPLIST_FILE = "$(SRCROOT)/PhoneNumberKit/Info.plist";
Expand All @@ -848,10 +874,10 @@
APPLICATION_EXTENSION_API_ONLY = YES;
CLANG_ANALYZER_NONNULL = YES;
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
CURRENT_PROJECT_VERSION = 26;
CURRENT_PROJECT_VERSION = 27;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 26;
DYLIB_CURRENT_VERSION = 27;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = PhoneNumberKit/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
Expand All @@ -871,10 +897,10 @@
APPLICATION_EXTENSION_API_ONLY = YES;
CLANG_ANALYZER_NONNULL = YES;
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
CURRENT_PROJECT_VERSION = 26;
CURRENT_PROJECT_VERSION = 27;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 26;
DYLIB_CURRENT_VERSION = 27;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = PhoneNumberKit/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
Expand All @@ -893,10 +919,10 @@
buildSettings = {
CLANG_ANALYZER_NONNULL = YES;
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
CURRENT_PROJECT_VERSION = 26;
CURRENT_PROJECT_VERSION = 27;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 26;
DYLIB_CURRENT_VERSION = 27;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = "$(SRCROOT)/PhoneNumberKit/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
Expand All @@ -915,10 +941,10 @@
buildSettings = {
CLANG_ANALYZER_NONNULL = YES;
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
CURRENT_PROJECT_VERSION = 26;
CURRENT_PROJECT_VERSION = 27;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 26;
DYLIB_CURRENT_VERSION = 27;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = "$(SRCROOT)/PhoneNumberKit/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1210"
LastUpgradeVersion = "1320"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1210"
LastUpgradeVersion = "1320"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1210"
LastUpgradeVersion = "1320"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1210"
LastUpgradeVersion = "1320"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Loading

0 comments on commit 3c92daf

Please sign in to comment.