Scheme names with forward slash have inconsistent behavior

Originator:mail
Number:rdar://39595559 Date Originated:April 20 2018, 4:24 PM
Status:Open Resolved:
Product:Xcode Product Version:9.3
Classification:Bug Reproducible:Yes
 
Summary:

If you rename a scheme to include a forward slash, it'll rename the underlying .xcscheme file. However, it won't include a slash in the filename (or translate / to :), and instead create a folder with the part before the slash, and name the file with the part after the slash. The scheme will continue to show up in the UI after the rename, until you close and reopen the project.

Steps to Reproduce:

- Create a scheme that includes a forward slash in its name
- Scheme will show up in the list with the slash, and it's buildable from the UI, but not via xcodebuild.
- Close the project and reopen it (or restart Xcode)
- Scheme will no longer show up in the UI either.

Expected Results:

UI disallows including a forward slash character, or ideally do the / to : translation when saving, and the reverse transformation when displaying the name.


Version/Build: Version 9.3 (9E145)

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!