OpenAI's ChatGPT for Mac Now Works With Xcode - MacRumorsOpen MenuShow RoundupsShow Forums menuVisit ForumsOpen Sidebar
Skip to Content

OpenAI's ChatGPT for Mac Now Works With Xcode

The ChatGPT app for Mac is now able to integrate with coding apps like Xcode, VS Code, TextEdit, and Terminal, simplifying workflows where developers copy and paste their code from a coding app into ChatGPT.

open ai logo
When ChatGPT is given permission to interact with an app like Xcode through a new Work with Apps feature, a selection of code can be sent directly to ChatGPT alongside a prompt. TechCrunch had a demo of the feature, and described how it works:

In a demo with TechCrunch, an OpenAI employee opened the ChatGPT app and an Xcode environment containing a simple project modeling the solar system - although it was missing the Earth. The employee selected an Xcode tab within ChatGPT, which tells the AI chatbot to look at the app, and prompted the chatbot to "add the missing planets." The chatbot was able to complete the task, writing a line of code to represent the Earth that matched the rest of the project's format.

Back in October, GitHub brought Copilot integration to Xcode, with Copilot providing coding assistance right in the app. ChatGPT's integration is not that deep, and it is not able to write code in Xcode. ChatGPT is instead using the macOS Accessibility API for screen readers that allows apps to read text, which also means that it cannot interpret images or videos.

The new ChatGPT for Mac feature is available for ChatGPT Plus and ChatGPT Teams users starting today, with Enterprise and Edu support coming in the near future. Going forward, OpenAI plans to bring this integration to other apps.

Popular Stories

General macOS Mail Feature

ChatGPT Can Now Access Your iCloud Mail and Calendar

Tuesday October 27, 2026 12:51 pm PDT by
OpenAI today said it added iCloud Mail and Calendar plugins to ChatGPT. With the iCloud Calendar integration, ChatGPT can read, schedule, and update events that show up on your iPhone's Calendar app or any third-party app that uses iCloud Calendar. The Mail integration lets ChatGPT search and read iCloud Mail, manage messages and drafts, send email, and look up iCloud contacts. iCloud...
OpenAI vs Apple Feature

OpenAI Says Ex-Employee Showed Its Device Plans to Apple

Wednesday October 14, 2026 11:55 am PDT by
OpenAI today suggested Apple could be using its trade secrets, the very thing Apple is already suing OpenAI for. In a court filing, OpenAI accused an ex-employee of giving sensitive data about an unreleased product to Apple. The unnamed employee joined OpenAI from Apple and then returned after six months. OpenAI claims the person sent "over a hundred highly confidential files" to personal...
duo aquarium

More Fun iPhone Duo Apps: 30 New Picks to Try

Friday November 6, 2026 3:27 pm PST by
When the iPhone Duo launched, we shared a list of some of the fun apps developers created for the new form factor. Two weeks out, developers are continuing to come up with fresh ideas, so we thought we'd share some of our favorites. Games Marbles Unhinged ($2.99) - Marbles Unhinged is a marble maze designed for the Duo. When you fold it, the floor turns into a ramp. If you stand the top...

Top Rated Comments

NightFox Avatar
26 months ago
The day that AI acquired the concept of the solar system without the Earth :oops:
Score: 9 Votes (Like | Disagree)
Seoras Avatar
26 months ago
Oh happy day! I've spent the last year cutting and pasting between them.
Android Studio too. I find OpenAI's models better than Gemini.
There is a 3rd party studio plugin for other models like ChatGPT but there's a significant markup in query cost for using it.
Score: 5 Votes (Like | Disagree)
PsykX Avatar
26 months ago
...so this is live before Swift Assist ? 😒
Score: 3 Votes (Like | Disagree)
johnsawyercjs Avatar
26 months ago
To activate the settings to get this to work, if you're using the ChatGPT app (I don't see any settings related to this new feature when accessing ChatGPT using a web browser), install the latest version of the app, then go to its Settings > Work with Apps, enable the option, then also select here "Manage Apps". Selecting an app from the list that will appear will open macOS's System Settings > Privacy & Security > Accessibility pane. Make sure ChatGPT is listed here, then slide its slider to the right. Then back in macOS System Settings > Privacy & Security, open Screen & System Audio Recording, make sure ChatGPT is listed, and slide its slider to the right.

Unfortunately when I followed these steps, including relaunching the ChatGPT app, GPT 4o said it was unable to read what I'd typed into a TextEdit window (just a simple "Hi there!") since it said it didn't have that capability. I switched to GPT o1 preview to see if that would help, then I pointed out that it was supposed to have this capability as of today, and told it to try again, and this time after a web search it acknowledged this new capability, and it tried to read the contents of the TextEdit window but failed:


Certainly! Since you’ve enabled the Work with Apps feature, I’ll attempt to access the content of your open TextEdit window.

[Attempting to retrieve content…]

It appears I couldn’t retrieve the content from TextEdit. Please ensure that all necessary permissions are granted and that the application is properly configured. If you’d like, you can also paste the text here, and I’ll be happy to assist you with it.
ChatGPT then refused to acknowledge that this new app-reading feature exists, even though it had acknowledged it just a few minutes earlier, this time offering its old excuse that it knows nothing beyond its last knowledge cutoff date, currently Oct 2023.

Edit: got it to work. The remaining step, not really explained in the article and not explained by ChatGPT at all, is to look down at the bottom of the ChatGPT window where the row of buttons appears, find the new button that looks like a cursor arrow pointing to the middle of a dashed square, click on it, then in the popup that appears which lists the apps this works with, click the + to the right of the name of the app(s) you want to work with. Then ask ChatGPT to read the open window in the app, giving it the name of the app you want it to look at.
Score: 2 Votes (Like | Disagree)
JippaLippa Avatar
26 months ago
I'm sure this will make many people happy.
Score: 1 Votes (Like | Disagree)
johnsawyercjs Avatar
26 months ago

