Xcode: Simulate Location Crash when using German region format with a GPX
Originator: | futuretap | ||
Number: | rdar://10298164 | Date Originated: | 17-Oct-2011 10:32 PM |
Status: | Duplicate/10122362/Closed | Resolved: | |
Product: | Developer Tools | Product Version: | 4.2 |
Classification: | Crash/Hang/Data Loss | Reproducible: | Always |
Summary: When using the system region format "Germany", Xcode does immediately crash when using the new Debug=>Simulate Location feature with a custom GPX file. Steps to Reproduce: Use the attached GPX file and switch the system region to Germany. Expected Results: It should just work. Actual Results: Xcode crashes with an exception (see attached) Notes: I assume the German decimal comma (and dot for the thousands delimiter) is causing the problem.
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!
Here is a workaround...
As you correctly suspected, it's to do with the decimal separator being a comma in the German (and in my case Portuguese) localizations. To work around this I just used a comma instead of a dot in my GPX file and it works fine. Here's an example:
Hope that helps.