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

Crashing on launch #9

Open reidnez opened 10 years ago

reidnez commented 10 years ago

Hi there, I have followed the instructions and added the PhoneFormats.dat file, but the sample project throws an exception and crashes on launch for me on line 1078 of RMPhoneFormat.m, in the parseDataHandler method:

    [_countryCallingCode setObject:callingCode forKey:country];

Reason is "setObjectForKey: key can not be nil"

Any advice? Thanks!

rmaddy commented 10 years ago

What was the full path of the Default.phoneformat you used?