Is this a M exclusive integration again? I mean it's all cloud based with ChatGPT anyway right?
M series only, but not because of this new feature--apparently the ChatGPT app on macOS has always required an M1 or better. So no Intel-based Macs. You also need to be running macOS 14 Sonoma or later. Oddly when I asked ChatGPT your question, at first it said the ChatGPT app works on Intel-based Macs too, but when I asked it to confirm this, it flip-flopped and said it works only with M-series processors, and it stuck with that when I asked it a third time. Go figure.
Score: 1 Votes (Like | Disagree)
Latest Stories
Apple Store Subscription Sign-Up Controversy Exposed
Apple Store Subscription Sign-Up Controversy Exposed
50 minutes ago
Siri AI Rumored to Become 'More Like an Agent' as Early as Next Year
Siri AI Rumored to Become 'More Like an Agent' as Early as Next Year
11 hours ago
Apple Taking New Approach to Developing iOS 28 and macOS 28
Apple Taking New Approach to Developing iOS 28 and macOS 28
13 hours ago
Early Apple Black Friday Deals on Apple Watch, MacBook Air, and More
Early Apple Black Friday Deals on Apple Watch, MacBook Air, and More
1 day ago
'Backglow' Lets You Customize New MacBook Pro's Glowing Apple Logo
'Backglow' Lets You Customize New MacBook Pro's Glowing Apple Logo
1 day ago
Top Stories: Apple Product Launches, iOS 27.3 Beta, and More
Top Stories: Apple Product Launches, iOS 27.3 Beta, and More
2 days ago
More Fun iPhone Duo Apps: 30 New Picks to Try
More Fun iPhone Duo Apps: 30 New Picks to Try
2 days ago
Hands-On With Apple's New OLED Touchscreen MacBook Pro
Hands-On With Apple's New OLED Touchscreen MacBook Pro
2 days ago
Apple Store With All-New Design Opening Soon in Southern California
Apple Store With All-New Design Opening Soon in Southern California
2 days ago
Control the Glowing Apple Logo on Your New MacBook Pro
Control the Glowing Apple Logo on Your New MacBook Pro
2 days ago
Apple Shares New 'Apple Card: Apply and Use in Minutes' Ad
Apple Shares New 'Apple Card: Apply and Use in Minutes' Ad
2 days ago
Apple Says More Than 100,000 Apps Optimized for iPhone Duo, Here's What's Still Missing
Apple Says More Than 100,000 Apps Optimized for iPhone Duo, Here's What's Still Missing
2 days ago
Early Black Friday Deals Kickoff With Steep Discounts on Apple Watch Ultras and More
Early Black Friday Deals Kickoff With Steep Discounts on Apple Watch Ultras and More
3 days ago
The MacRumors Show: iOS 27.3 Looks Like a Huge Update
The MacRumors Show: iOS 27.3 Looks Like a Huge Update
3 days ago
Best Buy's Black Friday Event Begins With Sitewide Savings on Apple, TVs, More
Best Buy's Black Friday Event Begins With Sitewide Savings on Apple, TVs, More
3 days ago
Apple Releasing Yet Another Two New Products Next Week
Apple Releasing Yet Another Two New Products Next Week
3 days ago
MacBook Air Drops to Lowest Price in Months With Amazon's $250 Discount
MacBook Air Drops to Lowest Price in Months With Amazon's $250 Discount
3 days ago
Apple Rumored to Drop the iPhone's Action Button Next Year
Apple Rumored to Drop the iPhone's Action Button Next Year
3 days ago
Apple's Extended Return Policy Now in Effect for 2026 Holiday Season
Apple's Extended Return Policy Now in Effect for 2026 Holiday Season
3 days ago
Apple Music Classical Updated With New Icon and Refreshed Design
Apple Music Classical Updated With New Icon and Refreshed Design
3 days ago
OLED iPad Mini, M6 iMac, and New MacBook Pros Available From Today
OLED iPad Mini, M6 iMac, and New MacBook Pros Available From Today
3 days ago
Apple Surveys iPhone Duo Buyers About Crease and Camera
Apple Surveys iPhone Duo Buyers About Crease and Camera
3 days ago
Apple's First Touchscreen Mac is Now Arriving to Customers
Apple's First Touchscreen Mac is Now Arriving to Customers
3 days ago
Claude Gets Personal Finance Feature With Bank Account Linking
Claude Gets Personal Finance Feature With Bank Account Linking
3 days ago
Apple Arcade Adds Crossy Road Rush and NBA 2K27
Apple Arcade Adds Crossy Road Rush and NBA 2K27
3 days ago
Apple's New HomeView Smart Home Hub: Here's How Much RAM It Has
Apple's New HomeView Smart Home Hub: Here's How Much RAM It Has
3 days ago
iPad Mini vs. iPad Air Buyer's Guide: Now Just $50 Apart
iPad Mini vs. iPad Air Buyer's Guide: Now Just $50 Apart
3 days ago
First iOS 27.3 and macOS Golden Gate 27.3 Public Betas Now Available
First iOS 27.3 and macOS Golden Gate 27.3 Public Betas Now Available
3 days ago
Apple Announces a New Mac Sales Record
Apple Announces a New Mac Sales Record
3 days ago
Paid $200 for Logic Pro? Apple Says You Won't Get This New Feature
Paid $200 for Logic Pro? Apple Says You Won't Get This New Feature
3 days ago