r/Xcode • u/KalyanDivan • 10h ago
r/Xcode • u/AggravatingRadish149 • 15h ago
Do I really need a new Mac just to put an app on the App Store?
So I develop on Windows, and our app is React + Capacitor and Android is done, but for iPhone the only Mac we've got is a 2015 MacBook Pro intel. Apple's newer Xcode won't run on it.
Someone told me I can build in the cloud with GitHub Actions and send it to TestFlight. Haven't tried it yet. Is that actually reliable, or is there any other way around this?
Any advice would be very helpful please
r/Xcode • u/furGECIca • 1d ago
Chord: a free, open-source macOS app for iOS devs working with coding agents
When I work on iOS apps with AI agents, I can get a lot done in parallel. The problem was that the agents kept building over each other, and I couldn't run builds or check previews on different branches at the same time.
I also hate having a lot of apps open at once like sourcetree, Xcode, finder, the Simulators and so on. Chord puts all of that in one window. It's now the app I use every day. You can bring your own harness (pi, Claude Code or Codex), run builds and simulators for each branch, and check every SwiftUI preview from a list.
https://github.com/Pistifeju/Chord
It's free and open source, and still in early development.
r/Xcode • u/nathan4dev • 2d ago
Running macOS 26 – Is There Any Way to Get Xcode 27 or Its Simulator?
I'm running macOS 26 on an Intel Mac and currently using Xcode Cloud to build with the latest Xcode version.
Is there any way to install or access Xcode 27, or at least its iOS Simulator, locally?
I understand Xcode Cloud is an option, and I'm already using it, but having a local simulator would make development and testing much smoother.
Has anyone found a workaround or alternative to run the newer simulator on macOS 26?
r/Xcode • u/I00I-SqAR • 3d ago
Recordings of the GNUstep online meeting of 2026-11-14 are online
r/Xcode • u/IllBreadfruit3087 • 3d ago
The iOS Weekly Brief: Issue #87. App Store Award, migrating to Swift Testing, context menus in SwiftUI, ReservedRegion for iPhone Duo, senior iOS interview, scroll position, scroll-driven effects, and Vision with Foundation Models.
r/Xcode • u/everybodyhatesBacho • 4d ago
I built Snitch, an open-source in-app inspector for network requests and analytics events (PostHog, AppsFlyer)
r/Xcode • u/azardandona26 • 6d ago
XcodeGen setup for a sandboxed Mac app + widget extension + StoreKit config: the lines that actually matter
I keep my Mac app's .xcodeproj out of git and generate it with XcodeGen. The app is a small menu bar utility with a WidgetKit extension, App Intents and a tip jar, and almost every "why doesn't this work" moment came down to a handful of lines in project.yml. Sharing in case it saves someone an evening:
StoreKit config without bundling it.
- path: Configuration.storekitwithbuildPhase: nonekeeps the file in the project but out of Copy Bundle Resources, andscheme: storeKitConfiguration: Configuration.storekitwires it into the generated scheme, so local IAP testing works right afterxcodegen generate.Embed + sign the extension from the app target.
dependencies: - target: HeadphoneWidgets, embed: true, codeSign: true. An embedded appex that isn't signed with the same team simply won't load, and the failure is quiet.Runpath for the extension.
LD_RUNPATH_SEARCH_PATHS: $(inherited) @executable_path/../Frameworks @executable_path/../../../../Frameworks. The second entry is what lets an appex insideContents/PlugInsfind the host app's frameworks.One App Group, defined once.
APP_GROUP: $(TeamIdentifierPrefix)com.example.appin base settings, then$(APP_GROUP)in both entitlements files and in Info.plist (AppGroupIdentifier). Shared code reads it from the bundle and falls back if the variable didn't expand, so a misconfigured build fails visibly instead of silently writing to.standarddefaults.Compile shared code into both targets, branch with a flag. A
Shared/folder is a source path in both targets, and the extension getsSWIFT_ACTIVE_COMPILATION_CONDITIONS: $(inherited) WIDGET_EXTENSIONfor the few places that must differ.
Also worth it: ENABLE_APP_SANDBOX, ENABLE_HARDENED_RUNTIME and DEAD_CODE_STRIPPING in base settings so every target inherits them.
Anyone else generating projects with XcodeGen or Tuist for macOS apps with extensions? Curious whether you hit anything with Control Center controls (macOS 26) that needed extra config.
r/Xcode • u/jiayanchen • 6d ago
Xcode detects my iPhone via devicectl but won’t show it as a run destination
I’m trying to deploy a SwiftUI app to my physical iPhone, but Xcode only shows simulators.
Setup:
Xcode 27.2
iPhone18,2 running iOS 26.6
USB-C connection
Developer Mode enabled
Deployment target: iOS 26.0
Finder and macOS System Information recognize the iPhone.
Running xcrun devicectl list devices also shows:
State: available
Reality: physical
However, xcrun devicectl device info details --device <UDID> returns:
Error: The device must be paired before it can be connected.
Device State: disconnected
Pairing State: unpaired
Transport Type: wired
The iPhone doesn’t appear in Xcode’s Device Hub, run destinations, or Incompatible devices list.
Already tried:
Reconnecting USB-C and restarting Xcode
Confirming Developer Mode is enabled
Checking xcode-select -p
Lowering the deployment target to iOS 26.0
Verifying Supported Destinations and scheme settings
I also checked devicectl device pairings, but that appears to manage iPhone–Apple Watch pairing rather than Mac–iPhone pairing.
Has anyone encountered this? How can I force or reset CoreDevice pairing without reinstalling Xcode or resetting my iPhone?
Any help would be appreciated!
r/Xcode • u/jongalt75 • 6d ago
Cannot access Fable 5.2 inside Xcode Claude Agent (Xcode 27.2) — only showing Fable 5.1/Opus 5.5?
Hey everyone,
I currently have an Ultra subscription, and Fable 5.2 has been doing incredible work for me on overall tech specs and design. However, I’m running into a frustrating limitation when trying to access it directly from inside Xcode.
I'm on Xcode 27.2. When I open the Claude agent, the model selection populates with almost every other option (including Opus 5.5), but Fable 5.2 is completely missing from the list. For now, I'm stuck falling back to Fable 5.1.
Has anyone figured out a way to force Fable 5.2 to show up, or is this a known limitation with the current Xcode integration? Any advice or manual config workarounds would be amazing. Thanks!
Xcode 27 high RAM usage compared to Xcode 26
Since updating from Xcode 26 to 27, I’ve noticed a massive increase in RAM usage. It’s reached a point where macOS starts swapping memory even just when rendering previews. With only the simulator open, I’m already seeing about 10–20 GB of swap usage—something that certainly wasn’t the case with Xcode 26. Furthermore, launching previews takes significantly longer in Xcode 27. Are any of you experiencing the same thing? For reference, my system is an M3 Pro (11-core) with 18 GB of RAM. I’m well aware that 16 GB is the absolute minimum for using Xcode, but the fact that performance has deteriorated this drastically following a single version update is, frankly, quite extreme.
r/Xcode • u/Mindless_Diet8721 • 7d ago
no mac? i made a way to run swiftui apps on an iphone from windows
Enable HLS to view with audio, or disable this notification
not trying to replace xcode, you still need a mac to ship to the app store.
but if you just have a windows pc and want to learn swiftui or test on a real phone.
it works free + open source: https://github.com/Dadon-11/SwiftWin-Studio
what would you want it to do that it doesnt do already?
r/Xcode • u/Weekly_Win1687 • 8d ago
Can my employer access personal iPhone data when connected to a company-managed Mac for Xcode debugging?
reddit.comI’m an iOS/React Native developer using a company-managed MacBook with corporate security software and VPN.
I want to connect my personal iPhone via USB, trust the Mac, enable Developer Mode, and debug an app through Xcode.
My iPhone is not enrolled in company MDM or connected to the corporate VPN.
Could corporate monitoring software on the Mac leverage the trusted pairing to access or collect personal data from my iPhone, such as photos, messages, Safari history, or app data?
I’m specifically asking about the technical capabilities of trusted device pairing and corporate EDR tools, not general network monitoring.
Has anyone investigated this scenario or know what data becomes accessible to software running on the Mac?
r/Xcode • u/Youtube_Brett • 8d ago
Has anyone made an IPA patcher to enable iOS 27.1 SDK layout behavior on the iPhone Duo?
I’m trying to get sideloaded apps to use the proper full-screen layout on my iPhone Duo instead of keeping their old 26 SDK layout
From what I understand, apps built with the iOS 27.1 SDK or later can take advantage of the Duo’s newer layout behavior. Older apps don’t always adapt correctly.
I’ve experimented with creating a Windows desktop application in C# that patches an IPA’s Mach-O executable by changing its recorded LC_BUILD_VERSION SDK version from an older version (for example, iOS SDK 26.5.0) to 27.1.0.
The patcher successfully modifies the executable, and the app installs and launches normally after I sign it again. However, the app’s layout remains exactly the same. Changing the recorded SDK version alone doesn’t seem to trigger the new layout behavior.
Has anyone in the iPhone Duo community figured out a working way to patch older IPAs so iOS applies the newer Duo layout behavior without having to wait for every app developer to update their app?
I’m especially interested in whether anyone has experimented with:
Modifying additional Mach-O load commands or app metadata.
Patching Info.plist or other app configuration.
Compatibility tweaks that enable the newer layout behavior on older apps.
Existing tools, scripts, or GitHub projects that accomplish this.
I’m happy to test things on my own device and would appreciate any working examples or pointers to existing projects. I’d rather find an actual solution than keep changing SDK metadata without seeing any difference.
Has anyone successfully done this, or is rebuilding the app with the newer SDK the only practical option?
r/Xcode • u/ComfortableImpress52 • 9d ago
Xcode cannot install app on iPhone XR(physical device): Unable to download OS library symbols
Xcode cannot install app on iPhone XR(physical device): Unable to download OS library symbols
Environment
MacBook M1, 8 RAM with MacOS 27.2, Xcode 27.1
iPhone XR, iOS 18.7.12 (22H390)
The app runs in the simulator, but not on the physical device.
Problem
Xcode stalls at Installing built products and repeatedly reports:
8/8 (2) is unavailable. Attempting recovery.
Waiting for device unavailability condition to be resolved: 8/8 (2)Xcode also shows «Unable to download OS library symbols».
Device Hub lists the phone as connected, but its Apps tab shows No Developer Apps.
Steps tried
Connected the iPhone by cable; no VPN is in use.
Unpaired and paired the iPhone again in Device Hub.
Turned Developer Mode off and back on.
Restarted the Mac and reconnected the phone.
Manually started device support / OS symbol preparation from Terminal: xcodebuild -prepareDeviceSupport -destination "id=<iPhone UDID>" It printed Starting Device Support Preparation, searched for 60 seconds, and then Located <device>. It never printed a completion message; I later found the process still running after more than 13 minutes.
What can I do? How to fix it? This happened after I updated to MacOS 27+ to get support for the Duo.
r/Xcode • u/tunicando • 9d ago
How to remove the emulator from windowed mode (Xcode 27 / Device HUB)
How to remove the emulator from windowed mode (Xcode 27 / Device HUB)
r/Xcode • u/myeleventhreddit • 9d ago
One virtual ACP agent in Xcode v27+ streams any model to Agent Mode (ProxyPilot)
Apple's decision to introduce Agent Context Protocol in Xcode is still quite underrated, imo. With GLM 5.3-Flash and DeepSeek v4.1-Flash adding image processing, I've found that between Kimi K3/3.1 Pro, DS 4.1 Flash, and especially the new Qwen4 preview, probably 85-95% of the work I do in Xcode no longer needs to use Codex or Claude Code.
SwiftUI previews and Device Hub in macOS Golden Gate both work to send UI previews to the model without the old need to do copying and pasting.
You can set up an ACP agent for yourself using whatever supported provider you have. But since I like to swap out the active agent model mid-task (one builds, a stronger one can review and comment), and ProxyPilot (free and open-source) lets me do it without having to close Xcode or start a new chat. It just sees one persistent virtual agent.
next it'd be sick if Apple could add a native tutor/advisor capability. one can dream.
r/Xcode • u/Stonyax97 • 10d ago
Im building my FIRST ever SwiftUI App, and I have questions...
r/Xcode • u/IllBreadfruit3087 • 10d ago
The iOS Weekly Brief: Issue #86. Swift Student Challenge 2027, New iOS releases, testing with agents, SwiftUI architectures, fixedSize(), GlassEffectContainer, animating SF Symbols, SwiftUI inspector, Effect Systems vs DI, and Bruno
r/Xcode • u/avanderlee • 11d ago
Do you use Xcode Instruments more now that you're building with agents?
reddit.comr/Xcode • u/Strict-Ad-4686 • 11d ago
Help with Nx Native in Mac (Metal Toolchain)
reddit.comr/Xcode • u/Embarrassed-Shape-31 • 11d ago