Signal's fork of libPhoneNumber-iOS
This is Signal's fork of libPhoneNumber-iOS, which is an Objective-C port of Google's libphonenumber.
If you want the latest metadata from libphonenumber...
- Clone this fork.
- Determine the version of libphonenumber (not libPhoneNumber-iOS) that you want to pull metadata from. For example, v1.2.3. You may wish to visit the libphonenumber repo.
- From the project root, run
LIBPHONENUMBER_REF=v1.2.3 make update_metadata
, replacing the variable with whatever version you want. This script fetches metadata from the libphonenumber repo and updates a few files in this one. Most notably, it changeslibPhoneNumber/NBPhoneNumberMetaData.plist
. - Commit the changes to the
signal-master
and push the changes.
From there, you can update the dependency in the Signal iOS project as normal, likely using bundle exec pod update libPhoneNumber-iOS
.