Some Macs recently received a macOS system update which disabled the simulator runtimes used by Xcode 15, including the simulators for iOS, tvOS, watchOS, and visionOS. If your Mac received this update, you will receive the following error message and will be unable to use the simulator:
The com.apple.CoreSimulator.SimRuntime.iOS-17-2 simulator runtime is not available.
Domain: com.apple.CoreSimulator.SimError
Code: 401
Failure Reason: runtime profile not found using "System" match policy
Recovery Suggestion: Download the com.apple.CoreSimulator.SimRuntime.iOS-17-2 simulator runtime from the Xcode
To resume using the simulator, please reboot your Mac. After rebooting, check Xcode Preferences → Platforms to ensure that the simulator runtime you would like to use is still installed. If it is missing, use the Get button to download it again.
The Xcode 15.3 Release Notes are also updated with this information.
Xcode
RSS for tagBuild, test, and submit your app using Xcode, Apple's integrated development environment.
Posts under Xcode tag
200 Posts
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I downloaded the Xcode Beta 3 on my MacBook Pro M4 Base today and tested out some iOS26 mechanics of my app. And when I came back to my main Xcode to continue developing in iOS18, I couldn't build my app. I went to Product > Destination > Manage run destinations and then tried to create a simulator with iOS18 but it didn't show up, only choice that's showing up was iOS26. I tried deleting iOS18 platform and downloading it again but it didn't solve, I tried deleting Xcode Beta but it didn't solve the problem either. I deleted Runtimes folder, it didn't solve too. I can not create a simulator of iOS18 or below too, the error says "The iOS 18.5 simulator runtime is not available. Try reinstalling Xcode or the simulator runtime." How can I fix this problem?
I am constantly reaching my daily ChatGPT limit and even though it's recommending that I log in, I already am.
What can I do to fix this?
I’m developing a Safari App Extension and I want to debug the background.js script.
However, I can’t find any tool or option to do this.
When I run the extension from Xcode using the ProjectName Extension (macOS) scheme, I expect to see a “ProjectName” item under the Develop → Web Extension Background Content menu.
But there’s nothing there.
Has anyone encountered the same issue? How did you fix it?
Environment:
Manifest Version: V3
Safari: 26.0.1 (21622.1.22.11.15)
Xcode: 26.0.1 (17A400)
I found that unofficial apps like ChatGPT and Shadowrocket can use widgets in VisionOS 26. How is this achieved? How can I also enable widgets for apps I develop?
Hell Apple Developer Community,
I need help with the Upload of my Project to AppStore Connect. I’ve got an Error Message, that tells me something is missing in the Info.plist file. Can somebody help me?
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
App Store Connect
Xcode
App Submission
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.
Hello Apple Developer Community,
I'm experiencing an issue with file download functionality in the iOS Simulator after updating to Xcode 26 RC (Build 17A321).
Issue Description:
When attempting to download files in the iOS Simulator via Safari, the download prompt appears correctly, but after tapping the 'Download' button, files are not being saved to the Files app. The download appears to do nothing with no error message, no indication of failure, but the file simply doesn't appear in Downloads or anywhere in the Files app.
Environment:
Xcode Version: 26.0 RC (17A321)
iOS Simulator Version: 26.0 RC (23A339)
Device Simulated: iPhone Air
Steps to Reproduce:
Open Safari in the iOS Simulator
Navigate to a downloadable file (PDF, ZIP, etc.)
Tap to initiate download
Download prompt appears as expected
Tap the 'Download' button
Check the Files app → Downloads folder (empty)
Expected Behavior:
Files should download normally as they do on physical devices and as they did in previous Xcode versions.
Actual Behavior:
The download prompt dismisses after tapping 'Download', but no file appears in the Files app. No error message is shown, and there's no indication that the download failed, it simply appears as if nothing happened.
Additional Information:
Downloads work correctly on physical device (iOS 26 RC 23A340)
This functionality worked properly in previous Xcode versions
I have created a bug report to Feedback assistant: FB20190927
Thanks in advance for any assistance.
Hello Team,
I try to delete photo from Photos for that i used this method,
[[PHPhotoLibrary sharedPhotoLibrary] performChanges:^{
[PHAssetChangeRequest deleteAssets:@[assetToDelete]];
completionHandler:^(BOOL success, NSError *error) {
}];
This method pops up a dialog with Don't Allow or Delete. But some time in some iPhones not respond PHAssetChangeRequest deleteAssets method that's why that completionHandler not called because of that i can't perform any operation of PHPhotoLibrary then after.
If I restart my iPhone then it works. Many users of my app complained about this issue. I have an iPhone 11 with iOS 15.3. But some iOS 12,14,16 users also face the same issue.
So what exact issue is there? Is it related to iOS or a method?
Thanks,
Ankur
Hello,
I am trying to publish a simple app to the App Store for the first time, and I am getting these 2 errors.
Please note the knowledge base URLs shown in the screenshot are not clickable. I think this should be addressed.
Any guidance on how to correct these issues will be greatly appreciated.
Sincerely,
Anis
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.
Every time I launch Xcode 26.0 (17A324), I see this window:
Consequently, each time I launch Xcode, I must manually close the Downloads window, and it will always reappear the next time I launch Xcode.
My question: How can I make the Downloads window with this message go away permanently, so I don't have to manually dismiss it?
I tried deleting Device Support for Vision Pro (M5) and iPad Pro (M5) from Settings > Components, but unfortunately this is what I see:
Thank you for any guidance you can provide.
I'm trying to setup a macOS 26 build environment in a VM (using UTM and the virtualization framework Apple provides).
I have Xcode 26 installed and have logged into my Apple ID and verified that the team and other configuration looks fine in Xcode settings.
When trying to build the macOS app, I see errors saying the VM's device ID has not been registered. I have confirmed that the device ID is registered both in the Provisioning portal AND the downloaded .provisionprofiles (in Library > Developer > Xcode > UserData).
This problem appears on multiple targets (e.g. the main app and extensions).
If I try to manually provision the app, using the Provisioning portal, I can build the product, but it will not launch because of Gatekeeper issues.
Finally, signing to run locally doesn't work either. As the app launches, frameworks refuse to load because Team IDs don't match. With ad hoc provisioning, there are no Team IDs.
I've come to the conclusion that this just isn't possible.
Which is a shame because I need to support products with a build environment on macOS 15 and cannot move over to macOS 26 yet. I suspect many developers outside of Apple are in a similar position.
Since Xcode 26 our tests are crashing due to the Main Thread not being able to deallocate WKNavigationResponse.
Following an example:
import Foundation
import WebKit
final class WKNavigationResponeMock: WKNavigationResponse {
private let urlResponse: URLResponse
override var response: URLResponse { urlResponse }
init(urlResponse: URLResponse) {
self.urlResponse = urlResponse
super.init()
}
convenience init(httpUrlResponse: HTTPURLResponse) {
self.init(urlResponse: httpUrlResponse)
}
convenience init?(url: URL, statusCode: Int) {
guard let httpURLResponse = HTTPURLResponse(url: url, statusCode: statusCode, httpVersion: nil, headerFields: nil) else {
return nil
}
self.init(httpUrlResponse: httpURLResponse)
}
}
import WebKit
import XCTest
final class ExampleTests: XCTestCase {
@MainActor func testAllocAndDeallocWKNavigationResponse() {
let expectedURL = URL(string: "https://galaxus.ch/")!
let expectedStatusCode = 404
let instance = WKNavigationResponeMock()
// here it should dealloc/deinit `instance` automatically
}
Here the call stack:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 CoreFoundation 0x101f3dd54 CFRetain.cold.1 + 16
1 CoreFoundation 0x101e14860 CFRetain + 104
2 WebKit 0x10864dd24 -[WKNavigationResponse dealloc] + 52
Hi so i have a given project where I am trying to use components within the PhotosUI Framework with Xcode26 and Xcode26.0.1
Just for reference here is an attached screenshot
This sample code compiled successfully with xcode16.4 and was in production.
There is no change in the pbxproj file , all the build settings have remained the same. Attaching it for reference.
project.pbxproj.txt
While showing declarations of PHPickerViewControllerDelegate i get two options
which is the same as in Xcode16.4
while browsing online found this reddit thread which is very similar
https://www.reddit.com/r/Xcode/comments/1nkku20/my_project_wont_compile_after_xcode_26_update_due/
Pls help :)
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
Hello, my iOS apps are exiting right after launch on a few of our iOS devices. I tried a couple of my apps that are deployed to our fleet and they do the same thing. If I run the app(s) in the Simulator it works fine and if I run the app(s) on the offending devices it works fine as well. Once I stop the run in Xcode the app on the device will not launch.
I'm thinking something is missing like a certificate etc. Just not sure.
Any ideas on how to troubleshoot this? I would really like to get this fixed.
Topic:
Code Signing
SubTopic:
Certificates, Identifiers & Profiles
Tags:
iOS
Entitlements
iPadOS
Xcode
I am using Automatically Manage Signing
And I have registered my Mac UUID in developer account, but it is still giving me these errors -
Device My Mac is not registered to your team Ai Glider Inc. Devices must be registered in order to run your code, but you do not have permission to register them. Please check with your team's admin.
No profiles for 'com.aiexample.sebexample' were found
Xcode couldn't find any Mac App Development provisioning profiles matching 'com.aiexample.sebexample'.
I'm facing an issue with Swift Playgrounds and files created in Xcode 16. It seems that Swift Playgrounds does not support Swift 6, but even when I create files specifically with Swift 5, Swift Playgrounds still reports that the files are unsupported.
This creates a significant problem because macOS Sequoia does not allow me to revert to Xcode 15, which might have offered better compatibility. As it stands, I can't find a solution to work seamlessly between Xcode and Swift Playgrounds.
Has anyone else encountered this issue? Are there any workarounds or updates planned to address this compatibility gap? Any advice would be greatly appreciated!
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!