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

Xcode Documentation

Posts under Xcode subtopic

Post

Replies

Boosts

Views

Activity

Xcode 27: Bugs / Feedbacks
Hi, I have listed below the Feedbacks for Xcode 27, please have a look at it, considerable time was spent on filing these feedbacks, thanks! Environments All of them were tested on the environment: macOS 26.5.1 (25F80) Xcode 27.0 beta (27A5194q) Feedbacks FB23133706 (Git stage tab) FB23132869 (markdown - code block) FB23132403 (markdown - search) FB23078039 (stash - slow / unresponsive) FB23077930 (stash - allow multiselection) FB23055381 (Run destination - Clear recents) FB23041713 (SwiftUI preview - SwiftData) FB23033844 (Bundle ID) FB23033231 (Device Hub - sizes)
6
1
115
14h
(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
368
15h
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
91
19h
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
19h
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
86
1d
Unable to debug with iOS 27 and xcode-beta
▿ DeviceKit.(unknown context at $1058036ec).ErrorDescription title: "The developer disk image could not be mounted on this device." errorClass: "CoreDeviceError" errorCode: "12040" DeviceIdentifier: 0DFB4363-6028-52E1-8C03-17D79DAxxxx #0 super: NSMutableString super: NSString super: NSObject ▿ underlyingErrors: 1 element ▿ DeviceKit.(unknown context at $1058036ec).ErrorDescription - title: "Personalization of the Cryptex-based developer disk image failed." - errorClass: "NSError" - errorCode: "12051" - DDIBuildUpdate: 27A5194q (developerTools) #1 - super: NSMutableString - super: NSString - super: NSObject - DDIPath: /Library/Developer/DeveloperDiskImages/iOS_DDI #2 - super: NSMutableString - super: NSString - super: NSObject - DDIPlatform: iOS #3 - super: NSString - super: NSObject - DDIVariant: external #4 - super: NSString - super: NSObject - DeviceBoardID: 4 #5 - super: NSNumber - super: NSValue - super: NSObject - DeviceChipID: 33040 #6 - super: NSNumber - super: NSValue - super: NSObject - DeviceFusing: prod #7 - super: NSString - super: NSObject - DeviceIdentifier: 0DFB4363-6028-52E1-8C03-17D79DA5E159 #8 - super: NSMutableString - super: NSString - super: NSObject - NSLocalizedFailureReason: An error occurred while personalizing the developer disk image. #9 - super: NSMutableString - super: NSString - super: NSObject - NSLocalizedRecoverySuggestion: Ensure the device is running a supported version of the operating system. If the issue persists, gather a diagnostic report by running 'devicectl diagnose' from Terminal and file a bug report at https://bugreport.apple.com. #10 - super: NSMutableString - super: NSString - super: NSObject - NSURL: file:///Library/Developer/DeveloperDiskImages/iOS_DDI/ #11 - super: NSObject - UseCredentials: 0 #12 - super: NSNumber - super: NSValue - super: NSObject ▿ underlyingErrors: 1 element ▿ DeviceKit.(unknown context at $1058036ec).ErrorDescription - title: "The operation couldn’t be completed. (CryptexKitHost.TatsuError error 4.)" - errorClass: "NSError" - errorCode: "4"
0
0
31
1d
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
0
44
1d
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
43
2d
Xcode 26: The horror of S-L-O-W T-Y-P-I-N-G returns
FB22844728 Xcode 26.5, macOS 26.5, MacStudio M1 64 GB The disaster of S-L-O-W T-Y-P-I-N-G that plagued Xcode several years ago returns. I guess all the ultra-advanced LLM neuroneirowebs still can't advise those at Apple who develop the Xcode app how to provide this uber-exotic, unheard-of functionality: JUST TYPING THE CODE. This disaster doesn't affect all projects, but it does affect the exact one I'm working on, and I need to type a lot of code there. Significant time is already wasted. I performed all the recommended steps like relaunching, restarting, and deleting deprived data with no effect. Hope something can be done about it..
4
0
227
2d
Behavior change for `.copy(...)` in SPM packages in Xcode 27 causes resources in packages to not properly compile resulting in missing resources
It seems that the behavior of the .copy rule in SPM packages has changed in Xcode 27. This change now results in raw files being copied into the bundle without compilation, resulting in crashes and missing resources since uncompiled resources cannot be used by the OS. More specifically, in Xcode 26, when .copy was applied to resources such as storyboards, asset catalogs, etc. it would cause Xcode to compile those resources into the respective storyboardc or Assets.car before copying. Xcode 27 does not do this and instead copies the raw files. I do understand that there is a difference between .process and .copy, and the documentation does state that the process rule needs to be used for those files. Is this a regression in Xcode 27 or is copy not compiling anything expected behavior? Submitted FB23115950
0
0
23
2d
Using the walkthrough feature in Xcode 27
In the video "Xcode, Agents and You" (direct link), the presenter asks for a walkthrough of the open project and Xcode presents a rich-text overview of the app's architecture, with color-coded diagrams and clickable links to the files it discusses. I can't get that to work when I try it, though. Is this a preview of a feature that isn't yet available in the first beta of Xcode 27? Is this because I'm using a local model or because it only works with a specific kind of model?
2
0
98
2d
Xcode 27 beta - Family.app keeps crashing
Family.app keeps crashing whilst I am using Xcode 27 beta The app is very simple with just a small number of views. That's all I can say really This is the first part of the crash report output. Multiline Translated Report (Full Report Below) Process: Family [3026] Path: /Volumes/VOLUME/*/Family.app/Family Identifier: com.apple.family Version: 1.0 (1) Code Type: ARM-64 (Native) Role: Background Parent Process: launchd_sim [2846] Coalition: com.apple.CoreSimulator.SimDevice.5FAFAC9B-97A4-4FC8-ADF3-4A8C694BF68D [1639] Responsible Process: SimulatorTrampoline [1008] User ID: 501 Date/Time: 2026-06-09 20:14:55.5737 +0100 Launch Time: 2026-06-09 20:14:45.2448 +0100 Hardware Model: Mac16,12 OS Version: macOS 26.5.1 (25F80) Release Type: User BlockQuote
3
0
139
2d
Xcode 26.6 and 27 Gemini Authentication with Configuration Files
I’m attempting to set up Gemini agentic support in Xcode 26.6 RC (and I'm assuming the process is the same in 27), but since I need to use Gemini with a corporate account, I have a Google Cloud Project ID, not an API key, so it seems like the configuration file route is the right path? After consulting Gemini and filling out the .env file and settings.json files, Xcode is complaining about needing to be authenticated, and I can’t seem to see how to trigger the auth, like one might do in Gemini CLI. I'd appreciate any suggestions or advice at this point. Thanks in advance!
2
0
91
2d
Codex integration just stopped working
Nothing changed on my end, Pro subscription still active, but Xcode 26.5 (17F42) simply does not want to log into Codex anymore. It opens the OAuth flow and after finishing and closing the window, it still says "Not Signed In". Codex login works everywhere else, including the Codex app. What to do?
Replies
21
Boosts
2
Views
599
Activity
13m
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
0
Boosts
0
Views
5
Activity
51m
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
123
Activity
5h
Xcode 27: Bugs / Feedbacks
Hi, I have listed below the Feedbacks for Xcode 27, please have a look at it, considerable time was spent on filing these feedbacks, thanks! Environments All of them were tested on the environment: macOS 26.5.1 (25F80) Xcode 27.0 beta (27A5194q) Feedbacks FB23133706 (Git stage tab) FB23132869 (markdown - code block) FB23132403 (markdown - search) FB23078039 (stash - slow / unresponsive) FB23077930 (stash - allow multiselection) FB23055381 (Run destination - Clear recents) FB23041713 (SwiftUI preview - SwiftData) FB23033844 (Bundle ID) FB23033231 (Device Hub - sizes)
Replies
6
Boosts
1
Views
115
Activity
14h
(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
368
Activity
15h
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
91
Activity
19h
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
19h
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
86
Activity
1d
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
1
Boosts
0
Views
27
Activity
1d
Unable to debug with iOS 27 and xcode-beta
▿ DeviceKit.(unknown context at $1058036ec).ErrorDescription title: "The developer disk image could not be mounted on this device." errorClass: "CoreDeviceError" errorCode: "12040" DeviceIdentifier: 0DFB4363-6028-52E1-8C03-17D79DAxxxx #0 super: NSMutableString super: NSString super: NSObject ▿ underlyingErrors: 1 element ▿ DeviceKit.(unknown context at $1058036ec).ErrorDescription - title: "Personalization of the Cryptex-based developer disk image failed." - errorClass: "NSError" - errorCode: "12051" - DDIBuildUpdate: 27A5194q (developerTools) #1 - super: NSMutableString - super: NSString - super: NSObject - DDIPath: /Library/Developer/DeveloperDiskImages/iOS_DDI #2 - super: NSMutableString - super: NSString - super: NSObject - DDIPlatform: iOS #3 - super: NSString - super: NSObject - DDIVariant: external #4 - super: NSString - super: NSObject - DeviceBoardID: 4 #5 - super: NSNumber - super: NSValue - super: NSObject - DeviceChipID: 33040 #6 - super: NSNumber - super: NSValue - super: NSObject - DeviceFusing: prod #7 - super: NSString - super: NSObject - DeviceIdentifier: 0DFB4363-6028-52E1-8C03-17D79DA5E159 #8 - super: NSMutableString - super: NSString - super: NSObject - NSLocalizedFailureReason: An error occurred while personalizing the developer disk image. #9 - super: NSMutableString - super: NSString - super: NSObject - NSLocalizedRecoverySuggestion: Ensure the device is running a supported version of the operating system. If the issue persists, gather a diagnostic report by running 'devicectl diagnose' from Terminal and file a bug report at https://bugreport.apple.com. #10 - super: NSMutableString - super: NSString - super: NSObject - NSURL: file:///Library/Developer/DeveloperDiskImages/iOS_DDI/ #11 - super: NSObject - UseCredentials: 0 #12 - super: NSNumber - super: NSValue - super: NSObject ▿ underlyingErrors: 1 element ▿ DeviceKit.(unknown context at $1058036ec).ErrorDescription - title: "The operation couldn’t be completed. (CryptexKitHost.TatsuError error 4.)" - errorClass: "NSError" - errorCode: "4"
Replies
0
Boosts
0
Views
31
Activity
1d
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
0
Views
44
Activity
1d
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
43
Activity
2d
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
47
Activity
2d
Xcode 26: The horror of S-L-O-W T-Y-P-I-N-G returns
FB22844728 Xcode 26.5, macOS 26.5, MacStudio M1 64 GB The disaster of S-L-O-W T-Y-P-I-N-G that plagued Xcode several years ago returns. I guess all the ultra-advanced LLM neuroneirowebs still can't advise those at Apple who develop the Xcode app how to provide this uber-exotic, unheard-of functionality: JUST TYPING THE CODE. This disaster doesn't affect all projects, but it does affect the exact one I'm working on, and I need to type a lot of code there. Significant time is already wasted. I performed all the recommended steps like relaunching, restarting, and deleting deprived data with no effect. Hope something can be done about it..
Replies
4
Boosts
0
Views
227
Activity
2d
Behavior change for `.copy(...)` in SPM packages in Xcode 27 causes resources in packages to not properly compile resulting in missing resources
It seems that the behavior of the .copy rule in SPM packages has changed in Xcode 27. This change now results in raw files being copied into the bundle without compilation, resulting in crashes and missing resources since uncompiled resources cannot be used by the OS. More specifically, in Xcode 26, when .copy was applied to resources such as storyboards, asset catalogs, etc. it would cause Xcode to compile those resources into the respective storyboardc or Assets.car before copying. Xcode 27 does not do this and instead copies the raw files. I do understand that there is a difference between .process and .copy, and the documentation does state that the process rule needs to be used for those files. Is this a regression in Xcode 27 or is copy not compiling anything expected behavior? Submitted FB23115950
Replies
0
Boosts
0
Views
23
Activity
2d
Using the walkthrough feature in Xcode 27
In the video "Xcode, Agents and You" (direct link), the presenter asks for a walkthrough of the open project and Xcode presents a rich-text overview of the app's architecture, with color-coded diagrams and clickable links to the files it discusses. I can't get that to work when I try it, though. Is this a preview of a feature that isn't yet available in the first beta of Xcode 27? Is this because I'm using a local model or because it only works with a specific kind of model?
Replies
2
Boosts
0
Views
98
Activity
2d
Xcode 27 beta - Family.app keeps crashing
Family.app keeps crashing whilst I am using Xcode 27 beta The app is very simple with just a small number of views. That's all I can say really This is the first part of the crash report output. Multiline Translated Report (Full Report Below) Process: Family [3026] Path: /Volumes/VOLUME/*/Family.app/Family Identifier: com.apple.family Version: 1.0 (1) Code Type: ARM-64 (Native) Role: Background Parent Process: launchd_sim [2846] Coalition: com.apple.CoreSimulator.SimDevice.5FAFAC9B-97A4-4FC8-ADF3-4A8C694BF68D [1639] Responsible Process: SimulatorTrampoline [1008] User ID: 501 Date/Time: 2026-06-09 20:14:55.5737 +0100 Launch Time: 2026-06-09 20:14:45.2448 +0100 Hardware Model: Mac16,12 OS Version: macOS 26.5.1 (25F80) Release Type: User BlockQuote
Replies
3
Boosts
0
Views
139
Activity
2d
Xcode’s Source Control section is not updating properly when the branch changes
Deleted
Replies
0
Boosts
0
Views
29
Activity
2d
DeviceHub lacks any CarPlay simulator
iPhoneSimulator.app used to have the ability to show an external display / CarPlay display, but this feature does not appear to be available in DeviceHub.app, making it difficult (/impossible :( ) to test CarPlay features from the simulator.
Replies
1
Boosts
0
Views
48
Activity
2d
Xcode 26.6 and 27 Gemini Authentication with Configuration Files
I’m attempting to set up Gemini agentic support in Xcode 26.6 RC (and I'm assuming the process is the same in 27), but since I need to use Gemini with a corporate account, I have a Google Cloud Project ID, not an API key, so it seems like the configuration file route is the right path? After consulting Gemini and filling out the .env file and settings.json files, Xcode is complaining about needing to be authenticated, and I can’t seem to see how to trigger the auth, like one might do in Gemini CLI. I'd appreciate any suggestions or advice at this point. Thanks in advance!
Replies
2
Boosts
0
Views
91
Activity
2d