Performing a git bisect with Xcode open leads to endless prompts about which version of the project files to use.

Originator:brian
Number:rdar://FB16489068 Date Originated:February 12, 2025 at 10:25 AM
Status:Open Resolved:
Product:Xcode Product Version:16.2
Classification: Reproducible:
 
When developers are trying to find regressions in their code, using a git bisect on the command line is often the fastest way to find the offending commit. Unfortunately, when running a bisect and having Xcode open this leads to Xcode constantly saying that the backing file has been modified outside of Xcode (due to the checking out of different commits) and forcing the developer to pick either “Read From Disk” or “Keep Xcode Version” (see attached image).

Ideally Xcode just doesn’t do this. Modern IDEs like VS Code and Visual Studio do not exhibit this problem they simply handle the changes gracefully. This would be the ideal solution for Xcode.

If such a solution is not possible, being able to at least save the preference per project of automatically taking the “Read From Disk” or “Keep Xcode Version” option with a way to reset it if needed would be the minimally viable solution.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at feedbackassistant.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!