No eligible devices connected to 'My Mac
Xcode
RSS for tagBuild, test, and submit your app using Xcode, Apple's integrated development environment.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I installed xcode 16 and both Predictive Code Completion Model and iOS 18.0 Simulator Failed Download.
I can live without the code completion, but I can not get any Simulator to install.
I clicked of the info button and it shows the following:
Download failed.
Domain: DVTDownloadableErrorDomain
Code: 41
User Info: {
DVTErrorCreationDateKey = "2024-09-30 15:57:24 +0000";
}
Download failed.
Domain: DVTDownloadableErrorDomain
Code: 41
Failed fetching catalog for assetType (com.apple.MobileAsset.iOSSimulatorRuntime), serverParameters ({
RequestedBuild = 22A3351;
})
Domain: DVTDownloadsUtilitiesErrorDomain
Code: -1
Download failed as the server said authentication failed. (Catalog download for com.apple.MobileAsset.iOSSimulatorRuntime)
Domain: com.apple.MobileAssetError.Download
Code: 41
User Info: {
checkServer = 1;
}
System Information
macOS Version 15.0 (Build 24A335)
Xcode 16.0 (23051) (Build 16A242d)
Timestamp: 2024-09-30T10:57:24-05:00
Hello, developers!
Xcode 26.3 unlocks the power of agentic coding!
Get ready to explore new features that released last Tuesday. If you haven't already, you can download Xcode 26.3 from the Apple Developer Downloads page
Check out the official documentation for getting started and how to configure agents in Xcode:
Writing code with intelligence in Xcode
Generate code, fix bugs fast, and learn as you go with intelligence built directly into Xcode
https://developer.apple.com/documentation/xcode/writing-code-with-intelligence-in-xcode/
Setting up coding intelligence
Enable third-party coding tools that you want to use in the coding assistant
https://developer.apple.com/documentation/xcode/setting-up-coding-intelligence
Giving external agentic coding tools access to Xcode
Let agentic coding tools access your project and Xcode capabilities using the Model Context Protocol
https://developer.apple.com/documentation/xcode/giving-agentic-coding-tools-access-to-xcode
Code-along: Experiment with coding intelligence in Xcode 26
Presented live at a Meet with Apple event: Learn how coding intelligence features can help you write code and fix errors with example prompts and resources.
We are also introducing a new tag to the forums Coding intelligence ✨. Use this tag when discussing these new features to increase visibility on the forums to help others chime in.
Hey all, I recently updated to Xcode 26.2 and I'm having the hardest time trying to download the corresponding iOS simulator. I installed Xcode from developer downloads and the app did not come loaded with an iOS simulator. When trying to download from Components in Settings, I only get the following message:
Download failed due to a bad URL. (Catalog download for com.apple.MobileAsset.iOSSimulatorRuntime)
Domain: com.apple.MobileAssetError.Download
Code: 49
User Info: {
checkConfiguration = 1;
}
I also tried downloading via Terminal but also get a download failed message. I am on the latest macOS and have over 600 GB of disk space available. In previous versions, I was able to download the iOS simulator directly from Developer Downloads, but anything after 26 is not there. Any suggestions?
Hey,
so I wanted to pull from the Github project repository and XCode asked me login again. Forgot my password so I tried a wrong one and now it keeps asking for my Username and Access token, when I actually just want to login with my password. Doesn't let me choose between the too, not even when adding the account through preferences. Anyone know how to just login with password and the reason for this -pardon me- absolutely idiotic choice of not letting the user choose?
I have a Xcode project with two apps that have a separate MainMenu.nib file. Both are different apps with different source trees..
Why am I seeing resources in interface builder from one app in another?
I am a bit old school and using the AppDelegate rather than view controllers to capture events... but that should work fine
Thanks ahead of time.
I’m experiencing a consistent crash of SpringBoard on macOS when running my iOS app in the Simulator. The crash occurs specifically when a critical alert (geofence notification) is triggered by my server and delivered to the app.
Xcode version: 16.4
macOS version: 15.5
App uses UNUserNotificationCenter with critical alert notifications related to geofencing. When the critical alert is received, SpringBoard quits unexpectedly on macOS, crashing the Simulator UI to the home screen.
The notification is delivered by Firebase, and I have updated to the latest version of that.
The console shows:
XPC connection interrupted
[C:1] Error received: Connection interrupted.
[C:1-2] Error received: Connection interrupted.
This does not happen when testing on a real device — the app works fine there, however, Springbaord still crashes on macOS.
Please advise if this is a known issue or if there’s a workaround. This severely impacts development and testing of location-based critical notifications.
The last time I tested this functionality, with an older version of Xcode, I had no issues.
Thank you for your help.
I need to use Xcode version 16 for a college project. However, I cannot install it on my mac. M2Pro - ios Tahoe 26.2.
Is there any workaround for this?
Is my best option to downgrade to Sequoia?
I'm a little apprehensive about this but willing to give it a try.
Can anyone recommend a good, reliable video for this?
I've connected my Claude account into Coding Intelligence and working properly (opening a web browsing and connecting my account), but when I press Claude Agent it sayes that I have to login againt. When I press the Account login with Claude.ai account, a web browser is opened, but it never finished the flow and I have an infinite spinner.
Apple M2 Pro with macOS 26.2 (25C56)
Topic:
Developer Tools & Services
SubTopic:
Xcode
I've been trying to add my Github Account to Xcode, but even with my user name and access token, all I get is a spinning wheel. No error message, no feedback. Nothing.
I'm going to do it from terminal but this seems just poor. Especially, since there's no feedback from XCode on what the problem is.
Any help would be nice.
Topic:
Developer Tools & Services
SubTopic:
Xcode
I'm running Xcode 26.2 (17C52).
After deleting all simulators and creating new ones, SwiftUI Preview stopped working.
Xcode reports:
“Simulator [D774B214-XXXX-XXXX-XXXX-XXXXXXXX8288] failed to boot and may have crashed.”
However, when I list all available simulators using xcrun simctl list, there is no simulator with that identifier. It seems Xcode is still referencing a previously deleted simulator.
I have tried:
Deleting all simulators again
Creating new simulators
Restarting Xcode and the system
But the issue persists and Preview still fails to launch.
Has anyone encountered this issue or knows how to clear the cached simulator reference used by SwiftUI Preview?
I have a framework, which depends on a library (GPGME) to do its actual encryption. As a consequence of using this external library, there are header files which have GPGME types in them...
@interface E3Gpgme : NSObject
...
/*****************************************************************************\
|* Call GPGME to sign
\*****************************************************************************/
- (int) signWithMode:(gpgme_sig_mode_t)mode
userId:(NSString *)signingKeyOrEmail
srcStream:(E3Stream *)src
dstStream:(E3Stream *)dst
error:(NSError **)error;
...
@end
.
This means the E3Gpgme class header file has to #import <gpgme.h> to get those type definitions.
That is then proving problematic because the framework modularisation fails, with <e3gpgme.h> obviously not being a part of the framework, so the project refuses to build.
I can see a few ways around this:
Just don't run the modularisation check. That doesn't sound like a fantastic option
import the GPGME headers (there's only 2) into the project and bundle them as if they were project ones. Again, not a great option, I don't expect GPGME to change its API but it runs the risk of there being a mismatch in future if the library code itself remains external.
So what's the best-practice for requiring a dependency on a library, not a framework ? Is there a way to copy the library binary into a folder inside the framework folder and make sure you link with that ? Assuming that's the shared library it ought to still be ok for the LGPL licensing...
Is there a better way ? I'm sure I'm not the first person to run into this :)
Topic:
Developer Tools & Services
SubTopic:
Xcode
My app start up has became horrid. It takes 1 minute to open SQLlite database for my rust core. Impossible to work...
I have Address Sanitizer, Thread Perf Checker and Thread Sanitizer disabled...
I am editing my iOS project in Xcode 16 and want to use the "Swift Compiler - Upcoming Features" section of the build settings to selectively enable the new Swift 6 language features.
I have read the instructions for doing this and have dowloaded an Apple sample project and can see that section under the project and target-level Build Settings in the sample project
However, when I open my Xcode project in XCode 16 that section does not appear.
Is there any way for me to influence how Xcode 16 displays the build settings?
In fact, no "Swift Compiler" sections appear at all under my project Build Settings (All | Combined). There is a "User-Defined" section that has the Swift Version, Compilation Mode and Optimization level.
The project itself is several years old and was on a very old project version. I have upgraded my project document format to "Xcode 16" but it made no difference.
I have compared my project and the sample project in a text editor and both seem to have similar structure. I tried removing unused and outdated settings from my project but that also had no effect.
Is there an alternative to deleting my project file and adding the source files to it? I have a large project with multiple targets so that would be something I'd rather not do.
Is there a way to change the model to Opus it's using sonnet. I have a claude code max x2 subscription.
Topic:
Developer Tools & Services
SubTopic:
Xcode
"EnableLiveAssetServerV2-com.apple.MobileAsset.MetalToolchain" = on;
ProductName: macOS
ProductVersion: 26.0.1
BuildVersion: 25A362
The MetalToolchain is installed, however I keep getting error that MetalToolchain cannot be found by the Xcode
"Command CompileMetalFile failed with a nonzero exit code"
error: error: cannot execute tool 'metal' due to missing Metal Toolchain; use: xcodebuild -downloadComponent MetalToolchain
❯ xcodebuild -downloadComponent MetalToolchain
2025-10-31 11:18:29.004 xcodebuild[6605:45524] IDEDownloadableMetalToolchainCoordinator: Failed to remount the Metal Toolchain: The file “com.apple.MobileAsset.MetalToolchain-v17.1.324.0.k9JmEp” couldn’t be opened because you don’t have permission to view it.
Beginning asset download...
2025-10-31 11:18:29.212 xcodebuild[6605:45523] IDEDownloadableMetalToolchainCoordinator: Failed to remount the Metal Toolchain: The file “com.apple.MobileAsset.MetalToolchain-v17.1.324.0.k9JmEp” couldn’t be opened because you don’t have permission to view it.
Downloaded asset to: /System/Library/AssetsV2/com_apple_MobileAsset_MetalToolchain/4ab058bc1c53034b8c0a9baca6fba2d2b78bb965.asset/AssetData/Restore/022-17211-415.dmg
Done downloading: Metal Toolchain 17A324.
My project is complete, I successfully compile the application, but when I try to run it on my simulator it gives an error, stating that the architecture is incorrect, even though it is parameterized for ARM architecture.
Note: the application runs on my iPhone.
Has anyone else had this problem?
Hello!
I started to develop a Mac application in Xcode 15, under MacOS 13. I made several commits in this environment.
Later, I switched to another Mac and continued the development in Xcode 26.2, under MacOS 26.
Since then, I haven't been able to make commits.
I staged the changes, inserted the message, but the commit button is inactive (non-clickable), as shown in the picture.
Can anyone help me to get it to work again?
Thank you in advance.
Topic:
Developer Tools & Services
SubTopic:
Xcode
I have got 26.3 running, signed in with calude max account and open ai plus account, but codex and claude agent "get " button is greyed out. I have apple intelligence turned on.. I can only use sonnet 4.5 inside xcode. anyone has an idea about whhy>?
Topic:
Developer Tools & Services
SubTopic:
Xcode
I've installed Xcode 26.3 on Sequoia 15.7.3 but I'm not seeing any of the AI options showing in Xcode that I see in usage/example videos.
For example that AI icon in the top left hand corner isn't visible, and if I select Settings there is no Intelligence section, yet there is in all the demo videos.
Why am I not seeing any of these new features?