Settings

Theme

Show HN:Enhance Xcode Error Support with Run Script ChatGPT Integration

gist.github.com

2 points by thopkinson 10 months ago · 4 comments

Reader

thopkinsonOP 10 months ago

The problem this solves: The ChatGPT desktop app can't normally "see" Xcode's compiler warnings or errors when helping you debug your project.

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.

Now you'll be able to direct ChatGPT to support fixing the issues at will and it sees the errors/warnings

gwbennett 10 months ago

Awesome. Thanks for showing this.

chewylion 10 months ago

happy to have stumbled upon this, thank u much!

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection