Xcode 6 exports Mac app with scheme name instead of product name
| Originator: | rsfinn | ||
| Number: | rdar://18574472 | Date Originated: | 10/7/2014 |
| Status: | Closed | Resolved: | 7.2.1 |
| Product: | Xcode | Product Version: | 6.0.1 |
| Classification: | Reproducible: | Always |
[This issue appears to have been resolved somewhere along the road from Xcode 6.0.1 to Xcode 7.2.1, as the latter version behaves correctly, naming the application as expected.]
Summary:
When exporting a Developer ID-signed copy of my Mac application from an archive build, Xcode 6 offers to name the exported application with the name of the scheme used to build the archive, rather than the product name (as in previous versions of Xcode).
Steps to Reproduce:
1. Open an Xcode workspace containing an OS X application project named "MacClient", which in turn contains an application target named "Simplify Printing TX". The target's product name is also "Simplify Printing TX". The workspace contains a scheme corresponding to this product that is named "Mac Client" (with a space).
2. Select the scheme ("Mac Client") and choose Product > Archive.
3. From the Organizer window, select the resulting archive ("Mac Client") and click Export.
4. Choose "Export a Developer ID-signed Application".
5. Select a Development Team in the following sheet.
6. Wait as the archive is prepared for export.
7. When the summary sheet is presented, click Export to present a save sheet for naming the exported application.
Expected Results:
The default name for the application is the product name specified in the application target's build settings (in this case, "Simplify Printing TX").
Actual Results:
The default name for the application is the scheme name used to build the application (in this case, "Mac Client").
Version:
Xcode version 6.0.1 (6A317)
OS X version 10.9.5 (13F34)
Configuration:
This problem is observed to occur with Xcode version 6.0.1. It was not observed to occur with Xcode 5.1.1 or earlier versions.
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!
14-Oct-2014
Submitted a sample workspace that exhibits the bad behavior, in response to a request by Engineering.