Build, test, and submit your app using Xcode, Apple's integrated development environment.

Xcode Documentation

Posts under Xcode subtopic

Post

Replies

Boosts

Views

Activity

Claude auth redirect failing
Was working before, no longer working this week. Trying to sign in to my Claude Pro account via Xcode Intelligence. Goes to browser, I login, and accept authorization in Claude then redirect back to Xcode is reject. Everytime, multiple browsers, and even trying the add "/" that others have noted for other cases.
2
1
122
1w
Xcode 27 Device Hub unable to create simulator
I am testing the Xcode 27 Beta and new Device Hub app on my MacBook Pro (M5) with macOS Tahoe 26.5.1, but every time I try to create a new Simulator, the process begins to run, but then fails after this message appears that says “Family quit unexpectedly." I looked over the details of the issue, and it is indeed directly linked to the failing simulator creation. Since this issue makes it impossible to Build and Run any app in the new Xcode 27 beta, it makes it almost completely useless for me. I have already downloaded the iOS 27 simulator, but it fails to boot in the Device Hub.
6
5
1.2k
1w
DeviceHub Not showing simulator
I can't figure out what I'm doing wrong, maybe it's just "in development." I am running on Tahoe, but running the 27 beta. I created a simulator and asked it to run and it did, but claude had to jump through hoops to get it to actually display. The hub only shows my appleTV device that I test on. Simulators do not show at all. Even when running. Hints on what I am doing wrong? Is it because I'm on Tahoe? Known bug? Dumb user?
3
1
126
1w
Recording app audio from Device Hub
It appears that recording video of a device in Device Hub does not record the associated audio of the device. Are there any plans to do this? (Or a workaround that's easier than rerouting the audio output to an audio editor app and recording it separately?) It would be incredibly useful for making app demonstrations and tutorials.
1
1
144
1w
Xcode copilot agent
Has anyone managed to get Copilot working using the new ACP integration in Xcode 26.6 and Xcode 27 beta? I have tried setting it up using the path to the copilot binary as instructed and the flags --acp --stdio but Xcode just displays a "Your request couldn't be completed" error: JSON-RPC global stream failed: The operation couldn’t be completed. (IDEIntelligenceProtocol.JSONRPCElement.Error error 1.) I am running the latest version of copilot cli and it works in many other IDEs.
8
3
272
1w
No Universal for Map App project with Tahoe
Mac Pro 2019, Tahoe 26.3, Xcode 26.2 Mac Mini 2023 M2, Tahoe 26.3, Xcode 26.2 On Mac Pro 2019 the app is only Intel while on Mac Mini 2023 M2 it is ARM64 only. Both have Standard Architectures (Apple Silicon, Intel). Both have Build Active Architecture Only is set to No (Debug + Release). Happen for default new projet macOS -> App and Obj-C, Xib. No change to defaults setting except uncheck "Automaticaly manage signing" and "Signing Certificate" set to "Sign to Run Locally" HOWEVER On Mac Pro 2019, BigSur 11.7.10, Xcode 14.10 the application is build Universal ! Why cannot build universal with Tahoe 26.3, Xcode 26.2 ? Can I submit a Mac applcation to App Store Connect with BigSur 11.7.10, Xcode 14.10 ? What are the minimal version of Mac Os and Xcode to submit a Mac applcation to App Store Connect ?
6
0
241
2w
"Failed to register bundle identifier" for teammates — caused by App Groups/HealthKit forcing an explicit App ID?
I'm trying to let a few teammates build and run my app on their own devices, and I'd like to understand the correct approach for our situation. Setup We are a small team. Each of us uses a free personal Apple Developer team (individual Apple IDs, no paid membership yet). The app (an iOS app with a Watch app and a WidgetKit extension) uses App Groups and HealthKit. Bundle IDs: com.example.MyApp, com.example.MyApp.watchkitapp, com.example.MyApp.Widget. App Group: group.example.MyApp. It builds fine for me. When a teammate opens the project and tries to run on device, they get: Failed Registering Bundle Identifier The app identifier "com.example.MyApp" cannot be registered to your development team because it is not available. Change your bundle dentifier to a unique string to try again. What I've observed My other apps that have no entitlements build fine for every teammate. Looking at their embedded profiles, those sign with a wildcard profile (TEAMID.*). This app signs with an explicit profile (TEAMID.com.example.MyApp). If a teammate removes HealthKit and App Groups from all targets, the app builds for them under their own team using the same bundle ID. My understanding (please correct me) App Groups and HealthKit require an explicit App ID, which can only be registered to one team. Since I registered com.example.MyApp first, no other personal team can register the same explicit App ID hence the error. My questions Is that understanding correct — that an entitled (explicit) App ID can only ever belong to a single team? Is there any supported way to keep the same bundle identifier and keep App Groups + HealthKit while teammates build under their own separate personal teams? Or is moving to an Organization account (everyone as members of one shared team) the only way to share an entitled bundle ID across multiple developers? For free personal-team development, is the recommended pattern to give each developer a unique bundle ID + App Group (e.g. via per-developer .xcconfig), keeping entitlements intact? Just want to confirm I'm choosing the right approach before committing to it. Thanks!
1
0
118
2w
(Xcode 26.0 → 26.2) Constant UI flickering in split view mode
Hello, I’ve been experiencing a persistent issue in Xcode since version 26.0, and it is still present in 26.2. When using the split view to display two files side by side, the area in the top‑right corner of the window (the inspector / options panel) starts flickering continuously. This happens regardless of whether I’m using the light or dark theme, and even with the Liquid Glass effect disabled in macOS settings. None of these changes have any impact on the issue. I have already submitted a bug report through Xcode (Feedback Assistant), but the issue is still present as of today. The flickering makes the interface difficult to use and visually very distracting. I’ve attached a video to clearly show the issue. I will review the attachment at the time I publish this post. Thanks in advance for any help or feedback. Video 1 https://www.icloud.com/iclouddrive/077l-R7Ybvxz89NI-B7DliEuA#xcode_bug1 Video 2 https://www.icloud.com/iclouddrive/0f6bJp48ioGRdkYiA2U4sI-cg#xcode-bug2
8
2
393
2w
Codex no longer works
Since today (5th June), my Codex seems to be broken. First there is no response (wait for hours), now it just crash with this error whenever I issue a command: JSON-RPC global stream failed: The operation couldn’t be completed. (IDEIntelligenceProtocol.JSONRPCElement.Error error 1.) I have a ChatGPT Pro subscription and I don't know what to do. I have restarted Xcode, sign out and in of my account, delete DerivedData, restart machine, reinstall Xcode.
1
0
135
2w
Xcode memory RAM - requirements
Last year, I changed my iMac i7 (2015) to a new Mac mini M1 with SD disk. I saw the difference, it was incredible fast...but now after one year of working on my project, I get freeze screen and automatic reboot I have 16Go RAM...and often more than 10Go for xcode ! I work with storyboard and I have more than 100 VC. Do I need to change parameter on Xcode to optimize or I must have now min 32 RAM. What is the best requirement for important project?
3
0
2.3k
2w
Create with Xcode 27 → submit with Xcode 26?
I'd like to use Xcode 27 Beta, for its Coding Intelligence features, on existing iOS 17 thru 26 production code. As long as I don't allow iOS 27 as a target, will I be able to use Xcode 26 to submit the Xcode 27 project files now to the App Store for distribution? I can imagine situations where Xcode 27 makes use of a new backward-compatible API feature that Xcode 26 balks at. Perhaps I'll have to watch out for that, unless there's a way to tell Xcode 27 to avoid it automatically?
1
2
223
2w
Really happy with Xcode 27 Beta 1 + Claude Agent results
I gave Xcode 27 Beta 1 + Claude Agent my app codebase and set it to work on reviewing the SwiftUI related codebase and suggest improvements in the areas view performance and SwiftUI conformance. I am extremely happy with the results I got. From my experience the Xcode backed Claude Agent is far more versed in SwiftUI related task than pure Claude Code or Claude Code + SwiftUI skill extensions. I was able to visibly increase the performance of several complex views in my app. In addition the Xcode backed agent solved a Liquid Glass related bug with view tinting that I was not able to solve with Claude Code before on its first try. However, in Beta 1 Claude Agent BURNS through tokens at a mind boggling speed. I perceive the agent as a bit to verbose in telling me what it is doing. Allowing the agent to start a simulator and use the app for exploration is setting tokens on fire. I hope that we see refinements in these areas before Xcode 27 is released.
0
1
130
2w
How do I set the reasoning level for Codex in Xcode 27?
I'm trying to use Codex via the Xcode interface, and I can not find a way to set the reasoning level. There are no settings to be found anywhere. What am I missing? I mean, I can continue to use Codex's own app, but I was hoping to use Xcode's new agentic interface, which seems superior to v26 and somewhat more useful. But if it's going to default to medium and I have no control over it, of course, I would continue using Codex's app rather than Xcode. What's weird, I get responses like this when I ask about: What's your current reasoning level and how can I adjust it? This session appears to be using the default reasoning level: medium. You generally adjust it outside my reply, in the model/session settings for Codex or the API request. Typical options are: • low: faster, cheaper, best for simple edits or direct questions • medium: default balance • high: better for complex debugging, architecture, tricky code changes • xhigh: deepest reasoning, slower, useful for hard multi-step work Inside this chat, I can’t change my own base reasoning level mid-response. You can still tell me “use high reasoning for this” and I’ll treat the task more deliberately, but the actual runtime setting has to be changed in the client/session configuration. So, it doesn't even know the level it's using or how to adjust.
0
0
123
2w
Claude auth redirect failing
Was working before, no longer working this week. Trying to sign in to my Claude Pro account via Xcode Intelligence. Goes to browser, I login, and accept authorization in Claude then redirect back to Xcode is reject. Everytime, multiple browsers, and even trying the add "/" that others have noted for other cases.
Replies
2
Boosts
1
Views
122
Activity
1w
What is the logic for when the Enter Resize Mode button is enabled in the Device Hub?
This button is enabled for new projects I've created in Xcode 27, but I haven't been able to see it in a not grayed-out state with any of my existing projects created with prior versions of Xcode.
Replies
2
Boosts
0
Views
142
Activity
1w
How to pinch in Device Hub?
My question is how to pinch in and out in Device Hub. I can't find that function. I'm on a Macbook. Thanks.
Replies
1
Boosts
0
Views
97
Activity
1w
Device Hub Breaks on use
Hi, whenever I build my app to a simulator it launched device hub but then nothing, makes my Mac extremely hot and cause fans to engage all for nothing. Is it because I'm still on MacOS 26.5.1? Just seems like device hub is broken for me I can only launch testing on physical devices.
Replies
2
Boosts
0
Views
171
Activity
1w
How to simulate two-finger touches in the Device Hub?
My app relies on two-finger tap for some interactions. This was easy in the old simulator by holding down option while clicking. Is there an equivalent interaction in Device Hub? (Option-click no longer seems to work.) If not, will this be added back in a future beta?
Replies
1
Boosts
0
Views
66
Activity
1w
Xcode 27 Device Hub unable to create simulator
I am testing the Xcode 27 Beta and new Device Hub app on my MacBook Pro (M5) with macOS Tahoe 26.5.1, but every time I try to create a new Simulator, the process begins to run, but then fails after this message appears that says “Family quit unexpectedly." I looked over the details of the issue, and it is indeed directly linked to the failing simulator creation. Since this issue makes it impossible to Build and Run any app in the new Xcode 27 beta, it makes it almost completely useless for me. I have already downloaded the iOS 27 simulator, but it fails to boot in the Device Hub.
Replies
6
Boosts
5
Views
1.2k
Activity
1w
DeviceHub Not showing simulator
I can't figure out what I'm doing wrong, maybe it's just "in development." I am running on Tahoe, but running the 27 beta. I created a simulator and asked it to run and it did, but claude had to jump through hoops to get it to actually display. The hub only shows my appleTV device that I test on. Simulators do not show at all. Even when running. Hints on what I am doing wrong? Is it because I'm on Tahoe? Known bug? Dumb user?
Replies
3
Boosts
1
Views
126
Activity
1w
Recording app audio from Device Hub
It appears that recording video of a device in Device Hub does not record the associated audio of the device. Are there any plans to do this? (Or a workaround that's easier than rerouting the audio output to an audio editor app and recording it separately?) It would be incredibly useful for making app demonstrations and tutorials.
Replies
1
Boosts
1
Views
144
Activity
1w
Can't sign in to Claude in Xcode 27 Intelligence Chat
It is not possible to log into my Claude account in Xcode 27 beta 1 for the coding intelligence chat. When I click "Sign In," the browser opens, I authorize, the browser closes, and that's it. Nothing happens. Xcode does not recognize the login. I'm on MacOS 26.4.1 (25E253) and using Xcode 27.0 beta (27A5194q)
Replies
1
Boosts
1
Views
117
Activity
1w
Xcode copilot agent
Has anyone managed to get Copilot working using the new ACP integration in Xcode 26.6 and Xcode 27 beta? I have tried setting it up using the path to the copilot binary as instructed and the flags --acp --stdio but Xcode just displays a "Your request couldn't be completed" error: JSON-RPC global stream failed: The operation couldn’t be completed. (IDEIntelligenceProtocol.JSONRPCElement.Error error 1.) I am running the latest version of copilot cli and it works in many other IDEs.
Replies
8
Boosts
3
Views
272
Activity
1w
No Universal for Map App project with Tahoe
Mac Pro 2019, Tahoe 26.3, Xcode 26.2 Mac Mini 2023 M2, Tahoe 26.3, Xcode 26.2 On Mac Pro 2019 the app is only Intel while on Mac Mini 2023 M2 it is ARM64 only. Both have Standard Architectures (Apple Silicon, Intel). Both have Build Active Architecture Only is set to No (Debug + Release). Happen for default new projet macOS -> App and Obj-C, Xib. No change to defaults setting except uncheck "Automaticaly manage signing" and "Signing Certificate" set to "Sign to Run Locally" HOWEVER On Mac Pro 2019, BigSur 11.7.10, Xcode 14.10 the application is build Universal ! Why cannot build universal with Tahoe 26.3, Xcode 26.2 ? Can I submit a Mac applcation to App Store Connect with BigSur 11.7.10, Xcode 14.10 ? What are the minimal version of Mac Os and Xcode to submit a Mac applcation to App Store Connect ?
Replies
6
Boosts
0
Views
241
Activity
2w
"Failed to register bundle identifier" for teammates — caused by App Groups/HealthKit forcing an explicit App ID?
I'm trying to let a few teammates build and run my app on their own devices, and I'd like to understand the correct approach for our situation. Setup We are a small team. Each of us uses a free personal Apple Developer team (individual Apple IDs, no paid membership yet). The app (an iOS app with a Watch app and a WidgetKit extension) uses App Groups and HealthKit. Bundle IDs: com.example.MyApp, com.example.MyApp.watchkitapp, com.example.MyApp.Widget. App Group: group.example.MyApp. It builds fine for me. When a teammate opens the project and tries to run on device, they get: Failed Registering Bundle Identifier The app identifier "com.example.MyApp" cannot be registered to your development team because it is not available. Change your bundle dentifier to a unique string to try again. What I've observed My other apps that have no entitlements build fine for every teammate. Looking at their embedded profiles, those sign with a wildcard profile (TEAMID.*). This app signs with an explicit profile (TEAMID.com.example.MyApp). If a teammate removes HealthKit and App Groups from all targets, the app builds for them under their own team using the same bundle ID. My understanding (please correct me) App Groups and HealthKit require an explicit App ID, which can only be registered to one team. Since I registered com.example.MyApp first, no other personal team can register the same explicit App ID hence the error. My questions Is that understanding correct — that an entitled (explicit) App ID can only ever belong to a single team? Is there any supported way to keep the same bundle identifier and keep App Groups + HealthKit while teammates build under their own separate personal teams? Or is moving to an Organization account (everyone as members of one shared team) the only way to share an entitled bundle ID across multiple developers? For free personal-team development, is the recommended pattern to give each developer a unique bundle ID + App Group (e.g. via per-developer .xcconfig), keeping entitlements intact? Just want to confirm I'm choosing the right approach before committing to it. Thanks!
Replies
1
Boosts
0
Views
118
Activity
2w
Xcode navigator text size
I find the inspector, file navigator, issue navigator, etc. all hard to read. Is there a way to increase the size of these texts without changing all of the text on my machine?
Replies
8
Boosts
1
Views
194
Activity
2w
(Xcode 26.0 → 26.2) Constant UI flickering in split view mode
Hello, I’ve been experiencing a persistent issue in Xcode since version 26.0, and it is still present in 26.2. When using the split view to display two files side by side, the area in the top‑right corner of the window (the inspector / options panel) starts flickering continuously. This happens regardless of whether I’m using the light or dark theme, and even with the Liquid Glass effect disabled in macOS settings. None of these changes have any impact on the issue. I have already submitted a bug report through Xcode (Feedback Assistant), but the issue is still present as of today. The flickering makes the interface difficult to use and visually very distracting. I’ve attached a video to clearly show the issue. I will review the attachment at the time I publish this post. Thanks in advance for any help or feedback. Video 1 https://www.icloud.com/iclouddrive/077l-R7Ybvxz89NI-B7DliEuA#xcode_bug1 Video 2 https://www.icloud.com/iclouddrive/0f6bJp48ioGRdkYiA2U4sI-cg#xcode-bug2
Replies
8
Boosts
2
Views
393
Activity
2w
Codex no longer works
Since today (5th June), my Codex seems to be broken. First there is no response (wait for hours), now it just crash with this error whenever I issue a command: JSON-RPC global stream failed: The operation couldn’t be completed. (IDEIntelligenceProtocol.JSONRPCElement.Error error 1.) I have a ChatGPT Pro subscription and I don't know what to do. I have restarted Xcode, sign out and in of my account, delete DerivedData, restart machine, reinstall Xcode.
Replies
1
Boosts
0
Views
135
Activity
2w
Xcode memory RAM - requirements
Last year, I changed my iMac i7 (2015) to a new Mac mini M1 with SD disk. I saw the difference, it was incredible fast...but now after one year of working on my project, I get freeze screen and automatic reboot I have 16Go RAM...and often more than 10Go for xcode ! I work with storyboard and I have more than 100 VC. Do I need to change parameter on Xcode to optimize or I must have now min 32 RAM. What is the best requirement for important project?
Replies
3
Boosts
0
Views
2.3k
Activity
2w
Create with Xcode 27 → submit with Xcode 26?
I'd like to use Xcode 27 Beta, for its Coding Intelligence features, on existing iOS 17 thru 26 production code. As long as I don't allow iOS 27 as a target, will I be able to use Xcode 26 to submit the Xcode 27 project files now to the App Store for distribution? I can imagine situations where Xcode 27 makes use of a new backward-compatible API feature that Xcode 26 balks at. Perhaps I'll have to watch out for that, unless there's a way to tell Xcode 27 to avoid it automatically?
Replies
1
Boosts
2
Views
223
Activity
2w
Really happy with Xcode 27 Beta 1 + Claude Agent results
I gave Xcode 27 Beta 1 + Claude Agent my app codebase and set it to work on reviewing the SwiftUI related codebase and suggest improvements in the areas view performance and SwiftUI conformance. I am extremely happy with the results I got. From my experience the Xcode backed Claude Agent is far more versed in SwiftUI related task than pure Claude Code or Claude Code + SwiftUI skill extensions. I was able to visibly increase the performance of several complex views in my app. In addition the Xcode backed agent solved a Liquid Glass related bug with view tinting that I was not able to solve with Claude Code before on its first try. However, in Beta 1 Claude Agent BURNS through tokens at a mind boggling speed. I perceive the agent as a bit to verbose in telling me what it is doing. Allowing the agent to start a simulator and use the app for exploration is setting tokens on fire. I hope that we see refinements in these areas before Xcode 27 is released.
Replies
0
Boosts
1
Views
130
Activity
2w
How do I set the reasoning level for Codex in Xcode 27?
I'm trying to use Codex via the Xcode interface, and I can not find a way to set the reasoning level. There are no settings to be found anywhere. What am I missing? I mean, I can continue to use Codex's own app, but I was hoping to use Xcode's new agentic interface, which seems superior to v26 and somewhat more useful. But if it's going to default to medium and I have no control over it, of course, I would continue using Codex's app rather than Xcode. What's weird, I get responses like this when I ask about: What's your current reasoning level and how can I adjust it? This session appears to be using the default reasoning level: medium. You generally adjust it outside my reply, in the model/session settings for Codex or the API request. Typical options are: • low: faster, cheaper, best for simple edits or direct questions • medium: default balance • high: better for complex debugging, architecture, tricky code changes • xhigh: deepest reasoning, slower, useful for hard multi-step work Inside this chat, I can’t change my own base reasoning level mid-response. You can still tell me “use high reasoning for this” and I’ll treat the task more deliberately, but the actual runtime setting has to be changed in the client/session configuration. So, it doesn't even know the level it's using or how to adjust.
Replies
0
Boosts
0
Views
123
Activity
2w
How to create new swift package based project using Xcode 27?
The Menu command to create a new project based on a Package.swift file is gone. How am I supposed to do this now?
Replies
1
Boosts
0
Views
72
Activity
2w