The problem this solves: The ChatGPT desktop app can't normally "see" Xcode's compiler warnings or errors when helping you debug your project.<p>The solution:
1. Put the posted run script in your Xcode target's build phase.
2. Point an Xcode editor to the new BuildIssues.md in your project.
3. Point ChatGPT desktop to Xcode context.<p>Now you'll be able to direct ChatGPT to support fixing the issues at will and it sees the errors/warnings