I'm running in a very very very weird error. I have a large asset catalog, consisting of about 2700 assets for 1.19GB of size.
I can successfully build and run my project with both release and debug scheme, when a real device or simulator is selected. However, whenever I select Any iOS device (arm64), about 80ish seconds in the build process, the building fails with the following output:
CoreUI: Error: unable to add asset to store
*** Terminating app due to uncaught exception 'IBPlatformToolFailureException', reason: 'The tool closed the connection (AssetCatalogSimulatorAgent)
What I tried and failed:
Cleaning DerivedData and restarting PC
Building the same project on three different devices, each with a different version of XCode. All failed.
running sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService
Scanning for duplicate image files, found none.
Scanning for duplicate .imageset folders in different folders, found none.
Scanning for images that declared a different format than theirs, eg .webp renamed as .png, and found none.
Creating an empty Hello World project, and just adding my asset catalog. Build fails for Any iOS device, succeeds for simulator or physical device.
Uninstalling and reinstalling XCode command line tools.
Manually compiling via actools.
Changed "Embed Assets Pack in Product Bundle" from No to Yes.
I don't have any .svg file in my assets.
What I tried and failed but gives more insight:
Now the only thing that I was able to come up with was deleting folders to narrow down where the problem was. So I found that there is a 700MB folder called T, containing T1, T2, ..., T6. Eventually managed to narrow down even more to T3, T4, T6.
I created a distinct .xcassets catalog for each subfolder and tried to compile individually with actools, along with assets.xcassets (the main one). Here's the thing:
T3.xcassets + assets.xcassets compiles
T4.xcassets + assets.xcassets compiles
T6.xcassets + assets.xcassets compiles
T3.xcassets + T4.xcassets + assets.xcassets compiles.
T3.xcassets + T6.xcassets + assets.xcassets compiles.
T4.xcassets + T6.xcassets + assets.xcassets compiles.
T3.xcassets + T4.xcassets + T6.xcassets + assets.xcassets crashes with CoreUI: Error: unable to add asset to store.
I've been stuck for days now and can't deploy my finished app I worked on for the last three years because of this.
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
Created
Our project plans to upgrade Xcode from 16.2 to Xcode 26. We’ve noticed that the information on https://developer.apple.com/support/xcode/ states that the Deployment Targets for Xcode 26 supports iOS 15–26.1.
However, the Deployment Targets for our current project is set to iOS 13. Does this mean that we must set the project’s Deployment Targets to iOS 15 or higher if we want to upgrade to Xcode 26? Can we still set the Deployment Targets to iOS 13? If we upgrade to Xcode 26 and set the Deployment Targets to iOS 13, will there be any problems?
I was wondering if there are any technical rules where to store the xcstrings file(s) in the Xcode project? Is the source folder most common?
From my observations it seems the xcstrings file could be anywhere inside the project folder hierarchy and they still take part in string extraction.
Hello,
I'm experiencing consistent crashes of XCPreviewAgent when using Xcode Previews on macOS 26.0.1 Tahoe (25A362).
Configuration:
macOS: 26.0.1 (25A362) - stable release
Xcode: 16.0 (23.0.54) - stable release
Hardware: MacBook Pro M4
Project: SwiftUI iOS app
Issue:
Every time I try to use Xcode Previews, XCPreviewAgent crashes with:
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Subtype: KERN_PROTECTION_FAILURE at 0x0000000340e54000
Termination Reason: Namespace SIGNAL, Code 10, Bus error: 10
The crash occurs in shared memory region during dynamic library loading.
What I've tried:
Cleared all caches: rm -rf ~/Library/Developer/Xcode/DerivedData
Deleted Preview data: rm -rf ~/Library/Developer/Xcode/UserData/Previews
Reset simulators: xcrun simctl --set previews delete all
Switched xcode-select to /Applications/Xcode.app/Contents/Developer
Tried both Xcode stable and Xcode beta
Created fresh simulators
Clean build (Cmd+Shift+K)
Rebooted Mac multiple times
The app runs fine on simulator (Cmd+R), but Previews consistently crash.
Hi I have downloaded Xcode 16.4 with MacOS Sequoia 15.7.1 as a XIP. It has downloaded but only as a 5GB file and it won't show up in my privacy settings/or even in storage- can someone tell me what I am doing wrong please- I know it should be about 50GB. Thank you
Topic:
Developer Tools & Services
SubTopic:
Xcode
Hi All,
I have recently upgraded my Silicon Mac Laptop from MacOS 15.3 (Sequoia) to MacOS 26 (Tahoe). Since existing Xcode 16.2 is not compatible with MacOS 26, i installed Xcode 26.0.1 but after the successful installaton the application is not working and quits after the erorr dialog "Loading a Plugin Failed." (Screenshot attached). I tried resatring/reinstalling the Xcode 26.0.1 but no luck.
To narrow down the issue i installed the same Xcode 26.0.1 in another Silicon Mac laptop with MacOS 26(Tahoe) where no previous Xcode was installed and it went well and working as expected.
With my assumption Xcode 26.0.1 breaks when the device is upgraded from sequoia to Tahoe due to some conflicting old Xcode settings/files which may not be compatible with Xcode 26 or Tahoe but i am not sure. I followed some old articles as below from the forum and nothing worked for me so far.
https://developer.apple.com/forums/thread/660860
https://developer.apple.com/forums/thread/719810
https://developer.apple.com/forums/thread/759396
Can some one shed a light on this to resolve this issue?
Thanks.
We’re facing an issue when trying to install an enterprise-distributed iOS app on devices running iOS 18.5.
During installation, we receive this error message:
“This iOS app requires a newer version of iOS. You need to update this iPhone to iOS 26.0 to install this app.”
However, in Xcode 26.0.1, our app’s minimum deployment target is explicitly set to iOS 17.6.
After adding this step and the app result is unable to install the app on ios 18.5 and message getting as per the above quotes.
Kindly help me out this issues.
Issue :
When creating a new project in Xcode 26.0 and adding a Share Extension target without modifying any code, the app crashes upon displaying the extension screen with the following error:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'The layout constraints still need update after sending -updateConstraints to <_UINavigationBarTitleControl: 0x105b9cc00; frame = (0 0; 0 0); layer = <CALayer: 0x10b834270>>. _UINavigationBarTitleControl or one of its superclasses may have overridden -updateConstraints without calling super. Or, something may have dirtied layout constraints in the middle of updating them. Both are programming errors.'
Environment :
Xcode 26.0
iOS 26.0 (physical device)
Note: This issue does not occur when running on iOS 18.3.1 (physical device).
Temporary Workaround :
Adding the following implementation to the isContentValid method prevents the exception from occurring:
Objective-C- (BOOL)isContentValid { // Do validation of contentText and/or NSExtensionContext attachments here if (@available(iOS 26, *)) { self.navigationController.navigationBarHidden = YES; } return YES; }
Questions :
Is there any alternative way to avoid this exception?
Since this crash occurs with the default implementation generated by Xcode, is there any plan to fix it in future updates?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Download failed.
Domain: DVTDownloadableErrorDomain
Code: 41
User Info: {
DVTErrorCreationDateKey = "2025-10-26 06:59:38 +0000";
}
Download failed.
Domain: DVTDownloadableErrorDomain
Code: 41
Failed fetching catalog for assetType (com.apple.MobileAsset.iOSSimulatorRuntime), serverParameters ({
RequestedBuild = 23A8464;
})
Domain: DVTDownloadsUtilitiesErrorDomain
Code: -1
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;
}
System Information
macOS Version 26.0.1 (Build 25A362)
Xcode 26.0.1 (24229) (Build 17A400)
Timestamp: 2025-10-26T17:59:38+11:00
Topic:
Developer Tools & Services
SubTopic:
Xcode
Hello Developers and Apple Engineers,
I am encountering a persistent and highly unusual Xcode build failure when trying to use Metal APIs, specifically related to MTLCommandQueueDescriptor. I have exhausted all standard troubleshooting steps, including a complete erase and reinstall of macOS, yet the issue remains. Hardware diagnostics have passed. I am seeking insights or potential solutions.
The Problem:
When compiling any project (including brand new, empty macOS App projects) that attempts to set the dispatchType property on an MTLCommandQueueDescriptor instance, the build fails with the following errors:
Swift
// Code causing the error:
let queueDescriptor = MTLCommandQueueDescriptor()
queueDescriptor.dispatchType = .userInteractive // <-- Error occurs here
// Compiler Errors:
Value of type 'MTLCommandQueueDescriptor' has no member 'dispatchType'
Cannot infer contextual base in reference to member 'userInteractive'
Key Evidence - Physical Header File Corruption:
The root cause appears to be a physically corrupted/incomplete SDK header file. Using the cat command in Terminal to inspect the contents of the relevant Metal header file confirms that the definition for MTLCommandQueueDescriptor is missing the dispatchType property:
Bash
cat /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Metal.framework/Versions/A/Headers/MTLCommandQueue.h
The output consistently shows MTLCommandQueueDescriptor only having maxCommandBufferCount and logState properties, even after a fresh OS and Xcode installation.
Environment:
macOS: Version 26.0.1 (Build 25A362) - Clean install via Erase and Reinstall from Recovery.
Xcode: Version 26.0.1 (Build 17A400) - Installed fresh from Mac App Store after OS reinstall.
Mac Hardware: MacBook Pro (14-inch, M3) - (Please confirm this model info is accurate)
Hardware Diagnostics: Passed (Tested at an official Apple Store).
Exhaustive Troubleshooting Steps Performed (Issue Persists After All):
Standard Xcode Cleaning:
Clean Build Folder (Shift+Cmd+K).
Manually deleted DerivedData folder (~/Library/Developer/Xcode/DerivedData).
Deleted Xcode Caches (~/Library/Caches/com.apple.dt.Xcode, com.apple.dt.xcodebuild).
Command Line Tools Path:
Correctly set using sudo xcode-select -s /Applications/Xcode.app/Contents/Developer.
Verified path using xcode-select -p.
Verified version using xcodebuild -version.
Multiple Xcode Versions & Install Methods Attempted (Before OS Reinstall):
Xcode 26.0.1 (App Store).
Xcode 26.0.1 (.xip package from Developer Portal).
Xcode 26.1 Beta 3 (.xip package from Developer Portal).
Performed thorough cleaning (deleted ~/Library/Developer, /Library/Developer, caches, rebooted) before each .xip installation attempt.
In all cases, cat command confirmed the header file remained corrupted on disk after installation.
Hardware Check:
Took the Mac to an official Apple Store. Hardware diagnostics passed without any issues reported.
Complete OS Reinstallation:
Booted into Recovery Mode.
Used Disk Utility to completely erase the internal SSD (APFS, GUID Partition Map).
Reinstalled macOS 26.0.1 from Recovery.
Set up the Mac as a new device (did not restore from backup).
Post-OS Reinstall:
Installed Xcode 26.0.1 fresh from the Mac App Store.
Set command line tools path correctly.
Created a brand new macOS App project (MetalTest).
Pasted the minimal code to reproduce the issue into AppDelegate.swift.
Build failed with the exact same errors.
Ran the cat command again, confirmed the MTLCommandQueue.h file on the fresh system is STILL missing the dispatchType property.
Request for Help:
Given that the SDK header file corruption persists even after a complete macOS erase and reinstall, and hardware diagnostics have passed, I am at a loss for the cause or further troubleshooting steps.
Has anyone encountered a similar situation where core SDK files remain corrupted despite a clean OS install and passing hardware checks?
Are there any deeper system caches or states that might survive an erase/reinstall and interfere with SDK file integrity?
Are there any more advanced diagnostic steps recommended?
Any insights or suggestions from Apple engineers or the community would be greatly appreciated.
Thank you.
I have previously contacted Apple Developer Support regarding this issue, case ID: 102731239935.
In my app I want to integrate a personilized Lock Screen. Does anybody know how that works?
I am trying to upgrade my app to use Xcode 26 and I cannot get my tests to launch.
I am trying to launch tests to the simulator, and I always get this error after 300 second timeout:
"encountered an error (The test runner hung before establishing connection.)"
There are no other errors getting logged.
I can run to the same simulator just fine, and in Xcode 16 the tests launch with no issues.
The tests also run fine on an actual iPhone.
Thanks in advance.
Hi, I've been running into an issue with the Xcode Intelligence assistance on the side. I am hitting limits very fast despite having both Claude and GPT plus. I've tried reauthenticating several times, turning apple intelligence off and on, nothing seems to be working.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Hello,
I'm trying to remove a localization from a String Catalog in a Swift Package. How can I do that?
I tried to remove the file and create a new one, but all the languages are back. The only place where I've found a reference to the languages is in Package/.swiftpm/xcode/package.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstate
But I don't know how to edit this file to remove a language.
Thank you,
Axel
Problem Details : Could not launch “App”
Reproduction Route : Install Xcode26.0 > Connect to iPhone6(iOS12) > Run app
We tried this solution but didn't work.
To make Xcode 26 recognize and run apps on an iOS 12 physical device, you can manually add the missing device support files by going to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/ on your Mac, where you’ll see folders like 17.0 or 18.0; download the matching iOS 12 folder (for example, 12.4) from the community-maintained repository.
I took delivery of a new 11 inch M5 iPad Pro yesterday, and have been unable to get it to connect to Xcode so I can build to it.
The iPad is running iPadOS version 26.0.1, and I am using Xcode Version 26.0.1 as well. My MacBook Pro is running MacOS 26.0
I enabled developer mode. When I connected the cable I was asked (twice) to trust the computer, and said yes. I get errors saying:
"The developer disk image could not be mounted on this device.; Error mounting image: 0xe800010f (kAMDMobileImageMounterPersonalizedBundleMissingVariantError"
I've tried disconnecting and reconnecting the cable, quitting and relaunching Xcode, and rebooting both the iPad and the Mac. I've also tried "Clear Trusted Computers" in the developer menu. That triggers the same sequence of having to trust the computer again when I connect it (the dialog appears twice.) Then I go back to the error message above in the devices and simulators screen. I've also tried the command
sudo installer -pkg /Applications/Xcode.app/Contents/Resources/Packages/XcodeSystemResources.pkg -target /
Nothing works. It's maddening.
Does anybody know how I can can get this working? I'm eager to start developing on my new iPad, but I can't get started.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Trying to setup a new iPad Pro M5 device for development returns the "The developer disk image could not be mounted on this device." message.
The /Library/Developer/DeveloperDiskImages/iOS_DDI/Restore/BuildManifest.plist is missing any iPad17,* entries.
...
<string>iPad14,6</string>
<string>iPad14,8</string>
<string>iPad14,9</string>
<string>iPad15,3</string>
<string>iPad15,4</string>
<string>iPad15,5</string>
<string>iPad15,6</string>
<string>iPad15,7</string>
<string>iPad15,8</string>
<string>iPad16,1</string>
<string>iPad16,2</string>
<string>iPad16,3</string>
<string>iPad16,4</string>
<string>iPad16,5</string>
<string>iPad16,6</string>
-->
<string>iPad5,1</string>
...
What is the process for getting updated developer device support for Xcode 16.4? I am not sure Xcode 26.0.1 has them either.
Domain: com.apple.dt.CoreDeviceError
Code: 12040
Failure Reason: Error mounting image: 0xe800010f (kAMDMobileImageMounterPersonalizedBundleMissingVariantError: The bundle image is missing the requested variant for this device.)
User Info: {
DDIBuildUpdate = "17A321 (developerTools)";
DDIPath = "/Library/Developer/DeveloperDiskImages/iOS_DDI";
DVTErrorCreationDateKey = "2025-10-23 18:54:11 +0000";
DeviceFusing = prod;
DeviceIdentifier = "....";
NSURL = "file:///Library/Developer/DeveloperDiskImages/iOS_DDI/";
Options = {
MountedBundlePath = "file:///Library/Developer/DeveloperDiskImages/iOS_DDI/";
UseCredentials = 0;
};
"com.apple.dt.DVTCoreDevice.operationName" = enablePersonalizedDDI;
}
--
Error mounting image: 0xe800010f (kAMDMobileImageMounterPersonalizedBundleMissingVariantError: The bundle image is missing the requested variant for this device.)
Domain: com.apple.mobiledevice
Code: -402652913
User Info: {
FunctionName = AMDeviceRemoteMountPersonalizedBundle;
LineNumber = 2127;
}
--
Failed to initialize image properties: 0xe800010f (kAMDMobileImageMounterPersonalizedBundleMissingVariantError: The bundle image is missing the requested variant for this device.)
Domain: com.apple.mobiledevice
Code: -402652913
User Info: {
FunctionName = "-[PersonalizedImage mountImage:]";
LineNumber = 1793;
}
--
Failed to find image for variant/identity: (variant: DeveloperDiskImage | boardID: 10 | chipID: 33090 | securityDomain: 1).
Domain: com.apple.mobiledevice
Code: -402652913
User Info: {
FunctionName = "-[PersonalizedImage initializeImageProperties:]";
LineNumber = 1039;
}
--
System Information
macOS Version 15.7.1 (Build 24G231)
Xcode 16.4 (23792) (Build 16F6)
Timestamp: 2025-10-23T11:54:11-07:00
Topic:
Developer Tools & Services
SubTopic:
Xcode
Is it still possible to download "Additional Tools for Xcode" from anywhere? All the links I can find redirect back to the accounts page:
https://developer.apple.com/account
Where there is no obvious path forward.
Hi everyone,
We had developed an iOS Application in Flutter and built it using XCode 26.0.1. We're unable to install this application in iOS 18.7. Below are the details,
➡️ Development Environment:
🔹 Flutter: 3.32.2
➡️ Build Environment:
🔹 Xcode: 26.0.1
🔹 Build system: Flutter → flutter build ios --release, then opened in Xcode for signing
➡️ Device models tested:
🔹 iPhone (iOS 15.8.3 / 15.8.5) → ✅ installs and launches fine
🔹 iOS Simulator (iOS 18.6 / 26) → ✅ works fine
🔹 iPad (iOS 18.7) → ❌ fails to install
➡️ Error message on iPad (iOS 18.7):
🔹 “Unable to install ‘’. Please try again later.”
➡️ What we’ve tried:
🔹 Cleaned and rebuilt the project (flutter clean, DerivedData removed)
🔹 Deployment Target is set to iOS 18.7 or lower.
🔹 Built the app using an Enterprise distribution profile, not a Development profile.
🔹 Works fine on older iPhones (iOS 15.8.3 / 15.8.5), so signing seems valid
🔹 Device has enough storage, and trust is granted under Settings › VPN & Device Management
➡️ Questions:
🔹 Could this be related to iOS 18.7’s signing or compatibility change?
🔹 Are there any known issues with enterprise installs on iOS 18.7?
🔹 Any insight from Apple engineers or others who faced this with iOS 18.7 would be extremely helpful.
Thanks in advance!
Hi everyone,
We had developed an iOS Application in Flutter and built it using XCode 26.0.1. We're unable to install this application in iOS 18.7. Below are the details,
➡️ Development Environment:
🔹 Flutter: 3.32.2
➡️ Build Environment:
🔹 Xcode: 26.0.1
🔹 Build system: Flutter → flutter build ios --release, then opened in Xcode for signing
➡️ Device models tested:
🔹 iPhone (iOS 15.8.3 / 15.8.5) → ✅ installs and launches fine
🔹 iOS Simulator (iOS 18.6 / 26) → ✅ works fine
🔹 iPad (iOS 18.7) → ❌ fails to install
➡️ Error message on iPad (iOS 18.7):
🔹 “Unable to install ‘’. Please try again later.”
➡️ What we’ve tried:
🔹 Cleaned and rebuilt the project (flutter clean, DerivedData removed)
🔹 Deployment Target is set to iOS 18.7 or lower.
🔹 Built the app using an Enterprise distribution profile, not a Development profile.
🔹 Works fine on older iPhones (iOS 15.8.3 / 15.8.5), so signing seems valid
🔹 Device has enough storage, and trust is granted under Settings › VPN & Device Management
➡️ Questions:
🔹 Could this be related to iOS 18.7’s signing or compatibility change?
🔹 Are there any known issues with enterprise installs on iOS 18.7?
🔹 Any insight from Apple engineers or others who faced this with iOS 18.7 would be extremely helpful.
Thanks in advance!