rmaddy / RMPhoneFormat

RMPhoneFormat provides a simple to use class for formatting phone numbers in iOS apps. The formatting should replicate what you would see in the Contacts app for the same phone number.
266 stars 61 forks source link

Can't find .dat file #24

Open hakkam20 opened 7 years ago

hakkam20 commented 7 years ago

I can't find the .dat file on this path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AppSupport.framework

So, I am unable to run the project as there is no AppSupport.framework on this path.

screen shot 2017-11-01 at 11 39 53 am

Please Help.

Thanks in advance.

carllindberg commented 5 years ago

It was in that framework (with a file called Default.phoneformat) through iOS 10.x. Starting in iOS 11.x, the file is now in .../System/Library/PrivateFrameworks/CorePhoneNumbers.framework and is called "CorePhoneNumbers.ruleset" . The location can be in /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot or for older OS versions in /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS XX.simruntime/...