Simulator doesn't save screenshots when the user's date format contains path sep
| Originator: | felipekellermann | ||
| Number: | rdar://11723743 | Date Originated: | 21-Jun-2012 09:18 PM |
| Status: | Closed | Resolved: | |
| Product: | Developer Tools | Product Version: | 4.3.3 |
| Classification: | Serious Bug | Reproducible: | Always |
21-Jun-2012 09:18 PM Felipe Kellermann: Summary: The iOS Simulator application fails completely and silently to save screenshots when the user's date format contains UNIX path separator (aka '/'). This means a path separator is missing somewhere. I found the problem by looking the console logs, where a part of the file name was being exposed: 21/06/12 21:04:19,789 iPhone Simulator: Failed to write screenshot (The file “2012 21.04.19.png” doesn’t exist.) Steps to Reproduce: 1. Change the OS X date format to any formatting that uses UNIX path separator in dates (e.g.: Brasil, Portugal, Spanish, many others). 2. Restart Xcode / iOS Simulator. 3. Try to use the "Save Screen Shot" feature (Command-S). Expected Results: A file saved in ~/Desktop (or com.apple.screencapture) containing the screenshot. Actual Results: Nothing happens, the "Save Screen Shot" fails silently. Regression: - Notes: Very annoying to change the system date format to save some screnshots. Many users are complaining in the official/unofficial foruns trying to fix the issue.
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!