Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MacRumors

macrumors bot
Original poster
Apr 12, 2001
67,563
37,946


Apple is working with Anthropic on an updated version of Xcode that will support AI code writing, editing, and testing, reports Bloomberg. Anthropic is best known for its "Claude" large language model and chatbot that competes with OpenAI's ChatGPT. Claude is well-known for its coding capabilities, beating out other LLMs on programming tasks.

iu-2-1.jpeg

The new version of Xcode integrates the Claude Sonnet model, and Apple is slowly rolling it out internally for employees to use. Many companies have started adopting AI coding tools to speed up product development, and Apple can't afford to be behind. Bloomberg says that Apple was initially hesitant to use AI to create software for Apple customers, but advancements in LLMs have made the company more comfortable with expanded AI tools.

Apple's internal version of Xcode has a chat interface for programmers to request code or help with coding, and it is able to test user interfaces and help engineers locate and address bugs.

There's no word yet on whether Apple will eventually launch the software publicly, but if the company's internal testing is successful, it's possible the tool could be provided to third-party developers. Last year, Apple announced Swift Assist, an AI-powered coding companion for Xcode. Swift Assist was supposed to come out in 2024, but like the personalized Apple Intelligence Siri features, it never materialized.

As it turns out, Apple engineers testing Swift Assist found that it was making up information and could slow down app development in some situations. Apple's work with Anthropic could help with Swift Assist and future tools.

Apple has inked deals with several AI companies. OpenAI's ChatGPT is already integrated into iOS 18, it is working with Google to add support for Gemini, and now there is a partnership with Anthropic. In China, Apple is also working with Baidu and Alibaba on AI.

Article Link: Apple Partners With Anthropic for Claude-Powered AI Coding Platform
 
Last edited:
While I've grown more trusting of AI chat as an alternative to a Web Search, there's no way that I'm letting AI write my code. As a software engineer, every line of code needs to meet my standards, including how variables are named.

Or maybe it learns "my style" and would generate code that's compliant? I'll need to watch that space closely.

As for Xcode, using AI may be a solution to me creating Mac/iPhone apps, as I've never quite crossed into that space having to learn a new language. This might bridge the gap.
 
While I've grown more trusting of AI chat as an alternative to a Web Search, there's no way that I'm letting AI write my code. As a software engineer, every line of code needs to meet my standards, including how variables are named.

Or maybe it learns "my style" and would generate code that's compliant? I'll need to watch that space closely.

As for Xcode, using AI may be a solution to me creating Mac/iPhone apps, as I've never quite crossed into that space having to learn a new language. This might bridge the gap.
It writes better code than you can.
 
While I've grown more trusting of AI chat as an alternative to a Web Search, there's no way that I'm letting AI write my code. As a software engineer, every line of code needs to meet my standards, including how variables are named.

Or maybe it learns "my style" and would generate code that's compliant? I'll need to watch that space closely.

As for Xcode, using AI may be a solution to me creating Mac/iPhone apps, as I've never quite crossed into that space having to learn a new language. This might bridge the gap.
You really should try the new AI code editors like Cursor, they're getting really good. I was a little skeptical about 6 months ago but they're way smarter now, it's really good also at adapting to styles/ways of writing code you already use, since it can understand your entire codebase. Also you don't need to accept every suggestion it makes, you're still in control, you just move 20-50% faster.
 
While I've grown more trusting of AI chat as an alternative to a Web Search, there's no way that I'm letting AI write my code. As a software engineer, every line of code needs to meet my standards, including how variables are named.
I've had reasonable luck asking the AI tools to rename variables and function, and reformat/refactor code to better comply with my personal coding standards. When requested, the AI even adds more verbose comments than I would spend time writing. One still has to unit test and proofread the code and comments to make sure no hallucinations snuck in.
 
While I've grown more trusting of AI chat as an alternative to a Web Search, there's no way that I'm letting AI write my code. As a software engineer, every line of code needs to meet my standards, including how variables are named.

Or maybe it learns "my style" and would generate code that's compliant? I'll need to watch that space closely.

