CLGeocoder fails to geocode 45999 zip code
| Originator: | m4ttcheetham | ||
| Number: | rdar://18649150 | Date Originated: | 10/14/2014 |
| Status: | Closed | Resolved: | 10/15/2014 |
| Product: | iOS SDK | Product Version: | iOS 8.0.2 [12A405] |
| Classification: | Reproducible: | Always |
Summary: Using CLGeocoder to geocode the 45999 zip code fails. Returns kCLErrorDomain error 8. Steps to Reproduce: Create an instance of CLGeocoder Geocode the string "45999". Observe error code 8 returned This is also reproducible in the weather and maps apps on iOS. Expected Results: Should geocode the location of Cincinnati, OH 45999. Actual Results: Returns Error (See screenshot of presented error) Version: iOS 8.0.2 [12A405] Notes: Configuration: All iOS Devices including iOS Simulator
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
Response from Apple
Engineering has determined that this issue behaves as intended based on the following:
For this specific issue, the system works as designed. ZIP Code 45999 is used by IRS and it seems like it's a "virtual" ZIP Code, as in there is no physical location corresponding to this ZIP Code. Since, there are no coordinates and / or address to return, this query returns kCLErrorDomain error 8.
Please update your bug report to let us know if this is still an issue for you.