Improve Xcode handling of external project chnages

Originator:matej
Number:rdar://27124693 Date Originated:01-Jul-2016 07:37 AM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 7 and 8 beta
Classification:UI/Usability Reproducible:Sometimes
 
Summary:

When using version control (say command line GIT) to checkout a different version of our project we frequently get into situations where a bunch of our workspace projects are modified externally. This confuses Xcode and results in long sequences of reload alerts being presented. 

Steps to Reproduce:

Use version control to check out an older version of a sufficiently complex workspace. 

Expected Results:

Xcode would detect that several projects were modified and offer to reload the entire workspace. 

Actual Results:

A sequence of alerts is presented, promoting to reload every single project that changed. See the attached GIF. It can even get much worse that this for us. 

Regression:

Happens in every Xcode version so far. Including Xcode 8 beta. 

Note:

The workaround is to have Xcode closed during the checkout. It’s not a very convenient one though, as you might forget to do this or have to do it frequently during some operations (say bisecting the history to find a regression).

Comments

GIF

http://cl.ly/1Z1Y2u2M2U1N


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!