Xcode: Unexpected behavior with .dist files (appear as folders, can't edit)
| Originator: | j.a.grigutis | ||
| Number: | rdar://13186832 | Date Originated: | 09-Feb-2013 09:37 AM |
| Status: | Duplicate/13128453 | Resolved: | 01-Mar-2013 06:58 PM |
| Product: | Developer Tools | Product Version: | 4.6/4H127 |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: According to the [Distribution Definition XML Schema Reference](https://developer.apple.com/library/mac/#documentation/DeveloperTools/Reference/DistributionDefinitionRef/Chapters/Introduction.html): "An installer package can contain only one distribution definition file, which must be named distribution.dist." Attempting to create this file in an Xcode project results in a file that Xcode thinks is a folder (Identity and Type just lists a "Folder Name" attribute) and is uneditable in Xcode. Adding an existing file named "distribution.dist" results in the file and content appearing in Xcode, but it still thinks it is a folder and the content is uneditable. Steps to Reproduce: 1. Create a new OS X Command Line Tool project. 2. Add an "Empty" file (File > New > Fileā¦) named "distribution.dist". Expected Results: The file should appear in the project navigator as a text file and be editable. Actual Results: The file appears in the project navigator but with a disclosure triangle (as if it were a folder) and is not editable. Regression: Notes: This occurs with any file that has a .dist extension.
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!