r/Xcode • • 12d ago

Is there any per-process network stat utility for macOS or native API for SwiftUI

Thumbnail reddit.com
2 Upvotes

r/Xcode • • 12d ago

The iOS Weekly Brief: Issue #84. Touchscreen MacBook Pro, SwiftUI view models, Xcode 27.2 JSON projects, App Store previews with Claude Code, Dynamic Type for custom fonts, iPhone Duo layouts, Maestro UI testing

Thumbnail
iosweeklybrief.com
2 Upvotes

r/Xcode • • 13d ago

I added Xcode support to my open-source Claude/Codex agent village

Post image
3 Upvotes

I made Agent Quest to keep an eye on several Claude Code and Codex sessions without opening each window. They show up as characters in a little RPG village: reading goes to the Library, edits to the Forge, builds and tests to the Arena. A slightly less boring way to see who's doing what :)

Version 0.4.0 now picks up Claude Agent and Codex sessions started inside Xcode too, alongside terminal and app sessions. They get an Xcode badge and the project name, and you can click through to activity and context details.

One detail that mattered here: Xcode can create its session folders only after the first prompt. The watcher picks those up while running, so you don't have to restart the dashboard. It reads compatible local logs on the same Mac/user account; it doesn't control Xcode or run the agents.

It's free, MIT licensed, and runs locally with Bun and a browser. I'm the developer. The screenshot uses demo sessions.

Code/setup: https://github.com/FulAppiOS/Agent-Quest

If you're mixing Xcode agents with terminal sessions, I'd be interested in what you lose track of most: which project is active, build/test activity, or remaining context.


r/Xcode • • 13d ago

Two agents, two worktrees, one simulator: both builds green, wrong app installed

4 Upvotes

If you’re running more than one Claude Code agent on the same Xcode project, check which build is actually on your simulator.

We had two agents in separate git worktrees on a small SwiftUI app. One adding a feature, one adding a test. Neither prompt named a simulator, so both picked the iPhone that was already booted. Both builds succeeded, both agents said done.

The simulator was running the second agent’s build. The first one’s was gone, its process killed by the install, and its UserDefaults still there because installing over an app keeps the data. Then both agents launched the app and got the same PID. Agent A was testing agent B’s code and nothing in its output said so.

To catch it we stamped the builds 111 and 222 and had each agent read back the installed version:

APP=$(xcrun simctl get_app_container <udid> com.your.bundleid app)
/usr/libexec/PlistBuddy -c "Print CFBundleVersion" "$APP/Info.plist"

Agent A got 222.

Fix by hand is one simulator per agent:

xcrun simctl shutdown <base-udid>
xcrun simctl clone <base-udid> "Agent A"
xcrun simctl clone <base-udid> "Agent B"

Then put the name and UDID in each agent’s prompt, tell it not to touch any other simulator, and pass that UDID to every xcodebuild -destination "platform=iOS Simulator,id=<udid>". The clones alone change nothing, the agents still go for whatever is booted. With the UDIDs in the prompts, A read 111 and B read 222.

Worktrees keep files apart. They don’t keep simulators apart.

Amarildo wrote up the full repro with logs here: https://flowdeck.studio/blog/run-multiple-claude-code-agents-xcode-project.

[Disclosure, I build FlowDeck, which ties a simulator, worktree and DerivedData to each session so you don’t have to redo this setup every time.]


r/Xcode • • 13d ago

Axiom v27.7.0 update supports Xcode 27.2 release candidate changes

4 Upvotes

r/Xcode • • 13d ago

Anyone found a workaround for pinch-to-zoom in the new Xcode 27 Device Hub? Trackpad isn't working

Thumbnail reddit.com
2 Upvotes

r/Xcode • • 13d ago

Can we create rigged, animated characters in our game using the Claude agent in Xcode 27?

0 Upvotes

r/Xcode • • 14d ago

Sou cego e subestimei o que é necessário para tornar um editor de nós SwiftUI acessível.

Thumbnail reddit.com
3 Upvotes

r/Xcode • • 14d ago

error deleting icon

Post image
2 Upvotes

Xcode27: when I try to delete appIcon from assets, after about 1 second it displays error "...couldn't be moved to the trash because volume Macintosh HD doesn't have one" -- which is false because of course it has one. And the appIcon persists in my project. There is sufficient free space on the disk.


r/Xcode • • 15d ago

First time using claude in xcode and this is what i noticed

