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

Xcode Documentation

Posts under Xcode subtopic

Post

Replies

Boosts

Views

Activity

SwiftUI NavigationStack warning messages
After installing Xcode 27.0 SwiftUI NavigationStack is generating unwanted warnings that have not been seen with older releases. Examples of the warnings are "cannot add handler to 0 from 0 - dropping". A minimal view using VStack does not generate these messages but adding NavigationStack seems to generate pairs of messages. Over the lifetime of an application hundreds of messages are generated. Is this a known issue?
0
0
80
1w
Unable to install iOS 18 simulator using xcodebuild 27
We are planning to upgrade our CI setup to run on Xcode 27, but we want to run tests on several older iOS simulator runtimes: 26, 18, 17… With Xcode 26.6, we had no trouble installing the needed runtimes by running: $ xcodebuild -downloadPlatform iOS -buildVersion 18.6 $ xcodebuild -downloadPlatform iOS -buildVersion 17.5 $ xcodebuild -downloadPlatform iOS -buildVersion 16.4 When using Xcode 27.0 (27A266a), however, the command fails to work for any runtime older than iOS 26.0: $ xcodebuild -downloadPlatform iOS -buildVersion 18.6 Finding content... iOS 18.6 is not available for download. At the same time, the runtimes can be installed just fine by using the "Add Platforms…" dialog from the Components pane in Xcode settings. Unfortunately, that's not an option in a headless CI machine. The same issue also reproduces in the beta versions 27.1 (27A9269) and 27.2 (27B5019j), and regardless of macOS version (26.7 or 27.0). Any idea how to work around the issue? I wonder if's a broken backend configuration or a regression in Xcode 27? Posted as FB24836279.
0
2
179
1w
Xcode 27 cannot open storyboards or create simulators
Hi. Today we upgraded to Xcode 27 and installed the iOS 27 runtime component. Now storyboards cannot be opened. Xcode only displays "Loading iOS 27.0..." Besides, we cannot create simulators either. iOS 27 runtime appears missing even though it is installed. We tried removing and reinstalling the runtime but it didn't work. Right now all development came to a halt. Please help.
3
0
348
1w
Xcode Version 27 Localised strings not recognised
Hello When compiling a project containing localised file strings for dictionaries with the new release Xcode version 27, I receive an error as the compiler expect a plist instead of the string! validation failed: Couldn't parse property list because the input data was in an invalid format The Xcode version 26… did work fine I did file a Feedback Assistant FB24806196 Using a MacBook Air Apple silicon
1
0
104
1w
XCode 27b6 XCUITest clone simulators not visible in Device Hub (No Show Parallel Testing Devices)
Tried to execute our XCUITest test suite with XCode 27b6. The test plan is set to run in parallel. When executing tests locally with XCode 26, I can see the clone simulators executing the test (which is useful for debugging the test). With XCode 27b6 and Device Hub, I do not see the clone simulators executing, nor do I see a setting or menu item in Device Hub to show those clone simulators. There is no equivalent to the "Show Parallel Testing Devices" menu item in the XCode 26 sim. Am I missing something or is this a regression in XCode 27?
2
3
528
1w
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.
1
0
396
1w
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
3
1.6k
1w
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
3
95
1w
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
93
1w
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
88
1w
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
202
1w
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
427
1w
Device Hub copy/paste is broken?
Not able to copy anything from device hub
Replies
1
Boosts
0
Views
95
Activity
1w
SwiftUI NavigationStack warning messages
After installing Xcode 27.0 SwiftUI NavigationStack is generating unwanted warnings that have not been seen with older releases. Examples of the warnings are "cannot add handler to 0 from 0 - dropping". A minimal view using VStack does not generate these messages but adding NavigationStack seems to generate pairs of messages. Over the lifetime of an application hundreds of messages are generated. Is this a known issue?
Replies
0
Boosts
0
Views
80
Activity
1w
Xcode 26.6 does not download
Hello, Does anybody know how long Xcode takes preparing before starting downloading? Is one hour enough?
Replies
2
Boosts
0
Views
468
Activity
1w
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
3
Boosts
1
Views
726
Activity
1w
Unable to install iOS 18 simulator using xcodebuild 27
We are planning to upgrade our CI setup to run on Xcode 27, but we want to run tests on several older iOS simulator runtimes: 26, 18, 17… With Xcode 26.6, we had no trouble installing the needed runtimes by running: $ xcodebuild -downloadPlatform iOS -buildVersion 18.6 $ xcodebuild -downloadPlatform iOS -buildVersion 17.5 $ xcodebuild -downloadPlatform iOS -buildVersion 16.4 When using Xcode 27.0 (27A266a), however, the command fails to work for any runtime older than iOS 26.0: $ xcodebuild -downloadPlatform iOS -buildVersion 18.6 Finding content... iOS 18.6 is not available for download. At the same time, the runtimes can be installed just fine by using the "Add Platforms…" dialog from the Components pane in Xcode settings. Unfortunately, that's not an option in a headless CI machine. The same issue also reproduces in the beta versions 27.1 (27A9269) and 27.2 (27B5019j), and regardless of macOS version (26.7 or 27.0). Any idea how to work around the issue? I wonder if's a broken backend configuration or a regression in Xcode 27? Posted as FB24836279.
Replies
0
Boosts
2
Views
179
Activity
1w
iOS 27 simulator in Xcode 26?
Anyone know if it is possible to run our app from Xcode 26.3, in an iOS 27 simulator? I see several are listed in the simulator-selection menu but thus far no luck building for them. Background: Trying to see what our app looks like in iOS 27 even before scene delegate migration is complete.
Replies
1
Boosts
0
Views
292
Activity
1w
DeviceHub not showing iOS 16 devices or simulators
Seems like there is an issue in Xcode 27 beta 4 & 5 where DeviceHub doesn't show iOS 16 devices or simulators. I've checked the filters to ensure I haven't hidden anything and the are listed in the Xcode destination dropdown.
Replies
1
Boosts
2
Views
515
Activity
1w
Xcode 27 cannot open storyboards or create simulators
Hi. Today we upgraded to Xcode 27 and installed the iOS 27 runtime component. Now storyboards cannot be opened. Xcode only displays "Loading iOS 27.0..." Besides, we cannot create simulators either. iOS 27 runtime appears missing even though it is installed. We tried removing and reinstalling the runtime but it didn't work. Right now all development came to a halt. Please help.
Replies
3
Boosts
0
Views
348
Activity
1w
Xcode Version 27 Localised strings not recognised
Hello When compiling a project containing localised file strings for dictionaries with the new release Xcode version 27, I receive an error as the compiler expect a plist instead of the string! validation failed: Couldn't parse property list because the input data was in an invalid format The Xcode version 26… did work fine I did file a Feedback Assistant FB24806196 Using a MacBook Air Apple silicon
Replies
1
Boosts
0
Views
104
Activity
1w
XCode 27b6 XCUITest clone simulators not visible in Device Hub (No Show Parallel Testing Devices)
Tried to execute our XCUITest test suite with XCode 27b6. The test plan is set to run in parallel. When executing tests locally with XCode 26, I can see the clone simulators executing the test (which is useful for debugging the test). With XCode 27b6 and Device Hub, I do not see the clone simulators executing, nor do I see a setting or menu item in Device Hub to show those clone simulators. There is no equivalent to the "Show Parallel Testing Devices" menu item in the XCode 26 sim. Am I missing something or is this a regression in XCode 27?
Replies
2
Boosts
3
Views
528
Activity
1w
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
1
Boosts
0
Views
396
Activity
1w
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
100
Activity
1w
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
773
Activity
1w
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
3
Views
1.6k
Activity
1w
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
3
Views
95
Activity
1w
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
93
Activity
1w
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
88
Activity
1w
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
202
Activity
1w
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
427
Activity
1w
Can't use /uikit-app-modernization
When will this be available? (Opencode + LMStudio + Qwen 3.6 27B) FB23978071
Replies
1
Boosts
0
Views
473
Activity
2w