![ChatGPT for macOS Now Edits Xcode, IDE Code Directly [Video] ChatGPT for macOS Now Edits Xcode, IDE Code Directly [Video]](/images/news/96653/461735/461735-64.png)
ChatGPT for macOS Now Edits Xcode, IDE Code Directly [Video]
Posted March 6, 2025 at 9:00pm by iClarified
OpenAI has just rolled out a significant update to its ChatGPT for Mac app that enables direct code editing within integrated development environments (IDEs) like Xcode. For the many coders already using ChatGPT as a companion tool, this could significantly streamline workflows on macOS.
John, an engineer on the ChatGPT Desktop Team, demonstrated this with a sample SwiftUI project displaying a solar system view. Using the Option + Space shortcut, he summoned ChatGPT, which automatically synced with Xcode as the active editor. He then tasked it with adding a star field overlay to the background, leveraging GPT-4.5, OpenAI's latest and most advanced model. While slower than lighter models like o3-mini, GPT-4.5 does well at creative coding tasks. ChatGPT generated a plan, wrote the code, and produced a diff for review. After approving the changes, John applied them, and the edits landed directly in Xcode, instantly updating the SwiftUI preview with a new star field.
Notably, the app adapts to the active editor, switching context between tools like Xcode and VS Code. In the demo, John shifted to VS Code to tweak a local HTTP server powering the project, asking ChatGPT to add realistic planet colors. With an auto-apply toggle enabled, the changes skipped manual review and wrote straight to the file, though diffs remain available for inspection or reversion. Back in Xcode, the updated colors appeared in the solar system view, showcasing how ChatGPT maintains context across editors.
The ability to edit Xcode projects directly, combined with features like Command + Z to undo changes, integrates ChatGPT more deeply into the macOS coding ecosystem. This update could make ChatGPT an even more essential tool for Mac developers.
You can download ChatGPT for macOS here. The ability to edit code directly in IDEs is available to Plus, Pro, and Team users.
Check out the full demo in the video below...
John, an engineer on the ChatGPT Desktop Team, demonstrated this with a sample SwiftUI project displaying a solar system view. Using the Option + Space shortcut, he summoned ChatGPT, which automatically synced with Xcode as the active editor. He then tasked it with adding a star field overlay to the background, leveraging GPT-4.5, OpenAI's latest and most advanced model. While slower than lighter models like o3-mini, GPT-4.5 does well at creative coding tasks. ChatGPT generated a plan, wrote the code, and produced a diff for review. After approving the changes, John applied them, and the edits landed directly in Xcode, instantly updating the SwiftUI preview with a new star field.
Notably, the app adapts to the active editor, switching context between tools like Xcode and VS Code. In the demo, John shifted to VS Code to tweak a local HTTP server powering the project, asking ChatGPT to add realistic planet colors. With an auto-apply toggle enabled, the changes skipped manual review and wrote straight to the file, though diffs remain available for inspection or reversion. Back in Xcode, the updated colors appeared in the solar system view, showcasing how ChatGPT maintains context across editors.
The ability to edit Xcode projects directly, combined with features like Command + Z to undo changes, integrates ChatGPT more deeply into the macOS coding ecosystem. This update could make ChatGPT an even more essential tool for Mac developers.
You can download ChatGPT for macOS here. The ability to edit code directly in IDEs is available to Plus, Pro, and Team users.
Check out the full demo in the video below...
ChatGPT for macOS can now edit code directly in IDEs. Available to Plus, Pro, and Team users. pic.twitter.com/WPB2RMP0tj
— OpenAI Developers (@OpenAIDevs) March 6, 2025
![Apple Rocked by Executive Turmoil as Chip Chief Johny Srouji Considers Leaving [Report] Apple Rocked by Executive Turmoil as Chip Chief Johny Srouji Considers Leaving [Report]](/images/news/99269/99269/99269-160.jpg)
![Apple, Google, Samsung Protest India's Mandatory Always-On Location Tracking Plan [Report] Apple, Google, Samsung Protest India's Mandatory Always-On Location Tracking Plan [Report]](/images/news/99266/99266/99266-160.jpg)
![OpenAI Accelerates GPT-5.2 Launch to Next Week Amid 'Code Red' [Report] OpenAI Accelerates GPT-5.2 Launch to Next Week Amid 'Code Red' [Report]](/images/news/99261/99261/99261-160.jpg)
![Apple Execs and AI Engineers Defect to Rivals, Challenging iPhone Dominance [Report] Apple Execs and AI Engineers Defect to Rivals, Challenging iPhone Dominance [Report]](/images/news/99257/99257/99257-160.jpg)






![AirPods 4 With ANC Are Still On Sale for Just $99! [Lowest Price Ever] AirPods 4 With ANC Are Still On Sale for Just $99! [Lowest Price Ever]](/images/news/99264/99264/99264-160.jpg)
![Final Cyber Monday Deals: M4 MacBook Air for $749, Beats, Sonos, and More [List] Final Cyber Monday Deals: M4 MacBook Air for $749, Beats, Sonos, and More [List]](/images/news/99203/99203/99203-160.jpg)
![iPad mini 7 Falls to New All-Time Low of $349 [Cyber Monday 2025] iPad mini 7 Falls to New All-Time Low of $349 [Cyber Monday 2025]](/images/news/99197/99197/99197-160.jpg)
![Apple Watch Series 11 Drops to New All-Time Low Price of $329 [Cyber Monday 2025] Apple Watch Series 11 Drops to New All-Time Low Price of $329 [Cyber Monday 2025]](/images/news/99195/99195/99195-160.jpg)