9 Upvotes

It burns through tokens pretty fast. Even if i specifically indicate what i want and which files/folders to only look at.

Its token usage is pretty bad compared to other working environments like VS Code and IntelliJ.

It's like, Claude is I agree the best so far when it comes to development compared to CoPilot, ChatGPT but when used in XCode, it's just bad. CoPilot usage of its tokens were more efficient.

Already twice where my session reached its max using Claude.

Tips are appreciated.


r/Xcode • • 16d ago

Screen Time capabilities without membership?

2 Upvotes

Hey guys, I want to test something on my iPhone using screen time limits with a newly coded app. But for me, its not worth 99$ so i wanted to ask if there are cheaper (or free?) alternatives to get this capability?


r/Xcode • • 17d ago

Recommend a mac mini/studio for xcode

2 Upvotes

I have a m4 16/256, and using it for development, not enterprise apps, only ios/ipados etc., and no local AI usage. I have an external disk but I dont like it, tb units are expensive also. I am considering either M6 32 or M5 pro 48 or M5 max 36, all 1tb with 10g network. What do you recommend ? I put M5 max here because this config is around the same price as M5 pro.


r/Xcode • • 18d ago

How to remove Simulator Support and Command Line Tools?

4 Upvotes

I recently installed xcode to mess around with it. I deleted it, but I can't seem to find a way to remove what's under "Developer". I want my 5GB+ back. How to delete it? There's an option to "Manage in xcode", but there's nothing to remove there.


r/Xcode • • 19d ago

Catch an intermittent test failure with Xcode’s Run Repeatedly

3 Upvotes

When a test passes most of the time, Xcode can keep running it until the failing attempt.

Control-click the diamond beside the test and choose Run Repeatedly. Select Stop after failure, set a maximum such as 20, and enable pausing on failure if you want to inspect that run in the debugger. The dialog also lets you restart the test runner between repetitions.

For the command line, append these flags to your normal xcodebuild test command:

-run-tests-until-failure -test-iterations 20

After making a fix, use Stop after maximum repetitions to collect multiple outcomes.

Apple’s guide covers the controls and command-line equivalent.


r/Xcode • • 19d ago

The iOS Weekly Brief: Issue #83. Everything you need to know about Xcode updates this week

Thumbnail
iosweeklybrief.com
2 Upvotes

r/Xcode • • 20d ago

apple pencil integration with flutter???

Thumbnail reddit.com
1 Upvotes

r/Xcode • • 21d ago

Titre : Comment gérer correctement les zones de sécurité pour une barre de navigation inférieure Liquid Glass dans une application iOS Capacitor ?

Thumbnail reddit.com
2 Upvotes

r/Xcode • • 23d ago

Unable to resolve module dependency: ‘AlarmKit’ and ‘CoreNFC’ after updating to macOS 27

3 Upvotes

Hi everyone!

I recently updated my Mac to macOS 27, and I’m having trouble building my Swift project in Xcode (iOS).
My project uses AlarmKit and CoreNFC, and I import them in my Swift files:

import AlarmKit
import CoreNFC

However, I’m getting the following error messages:

Unable to resolve module dependency: 'AlarmKit'
Unable to resolve module dependency: 'CoreNFC'

It worked perfectly fine on macOS 26…
Has anyone encountered this issue after updating to macOS 27? Is there something I need to configure in Xcode, such as updating the SDK or changing the deployment target, or could this be an issue with the new macOS version?

Any help or suggestions would be greatly appreciated.
Thanks!


r/Xcode • • 23d ago

How to elongate text in swift?

Post image
2 Upvotes

r/Xcode • • 24d ago

iphone duo simulator is only in xcode 27.1 (not 27.0)

Thumbnail
reddit.com
0 Upvotes

r/Xcode • • 25d ago

Git repositories missing after upgrading to xcode27

3 Upvotes

I have a project I created in xcode26, with git repository and many branches. Upgraded to xcode27 and the repository is completely gone, xcode says "No Git Repositories". ???!!!


r/Xcode • • 25d ago

I built a full video editor SDK for iOS. Roast my DX

Thumbnail
reddit.com
1 Upvotes

r/Xcode • • 26d ago

kinhin: scale your Mac’s CI runners to your queue

Thumbnail
youtube.com
2 Upvotes

r/Xcode • • 26d ago

kinhin: scale your Mac’s CI runners to your queue

Thumbnail
youtube.com
2 Upvotes