Xcode project must be re-opened when command-line git updates the project file

Originator:badanalog
Number:rdar://9888510 Date Originated:8/3/2011
Status:Open Resolved:
Product:Xcode Product Version:4.1
Classification:UI/Usability Reproducible:Yes
 
03-Aug-2011 06:27 AM Jess Bowers:
Summary:

The Xcode project must be closed, re-opened after a user makes changes to the project file from command-line git.  

Steps to Reproduce:

Open Xcode iOS Development project file (eg. MyProject)
Note the Scheme says "My Project|iPad" or similar
Open Terminal
Change branches, or otherwise change the project file using git.  For example:
  cd MyProject
  git pull
  (where there is a new change that will affect MyProject.xcodeproj/project.pbxproj)
Switch to Xcode
Note the Scheme now says "My Project" and when selected "My Project My Mac 64 bit"


Expected Results:
Xcode would automatically re-load the project settings when the project file changes on disk


Actual Results:
Xcode project must be closed, reopened to restore project settings


Regression:
Tested in Xcode 4.0.2, 4.1 on Lion


Notes:

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!