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 crashes when coding agent asks for permission
I am using Coding Intelligence, powered by Claude, in the first production release of Xcode 27.0 (in MacOS 26.7). Initially it was working ok. But after less than a day, it now crashes every time it needs to ask for permission for any shell command. And each time I restart things, it burns through a ton of tokens. ☹️ Any suggestions? (I'll file a bug report right now…)
1
1
83
16h
Xcode 27 beta: "Missing package product" for a Swift Package in a registry
I have a project that builds fine in macOS 26 with Xcode 26. On macOS 27 b4 and Xcode beta, the same project can't build because of a framework that should be pulled from a Swift Package from a package-registry (named Registry, for example below), hosted on JFrog. I have the registry set up and have the token in keychain. The resolution of the packages works. But when I build, I get error like this: error: Missing package product 'Registry.Package_Package.Package' (in target 'Target' from project 'Project') . The real package should just be 'Registry.Package'. Any help with that? Is it a bug?
14
2
1.3k
18h
XCode 27 Shake not working
I'm not able to use shake gesture on Device Hub, the "Control + Command + Z" also does not seem to work. No shake option is available as was available earlier in the simulator. Any work around for this, or when will it be available ?
0
0
32
20h
Xcode components download stuck
I have a problem downloading Xcode components like Metal Toolchain or Developer Documentation. The action stuck with the status "Preparing to download". The symptoms started several weeks ago. I noticed this when my copy of Xcode 27 beta stopped showing the developer documentation. Strangely, when I re-launched Xcode it insists to download the Developer Documentation and keep showing "Preparing to download" while other components like Metal Toolchain, when I quit Xcode, it cancels the component download and that component status reverts to "Get". The symptoms continue thru the released version of Xcode27. Does anyone know the cure?
0
0
55
22h
Flutter iOS Simulator extremely slow after macOS 27 / Xcode 27 update
Hi everyone, I'm experiencing a very slow Flutter iOS Simulator build after upgrading to macOS 27.0 and Xcode 27.0. System: MacBook Air M2 macOS 27.0 (26A428) Xcode 27.0 (27A266a) Flutter 3.47.3 (stable) Dart 3.13.3 iOS 27.0 Simulator Simulator: iPhone 17 Pro Max Flutter Doctor reports: [✓] Flutter [✓] Android toolchain [✓] Xcode [✓] Connected device [✓] Network resources • No issues found! The physical iPhone 17 launches the same Flutter app normally, but launching on the iOS Simulator is extremely slow. When I run: bash flutter run -d "iPhone 17 Pro Max" I get: Launching lib/main.dart on iPhone 17 Pro Max in debug mode... Running Xcode build... Xcode build done. 769.6s That's approximately 12 minutes and 50 seconds just for the Xcode build. The simulator is detected correctly by Flutter, so this doesn't appear to be a device detection issue. I have also installed Rosetta 2 because Flutter initially reported an architecture error with iproxy. Has anyone else experienced extremely slow Flutter/Xcode builds on the iOS 27 Simulator after upgrading to macOS 27/Xcode 27? Is there a known workaround or issue with the new Simulator/Device Hub? Any help would be appreciated. Thanks!
0
0
33
22h
Xcode 27 TV OS simulator: cannot type symbols
I cannot type any symbols from the keyboard anymore. This is not related to my app. You can just open the simulator, open the settings, go to account, and try to type an email address. It’s impossible to type the '@' it inserts '2' instead. All symbols are discarded as if the shift key is ignored. You can only type numbers. And if you select the @ on the virtual keyboard and press enter, the "next" step is selected and asks for the password. Anyone with the same issue about the keyboard? It was perfectly working in Xcode 26.6
0
0
27
22h
Xcode 27 is unable to open project
Hi, Looks like after MacOS 27 update all my projects located in specific folder are unable to be opened by Xcode 27. When I'm trying to run anything from there, Xcode just doesn't respond. It didn't crash or block, it sits in memory without window. There is no alert or anything. Turns out fresh downloaded project can be run from download folder but my old folder is some how locked and Xcode cannot do anything with all old repos and projects there.
0
0
289
1d
Custom Keyboard extension
I’m developing a keyboard extension and noticed this weird issue. When I switch from normal keyboard to custom keyboard there is a faint overlay duplicate of the custom keyboard that comes from the top which makes the switching not seamless and I can’t seem to find the cause of this issue. I initially thought it had to do with the fact that it’s communicating with my app to get the latest data and check for edits but it’s not the case here. when I screen record it doesn’t appear as faint overlay, it appears as the keyboard becoming taller than usual and then sizing down to expected height. iOS26.6.2
1
0
65
1d
Xcode 27 Playground New Page
In a Playground in Xcode 27 beta 6 I don't see a way to make a new page. It used to be File->New->Playground Page. That menu item is missing. The keyboard shortcut still exists, but it produces an error "No valid file actions for insertion." Am I missing an alternative? Or is this no longer possible?
1
2
354
2d
agent view in Xcode
Question: Is there a recommended workflow for using Xcode's agent chat, given its current UI limitations? Context: I can't view my source code / project settings and the agent chat at the same time — it's one or the other. Worse, if I start typing in the chat bubble and then switch views to copy some text from my code, whatever I'd typed in the bubble gets lost. This makes even simple tasks painful. For example, the agent can't modify project settings directly while a chat is open, so I end up trying to follow a long list of setup instructions from the chat while constantly toggling to the settings view to actually make each change — it's a nightmare. Because of this, I end up doing anything non-trivial in VS Code with the command line instead, which is ironic since VS Code isn't even my first choice for SwiftUI work. I'm using version 27RC, so I'm starting to worry that this is the final design.
1
0
109
3d
Xcode 27 beta 3 Device Hub zoom gesture doesn't work
I am using Xcode 27 beta 3 Device Hub with iPadOS Simulator. The iPadOS app I'm developing supports a standard two finger pinch/unpinch gesture to zoom in and out. In Xcode 26 Simulator, I could hold down the option key to zoom in and out with a two finger multitouch gesture. How can I effect a two finger multitouch zoom gesture with Xcode 27 beta 3 Device Hub iPadOS Simulator? I tried holding down the option key, which did not work. I tried using a macOS two finger multitouch pinch/unpinch zoom gesture, but this did not work. I've spent about 30 minutes investigating this, searching through Device Hub Settings and macOS Settings and exploring different permutations of options and reading Xcode 27 beta release notes. The Option key worked great in Xcode 26 iPadOS Simulator. I'd appreciate any assistance that an Apple Engineer could provide. Thank you.
4
1
519
3d
Cannot Pair Watch with XCode 27
Hello I cannot seem to get past the final step in pairing my Ultra Watch 3 to Xcode 27 RC1.. I have tried this on a Mac Mini M4 and a Mac M1.. Both Macs are running 26.6.2 In both cases, XCode seems my iPhone and I am able to deploy to that physical iPhone. I have my iPhone connected via a USB cable. When going into Developer Mode on the watch and then opening up the "Pair Nearby Device" in Device Hub, I can see either my M1 or my M4 (depending on which one is trying to connect), I can select it, it asks for a pass code and then asks me to pair. When I do, it simply returns back to the previous screen asking if I'd like to pair again.. Any ideas ?
0
0
78
3d
Can no longer drag photos into an iOS Simulator
Before Device Hub (27.0), you could drag a photo onto an iOS Simulator window and the photo would be added to that simulated device's Photos library. This does not work in Device Hub (27.0). Bummer if your app has to do with photos.
Replies
0
Boosts
0
Views
34
Activity
10h
Xcode 27 crashes when coding agent asks for permission
I am using Coding Intelligence, powered by Claude, in the first production release of Xcode 27.0 (in MacOS 26.7). Initially it was working ok. But after less than a day, it now crashes every time it needs to ask for permission for any shell command. And each time I restart things, it burns through a ton of tokens. ☹️ Any suggestions? (I'll file a bug report right now…)
Replies
1
Boosts
1
Views
83
Activity
16h
Unable to download iOS 27 Universal simulator
How to download iOS 27.0 Universal simulator in Xcode 27.0 Beta 1 ? xcodebuild -downloadPlatform iOS -exportPath ~/Downloads -architectureVariant universal -buildVersion 27.0 Finding content... iOS 27.0 (universal) is not available for download.
Replies
4
Boosts
2
Views
572
Activity
17h
Xcode 27 beta: "Missing package product" for a Swift Package in a registry
I have a project that builds fine in macOS 26 with Xcode 26. On macOS 27 b4 and Xcode beta, the same project can't build because of a framework that should be pulled from a Swift Package from a package-registry (named Registry, for example below), hosted on JFrog. I have the registry set up and have the token in keychain. The resolution of the packages works. But when I build, I get error like this: error: Missing package product 'Registry.Package_Package.Package' (in target 'Target' from project 'Project') . The real package should just be 'Registry.Package'. Any help with that? Is it a bug?
Replies
14
Boosts
2
Views
1.3k
Activity
18h
XCode 27 Shake not working
I'm not able to use shake gesture on Device Hub, the "Control + Command + Z" also does not seem to work. No shake option is available as was available earlier in the simulator. Any work around for this, or when will it be available ?
Replies
0
Boosts
0
Views
32
Activity
20h
Xcode components download stuck
I have a problem downloading Xcode components like Metal Toolchain or Developer Documentation. The action stuck with the status "Preparing to download". The symptoms started several weeks ago. I noticed this when my copy of Xcode 27 beta stopped showing the developer documentation. Strangely, when I re-launched Xcode it insists to download the Developer Documentation and keep showing "Preparing to download" while other components like Metal Toolchain, when I quit Xcode, it cancels the component download and that component status reverts to "Get". The symptoms continue thru the released version of Xcode27. Does anyone know the cure?
Replies
0
Boosts
0
Views
55
Activity
22h
Flutter iOS Simulator extremely slow after macOS 27 / Xcode 27 update
Hi everyone, I'm experiencing a very slow Flutter iOS Simulator build after upgrading to macOS 27.0 and Xcode 27.0. System: MacBook Air M2 macOS 27.0 (26A428) Xcode 27.0 (27A266a) Flutter 3.47.3 (stable) Dart 3.13.3 iOS 27.0 Simulator Simulator: iPhone 17 Pro Max Flutter Doctor reports: [✓] Flutter [✓] Android toolchain [✓] Xcode [✓] Connected device [✓] Network resources • No issues found! The physical iPhone 17 launches the same Flutter app normally, but launching on the iOS Simulator is extremely slow. When I run: bash flutter run -d "iPhone 17 Pro Max" I get: Launching lib/main.dart on iPhone 17 Pro Max in debug mode... Running Xcode build... Xcode build done. 769.6s That's approximately 12 minutes and 50 seconds just for the Xcode build. The simulator is detected correctly by Flutter, so this doesn't appear to be a device detection issue. I have also installed Rosetta 2 because Flutter initially reported an architecture error with iproxy. Has anyone else experienced extremely slow Flutter/Xcode builds on the iOS 27 Simulator after upgrading to macOS 27/Xcode 27? Is there a known workaround or issue with the new Simulator/Device Hub? Any help would be appreciated. Thanks!
Replies
0
Boosts
0
Views
33
Activity
22h
Xcode 27 TV OS simulator: cannot type symbols
I cannot type any symbols from the keyboard anymore. This is not related to my app. You can just open the simulator, open the settings, go to account, and try to type an email address. It’s impossible to type the '@' it inserts '2' instead. All symbols are discarded as if the shift key is ignored. You can only type numbers. And if you select the @ on the virtual keyboard and press enter, the "next" step is selected and asks for the password. Anyone with the same issue about the keyboard? It was perfectly working in Xcode 26.6
Replies
0
Boosts
0
Views
27
Activity
22h
iOS 17 simulator is unresponsive in Device Hub
The iOS 17 simulator does not respond at all when I try to interact with it. The simulator is not frozen as I can still control appearance and launch apps via the right sidebar. Things like the home button and clicking on the screen simply don’t work. I am using Xcode 27 beta 6. Feedback ID: FB24674634
Replies
2
Boosts
2
Views
235
Activity
22h
Xcode 27 is unable to open project
Hi, Looks like after MacOS 27 update all my projects located in specific folder are unable to be opened by Xcode 27. When I'm trying to run anything from there, Xcode just doesn't respond. It didn't crash or block, it sits in memory without window. There is no alert or anything. Turns out fresh downloaded project can be run from download folder but my old folder is some how locked and Xcode cannot do anything with all old repos and projects there.
Replies
0
Boosts
0
Views
289
Activity
1d
Custom Keyboard extension
I’m developing a keyboard extension and noticed this weird issue. When I switch from normal keyboard to custom keyboard there is a faint overlay duplicate of the custom keyboard that comes from the top which makes the switching not seamless and I can’t seem to find the cause of this issue. I initially thought it had to do with the fact that it’s communicating with my app to get the latest data and check for edits but it’s not the case here. when I screen record it doesn’t appear as faint overlay, it appears as the keyboard becoming taller than usual and then sizing down to expected height. iOS26.6.2
Replies
1
Boosts
0
Views
65
Activity
1d
Xcode 26.0 through 26.6 fails to open on M2 MacBook Air with Tahoe 26.6.1
Everything has been updated. Countless reboots and reinstalls. Yet Xcode still won't open. Keep getting "Xcode quit unexpectedly dialog" with buttons to Reopen, Ignore, Report. Any suggestions on what lingering file is killing Xcode on open? Thanks!
Replies
2
Boosts
1
Views
374
Activity
1d
Xcode 27 Playground New Page
In a Playground in Xcode 27 beta 6 I don't see a way to make a new page. It used to be File->New->Playground Page. That menu item is missing. The keyboard shortcut still exists, but it produces an error "No valid file actions for insertion." Am I missing an alternative? Or is this no longer possible?
Replies
1
Boosts
2
Views
354
Activity
2d
issue with Xcode 27 RC uploading to App Store Connect
Is anyone else having issues uploading an archive to App Store Connect? I went to validate an archive of my app, and seems to hang during validation. I've tried just validating the app, and tried Transporter as well. It hangs on the analyzing app. How to troubleshoot?
Replies
3
Boosts
1
Views
381
Activity
2d
Can't use /uikit-app-modernization
When will this be available? (Opencode + LMStudio + Qwen 3.6 27B) FB23978071
Replies
1
Boosts
0
Views
443
Activity
3d
agent view in Xcode
Question: Is there a recommended workflow for using Xcode's agent chat, given its current UI limitations? Context: I can't view my source code / project settings and the agent chat at the same time — it's one or the other. Worse, if I start typing in the chat bubble and then switch views to copy some text from my code, whatever I'd typed in the bubble gets lost. This makes even simple tasks painful. For example, the agent can't modify project settings directly while a chat is open, so I end up trying to follow a long list of setup instructions from the chat while constantly toggling to the settings view to actually make each change — it's a nightmare. Because of this, I end up doing anything non-trivial in VS Code with the command line instead, which is ironic since VS Code isn't even my first choice for SwiftUI work. I'm using version 27RC, so I'm starting to worry that this is the final design.
Replies
1
Boosts
0
Views
109
Activity
3d
Xcode 27 beta 3 Device Hub zoom gesture doesn't work
I am using Xcode 27 beta 3 Device Hub with iPadOS Simulator. The iPadOS app I'm developing supports a standard two finger pinch/unpinch gesture to zoom in and out. In Xcode 26 Simulator, I could hold down the option key to zoom in and out with a two finger multitouch gesture. How can I effect a two finger multitouch zoom gesture with Xcode 27 beta 3 Device Hub iPadOS Simulator? I tried holding down the option key, which did not work. I tried using a macOS two finger multitouch pinch/unpinch zoom gesture, but this did not work. I've spent about 30 minutes investigating this, searching through Device Hub Settings and macOS Settings and exploring different permutations of options and reading Xcode 27 beta release notes. The Option key worked great in Xcode 26 iPadOS Simulator. I'd appreciate any assistance that an Apple Engineer could provide. Thank you.
Replies
4
Boosts
1
Views
519
Activity
3d
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
3
Boosts
2
Views
310
Activity
3d
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
3
Boosts
1
Views
288
Activity
3d
Cannot Pair Watch with XCode 27
Hello I cannot seem to get past the final step in pairing my Ultra Watch 3 to Xcode 27 RC1.. I have tried this on a Mac Mini M4 and a Mac M1.. Both Macs are running 26.6.2 In both cases, XCode seems my iPhone and I am able to deploy to that physical iPhone. I have my iPhone connected via a USB cable. When going into Developer Mode on the watch and then opening up the "Pair Nearby Device" in Device Hub, I can see either my M1 or my M4 (depending on which one is trying to connect), I can select it, it asks for a pass code and then asks me to pair. When I do, it simply returns back to the previous screen asking if I'd like to pair again.. Any ideas ?
Replies
0
Boosts
0
Views
78
Activity
3d