Unable to Add Build Phases to a Target in Xcode 5 after Clicking on Whitespace

Originator:PaulSolt
Number:rdar://15178189 Date Originated:10/8/2013
Status:Open Resolved:
Product:Xcode 5 Product Version:
Classification:UI Reproducible:Always
 
Summary:
Adding Build Phases is harder in Xcode 5. The old options are no longer available leaving a buggy menu system.

The menu options to add Build Phases will remain "grayed out" if the developer does not have focus directly on the Build Phases tab. Miss clicking on whitespace in the Project Navigator, Utility Panel, Target List, or other panels in Xcode make it impossible to add a "Run Script Build Phase" 

The workaround is to select the whitespace underneath Build Phases to regain focus.

Steps to Reproduce:
1. Click on Project in the Project Navigator.
2. Click on a Target
3. Click on Build Settings
4. Go to menu Editor -> Add Build Phase -> Add Run Script Build Phase

(grayed out)

1. Click on Target
2. Click on Build Phases
3. Click on whitespace below Target list
4. Go to menu Editor -> Add Build Phase -> Add Run Script Build Phase

(grayed out)

Non-obvious Workaround:
1. Click on Target
2. Click on Build Phases
3. Click on whitespace below Build Phases to regain focus
4. Go to menu Editor -> Add Build Phase -> Add Run Script Build Phase

(not grayed out)

Expected Results:
The Add Build Phases should be visible when focus isn't on the Build Phases tab. I should be able to add a build phase anytime I have selected my target.

Actual Results:
The options to add a Build Phase form the menu on Xcode 5 are grayed out if the "Build Phases" tab losses focus.

This creates buggy behavior for a developer who accidentally clicks elsewhere in Xcode or a different window.

Version:
Version 5.0 (5A1413)
OS X 10.8.5

Notes:
Sample project with static library targets attached to use.

Configuration:
Xcode 5 
Macbook Pro Retina 2012

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!