Viewing a xib without making changes causes the file to change
| Originator: | atomicbird | ||
| Number: | rdar://15548031 | Date Originated: | 25-Nov-2013 04:41 PM |
| Status: | Closed | Resolved: | Duplicate/13233222 |
| Product: | Developer Tools | Product Version: | Xcode 5.0.2 / 5A3005 |
| Classification: | Reproducible: | Always |
Summary: Xcode makes changes to xib files when it opens them which do not reflect any user actions. Simply viewing a xib is sufficient to change the file. These changes are in the com.apple.InterfaceKit and macosx.version keys. As a result of this developers who use source control end up either: 1. Constantly committing meaningless changes with messages like "I don't know, Xcode changed something", or 2. Constantly rolling back meaningless changes. Steps to Reproduce: 1. Create a project with at least one xib. 2. View but do not change this file in a newer version of Xcode and/or Mac OS X than the version used when creating the file. Expected Results: If the user has only viewed the file, not changed it, the file would not be changed. Actual Results: Xcode makes its own changes, leading the developer to choose which of the two stupid options outlined above he/she prefers. Version: Xcode 5.0.2 / 5A3005, Mac OS X 10.9 / 13A603. Notes: A screenshot of the file differences is attached. Configuration: Attachments: 'xib diff-1.png' was successfully uploaded. For OpenRadar: the image can be seen at http://cl.ly/image/182p372c1R3W
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!