As for Xcode, using AI may be a solution to me creating Mac/iPhone apps, as I've never quite crossed into that space having to learn a new language. This might bridge the gap.
Move along or loose your job as others will use it and produce betters tools in a 10th of the time.
 
We all have claude licenses at work. I've never once gotten code out of it that actually works with any of our codebases and neither have my coworkers. It will barf out 5x the code that is needed and it will just be wrong. People have setup entire projects for it adding all of the context needed and no success with even the most basic of tasks. It's so plainly unintelligent I would go as far as saying you shouldn't trust engineers who claim that it is.
 
We all have claude licenses at work. I've never once gotten code out of it that actually works with any of our codebases and neither have my coworkers. It will barf out 5x the code that is needed and it will just be wrong. People have setup entire projects for it adding all of the context needed and no success with even the most basic of tasks. It's so plainly unintelligent I would go as far as saying you shouldn't trust engineers who claim that it is.
How are you using claude? Just the app, or are you using the API through an editor like Cursor?
 
As a software engineer, every line of code needs to meet my standards, including how variables are named.
No problem with that.

Wrong use of AI (95% people fall into this trap!) : Use AI to blindly write code, copy-paste it in your dev tool, test it a little bit, and release to public if it seems to work
Good use of AI : Use AI to write code, ask it to follow a specific architecture, review code thoroughly, improve it, use AI to comment the code, use AI to create unit tests for its own code, etc.
Another good use of AI : You need a very small piece of code, and you know exactly what you need, but it will take you 10-15 min to write. Use AI, save yourself a few minutes, and you'll quickly see if the code makes sense or not.

If you don't adopt AI as a software dev, you'll quickly become less productive than another software dev.
 
They seriously need a WYSIWYG interface builder, with AI it would go a long way to help lots of people build apps. They'll probably block you from using the AI features unless you pay them a developer fee. Its the Apple thing to do.
 
You really should try the new AI code editors like Cursor, they're getting really good. I was a little skeptical about 6 months ago but they're way smarter now, it's really good also at adapting to styles/ways of writing code you already use, since it can understand your entire codebase. Also you don't need to accept every suggestion it makes, you're still in control, you just move 20-50% faster.
Do you think we’re closer to that “vibe coding” paradigm where we will be able to code our own software without coding knowledge? I know it’s still not possible, but I am convinced that sooner or later, that day will come.
 
  • Like
Reactions: MikeSmoke
I’m a bit of an AI skeptic, but decided to give Claude a shot with an app issue I was struggling with.

I have a very complex SwiftUI `LazyVStack` in a `ScrollView`, and the performance is… lacking. I spent a few days researching various tutorials on integrating a AppKit CollectionView into SwiftUI, but it doesn't do well with the dynamic SwiftUI children (the heights are irregular, and there's no straightforward way to tell CollectionView how tall each cell is).

So I gave Claude a try, and it basically gave me each suggestion that I had already tried, with the same drawbacks that I had already tediously troubleshooted (troubleshot? troubleshat?) one by one.

I dunno, still feels to me like “Google it or look it up on Stack Overflow, but possibly faster and definitely no better”
 
Do you think we’re closer to that “vibe coding” paradigm where we will be able to code our own software without coding knowledge? I know it’s still not possible, but I am convinced that sooner or later, that day will come.
The problem with vibe coding is that it's just an elaborate way of copy-pasting work that already exists, and leading to a new generation of programmers who don't know how to write new code in the first place. Taken to its logical extreme, tech will stagnate, and nobody will know how anything works anymore.

But I'm not really worried about it… I think this vibe code **** is just a dumb fad, and a lot of kids are gonna find themselves fired.
 
The problem with vibe coding is that it's just an elaborate way of copy-pasting work that already exists, and leading to a new generation of programmers who don't know how to write new code in the first place. Taken to its logical extreme, tech will stagnate, and nobody will know how anything works anymore.

But I'm not really worried about it… I think this vibe code **** is just a dumb fad, and a lot of kids are gonna find themselves fired.
Yeah, we will still need people with a solid knowledge about coding. Especially low level I guess.

But for the average user that has tried to learn coding and hasn’t been able to because of the difficulties of learning an abstract language (like myself), it can be useful to make our little programs or even just scripts.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.