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
The other day the XCode account had some error that I so that I decided to log out and in again.
But when trying to log in to my apple account I get this "Bad URL" with the description "Try signing in again or contact Apple Developer Support to resolve account access".
This only happens on the XCode on my work computer. I can log in to XCode on other computers with the same account. This happens only on this computer and with any account that I try to log in to.
Obviously there is some cache file somewhere that I need to delete. But I am not finding it.
I’m blocked debugging a watchOS app on a physical Apple Watch. The iPhone connects to Xcode normally (wired), but the Watch either fails to connect with a tunnel timeout or disappears entirely from Xcode after I unpaired it inside Devices & Simulators.
Environment
Mac: macOS 26.x (Apple Silicon Mac)
Xcode: 26.2
iPhone: iOS 26.1
Apple Watch Ultra: watchOS 26.2 (build 23S303)
Connection: iPhone connected to Mac via USB (trusted). Watch paired to iPhone and working normally in the Watch app.
Issue A (when Watch is visible in Xcode)
In Xcode → Window → Devices and Simulators, the Watch shows up but is not usable and fails to connect.
Error:
“Previous preparation error: A connection to this device could not be established.”
“Timed out while attempting to establish tunnel using negotiated network parameters.”
In some attempts the Watch shows “Capacity: Unknown” / limited details, and then fails during preparation.
Issue B (after unpairing Watch in Xcode only)
I unpaired/removed the Watch in Xcode (Devices & Simulators). I did not unpair the Watch from the iPhone.
Now:
iPhone appears in Xcode and works normally for builds.
Watch is still paired to the iPhone and works normally.
Watch no longer appears anywhere in Xcode Devices & Simulators (no paired watch section, no watch run destination).
What I’ve tried
Reboots of Mac, iPhone, Watch (multiple times)
Watch unlocked, awake; iPhone unlocked and close to Watch
Verified Watch is paired and connected in iPhone Watch app
Developer Mode enabled on iPhone and Watch
Wi-Fi and Bluetooth ON (Mac/iPhone/Watch), tried toggling both
Tried on home Wi-Fi and also with iPhone hotspot (same result)
Resetting trust prompts / reconnecting iPhone via USB, re-trusting Mac
Apple Watch: “Clear Trusted Computers”
Xcode: removing/re-adding devices; clearing derived data; restarting Xcode
Watch Developer networking test: Responsiveness = Medium (430 RPM)
Questions
1. Is this a known issue/regression with Xcode 26.2 + watchOS 26.2 tunneling (CoreDevice / devicectl)?
2. Is there an Apple-supported way to force Xcode to re-discover a paired Watch after it was removed from Xcode Devices & Simulators (without unpairing the Watch from the iPhone)?
3. Any recommended logs or diagnostic steps I should collect (Console logs, sysdiagnose, specific Xcode/CoreDevice logs) to include in a Feedback report?
If helpful, I can provide the full error text from Xcode’s Devices window and any logs you recommend.
Thank you in advance,
I’m currently facing a disk space limitation on my Mac.
I’ve already freed up some storage by following the suggestions shared in a previous post, which helped partially, but the issue is not fully resolved and space is still a bottleneck for my workflow.
To move forward, I’d like to ask a very concrete question:
Is it safe and supported to move Xcode to an external hard drive (SSD), use it from there, and simply connect the drive whenever I need to work with Xcode?
Specifically:
Are there known issues with performance, stability, or updates?
Are there components that must remain on the internal disk to avoid unexpected behavior?
Is this a reasonable long-term setup, or just a temporary workaround?
I want to make sure I’m not setting myself up for hidden problems down the road.
Thanks in advance for any clarification or best practices you can share.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Files and Storage
Developer Tools
External Accessory
Xcode
Following an unexpected error message while working in Xcode, the project file xcodeproj is no longer synced in iCloud Drive.
The Finder shows a cloud icon with a ! and an error message : (NSFileProviderErrorDomain error -2005.)
If the local file is zipped, and unzipped elsewhere on iCloud Drive, then the unzipped file can still not be iCloud Synced.
Restoring the file from a Time Machine archive does not solve the issue.
Apple Care Support finds that iCloud Drive is working fine except for this xcodeproj file and says the issue is Xcode related.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Files and Storage
Developer Tools
Xcode
iCloud Drive
I used to develop iPhone apps about a decade ago and am now back at it with an iPhone and companion Apple Watch app.
Why does it suck so bad? I a must be doing something wrong, but what I am doing is out of the box. The majority of the time when I go to build on the watch I get:
Previous preparation error: A connection to this device could not be established.; Timed out while attempting to establish tunnel using negotiated network parameters.
Which I then first try to force quit the app on the watch and if that does not work, reboot the watch (which is pretty ridiculous).
I tried Gemini and it gave me the following explanation:
This is arguably the single most frustrating error in the entire watchOS development ecosystem. As an expert, I can tell you that you are not doing anything wrong; you are fighting a fragile architecture.
Here is the technical breakdown of why this happens and a workflow to mitigate it without constant reboots.
The Technical "Why"
This error message reveals that the issue lies in the CoreDevice (and formerly usbmuxd) infrastructure, specifically in the secure transport layer.
The "Tunnel" Failure: Xcode attempts to establish a secure, encrypted tunnel (DTXConnection) to the Apple Watch to push the debugger and the app binary. Unlike the iPhone, which can sustain a high-bandwidth connection easily, the Watch aggressively manages its radios (Bluetooth vs. WiFi vs. AWDL) to save battery.
The "Handshake" Timeout: If the Watch is on Bluetooth (Low Energy) when Xcode initiates the tunnel, the bandwidth is insufficient. The system tries to escalate the connection to WiFi (or Apple Wireless Direct Link). If this negotiation takes even a few milliseconds too long—due to 2.4GHz interference, router mDNS configuration, or the Watch CPU being throttled—the handshake times out.
The "Previous Preparation Error": This is the insidious part. Once the handshake fails once, Xcode’s device service caches that failure state for the device UUID. It marks the device as "unreachable" to prevent the IDE from hanging indefinitely on subsequent tries.
Why you see it constantly: You aren't actually triggering a new connection attempt; you are hitting the cached "failed" state immediately.
Unfortunately, the solutions it gives me are:
The "Wired Proxy" Method (Most Reliable)
This is the gold standard for watchOS debugging. Do not rely on "Connect via Network" for the Watch directly if you can avoid it.
Disable WiFi on your Mac (temporarily) or ensure the Mac and iPhone are on the exact same SSID.
Plug your iPhone into the Mac via USB.
Ensure the Watch is paired to that iPhone.
Result: Xcode will tunnel the instructions through the USB connection to the Phone, and the Phone acts as a high-bandwidth proxy to the Watch. This eliminates the "Mac-to-Watch" WiFi negotiation failure point.
Do you hit this regularly? What do you do to make for a smooth development and deployment process? Or is it really this fragile?
Thanks for any help!
Bryan
I am profiling a simple SwiftUI test app on my new iPhone through my new MacBook Pro and everything is version 26.2 (iOS, macOS, Xcode). I run Instruments with the SwiftUI template using all of the default settings and get absolutely zero data after interacting with the app for about 20 seconds. Using the Time Profiler template yields trace data. Trying the SwiftUI template again with the sample Landmarks app has the same issue as my app.
I have an orphaned asset folder taking up 9.13GB located at:
/System/Library/AssetsV2/com_apple_MobileAsset_iOSSimulatorRuntime/c0d3fd05106683ba0b3680d4d1afec65f098d700.asset
It contains SimulatorRuntimeAsset version 18.5 (Build 22F77).
Active Version: My current Xcode setup is using version 26.2 (Build 23C54).
I checked the plist files in the directory and found what seems to be the cause of the issue:
The "Never Collected" Flag: The Info.plist inside the orphaned asset folder explicitly sets the garbage collection behavior to "NeverCollected":
<key>__AssetDefaultGarbageCollectionBehavior</key>
<string>NeverCollected</string>
The Catalog Mismatch: The master catalog file (com_apple_MobileAsset_iOSSimulatorRuntime.xml) in the parent directory only lists the new version (26.2). Because the old version (18.5) is missing from this XML, Xcode and mobileassetd seem to have lost track of it entirely.
What I Have Tried (All Failed)
Xcode Components: The version 18.5 does not appear in Settings -> Components, so I cannot delete it via the GUI.
Simctl: xcrun simctl list runtimes does not list this version. Running xcrun simctl runtime delete 22F77 fails with: "No runtime disk images or bundles found matching '22F77'."
Manual Deletion: sudo rm -rf [path] fails with "Operation not permitted", presumably because /System/Library/AssetsV2 is SIP-protected.
Third-party Tools: Apps like DevCleaner do not detect this runtime (likely because they only scan ~/Library or /Library, not /System/Library).
Has anyone found a way to force the system (perhaps via mobileassetd or a specific xcrun flag) to re-evaluate this folder and respect a deletion request?
I am trying to avoid booting into Recovery Mode just to delete a cache file.
Any insights on how AssetsV2 handles these "orphaned" files would be appreciated.
Hi,
My certificates expired and I created new ones.
But now Xcode shows me in Apple Accounts status of Mac App Distribution that the Missing Private...
Howto fix the missing private key?
I need to sign a .pkg for upload with Transporter.
Further I generated a CSR for App License Delivery ALD certificates.
https://developer.apple.com/help/account/certificates/create-a-certificate-signing-request/
And with App Store Connected I created new certificates.
In Xcode I had to remove the Apple Account and add it again, after altering currency. This procedure was described somewhere because Xcode was not able to connect my account. This is fixed now.
Hi!
I have a bigger Xcode project that has multiple targets:
the main app (MainApp)
helper command line tool (HelperTool)
The project also lists multiple package dependencies via SwiftPM and these dependencies have dependencies between themselves.
One of such packages produces a dynamic library MyFramework which is a dependency for both the main app and the HelperTool which has it listed under Build Phases > Dependencies as well as under Link with Frameworks.
This builds just fine, but the issue somes when I want to add another target called AdditionalHelperTool which it has pretty much the same dependencies as HelperTool.
When I add this second target, I start running into issues like the following:
Multiple commands produce '[...]/Build/Products/Debug/Frameworks/MyFramework.framework/Versions/A'
Target 'HelperTool' (project 'MyApp') has copy command from '[...]/Build/Products/Debug/PackageFrameworks/MyFramework.framework' to '[...]/Build/Products/Debug/Frameworks/MyFramework.framework'
Target 'AdditionalHelperTool' (project 'MyApp') has copy command from '[...]/Build/Products/Debug/PackageFrameworks/MyFramework.framework' to '[...]/Build/Products/Debug/Frameworks/MyFramework.framework'`
It seems that Xcode runs the build of both targets separately and it sees a conflict given that both targets have same dependencies that it's trying to built separately.
Has anyone encountered something similar?
Can anyone suggest a solution for this?
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...
Hello, I just updated my Xcode to 26.2 and downloaded the relevant simulator for it to test how my app looks in general. I use the newest iPhone and mini version, in this case, iPhone 13 mini, and the SE (3rd generation).
Everything is working as expected, but for the iPhone mini simulator, this weird red line is showing. Is anyone having this issue?
I know this post isn't going to give a lot of details, but what I experienced tonight was so completely weird that I wanted to get it posted here in case others run into it:
FIRST: All was well until I made a trivial change to a large Objective-C++ module. I suddenly got the idea to look at that line in the code review pane, to see if that area of code had ever had recent modifications.
But, the entire module showed up as modified -- one giant change bar, with nothing on the right side of the code review pane, no matter what commit I selected.
Then I noticed that the two lines of code which had all of 4 characters edited were no longer showing any change bars.
Yet, the file showed up as "modified". Still, the exact line changes were not showing in the source code navigator, even though other files showed their changes.
Note I'm connected to our remote repo on github. I did some command line git checks of the local repo, and the changes were there (as yet unstaged).
So -- I figured, I'm gonna ask the Apple Coding Assistant what's up. And it gave some fantastic advice, especially on how to confirm the changes really were in the repo ready to stage and commit and push. Which I did.
But despite following a couple hours of wonderful suggestions, I could never get the change bars back -- for this one specific file!
(yes, the file was in the repo, and in the project -- everything seemed OK with the file itself -- nothing had changed in the project, which compiled and ran perfectly with my changes).
SECOND -- suddenly, the AI assistant seemed to crash Xcode.
When I went to re-run Xcode, it just crashed exactly the same. The crash log indicated "Xcode is crashing inside the IDEIntelligenceChat plugin while it’s trying to “apply changes” to a Source Editor buffer".
Ultimately, I needed to restart Xcode holding down the SHIFT key. I could open other projects, but not the one I had been working on.
So I turned OFF apple Intelligence (thanks, ChatGPT). That allowed me to launch.
It sounds like some sort of corrupt Apple Intelligence chat logs and/or caches, which ChatGPT has given me extensive suggestions for deleting. I don't have the energy to attack that tonight -- I did an additional Time Machine backup and hope to take a closer look tomorrow.
Ideally -- I'd rather NOT lose all my on-going coding assistant chats for this project -- I had some ongoing suggestions I was working on.
But more concerning is the weirdness with changebars affecting this one 7,000 line .mm file. It doesn't seem like there's anything that should affect those change bars for ONE FILE that is in the repo and where changes can be seen from a git diff command line operation.
If it's a bug -- I can live with it. But it's worrisome.
Other than that, Xcode 26.2 has been running great! Unlike 26.1, which insisted on re-compiling all 600 files in my project every time I ran/debugged, 26.2 just does the 2-6 modified files -- a perfect incremental compile. I've saved HOURS of wasted unnecessary compilation since 26.2 was released.
I've suddenly started seeing hundreds of the same block of four error messages (see attached image) when running my app on my iOS device through Xcode. I've tried Cleaning the Build folder, but I keep seeing these messages in the console but can't find anything about them.
Phone is running iOS 26.1. Xcode is at 16.4. Mac is on Sequoia 15.5. The app is primarily a MapKit SwiftUI based application.
Messages below:
Connection error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.PerfPowerTelemetryClientRegistrationService was invalidated: Connection init failed at lookup with error 159 - Sandbox restriction." UserInfo={NSDebugDescription=The connection to service named com.apple.PerfPowerTelemetryClientRegistrationService was invalidated: Connection init failed at lookup with error 159 - Sandbox restriction.}
(+[PPSClientDonation isRegisteredSubsystem:category:]) Permission denied: Maps / SpringfieldUsage
(+[PPSClientDonation sendEventWithIdentifier:payload:]) Invalid inputs: payload={
isSPR = 0;
}
CAMetalLayer ignoring invalid setDrawableSize width=0.000000 height=0.000000
I'm also seeing the following error messages:
CoreUI: CUIThemeStore: No theme registered with id=0
dSYM size became thrice for builds generated via xcode 26 compared to xcode 16. These are all release builds.
Hi...
Is there not an available Developer Disk Image for this situation? I am unable to do my professional job because I have not been able to overcome this issue on my machine. I have various things to try to resolve this issue so that I can install, run, and test apps onto my iPhone (iPhone 13).
The version of MacOSX is Sequoia 15.7.3.
I've tried everything from hard resetting the pairing stack, to resetting the trust on my iPhone. I've even sought help from AI. AI says, in a nutshell I'm screwed.
Apparently, I am unable to downgrade from iOS 26.2 to, say, iOS 18 or below.
I'll be honest: this is frustrating, and this situation seems to happen like clockwork with every update in either direction.
I hope someone somewhere has ideas. Thanks.
Update:
I'm not even reaching the step where the shared Cache symbols are being copied from my iPhone.
The developer disk image could not be mounted on this device.
Domain: com.apple.dt.CoreDeviceError
Code: 12040
Failure Reason: Failed to find a DDI that can be used to enable DDI services on the device. Usually this means the best DDI we could find for a platform did not have compatible CoreDevice content. Run 'devicectl list preferredDDI' from the command line to get more details on why no valid DDI can be found.
User Info: {
DVTErrorCreationDateKey = "2026-01-14 18:56:43 +0000";
DeviceIdentifier = "C471EDF8-4385-5669-BA17-976B325B2EC4";
"com.apple.dt.DVTCoreDevice.operationName" = enablePersonalizedDDI;
}
--
Failed to find a DDI that can be used to enable DDI services on the device. Usually this means the best DDI we could find for a platform did not have compatible CoreDevice content. Run 'devicectl list preferredDDI' from the command line to get more details on why no valid DDI can be found.
Domain: com.apple.dt.CoreDeviceError
Code: 12001
--
System Information
macOS Version 15.7.3 (Build 24G419)
Xcode 26.2 (24553) (Build 17C52)
Timestamp: 2026-01-14T10:56:43-08:00
COMMAND LINE Developer % devicectl list preferredDDI
Host CoreDevice version: 506.6
WARNING: No usable DDI found for the iOS platform (The DDI's CoreDevice content is too old.). Best (unusable) DDI found is:
• hostDDI: file:///Library/Developer/DeveloperDiskImages/iOS_DDI/
▿ ddiMetadata:
• buildUpdate: 17C5038g
• contentIsCompatible: false
• coreDeviceVersionChecksIncludeDevelopmentRevision: true
• developmentRevision: 0
• enforcingCoreDeviceVersionChecks: true
• platform: iOS
▿ projectMetadata:
• Citrine-1500.1
• CoreDevice-506.5
• DTDeveloperDiskImageSupport-14.0.0
• DTOCMock-23002
• GPUToolsDevice_DDI-312.4
• JetsamProperties-2648.0.21
• LiveExecutionResultsLogger-20100
• Mercury-67
• Playgrounds-11
• XCTest-24507
• incompatibleContentReason: The DDI's CoreDevice content is too old.
• isUsable: false
• variant: external
WARNING: No DDI was found for the macOS platform.
No usable DDI found for the tvOS platform (The DDI's CoreDevice content is too old.). Best (unusable) DDI found is:
• hostDDI: file:///Library/Developer/DeveloperDiskImages/tvOS_DDI/
▿ ddiMetadata:
• buildUpdate: 17C5038g
• contentIsCompatible: false
• coreDeviceVersionChecksIncludeDevelopmentRevision: true
• developmentRevision: 0
• enforcingCoreDeviceVersionChecks: true
• platform: tvOS
▿ projectMetadata:
• Citrine-1500.1
• CoreDevice-506.5
• DTDeveloperDiskImageSupport-14.0.0
• DTOCMock-23002
• GPUToolsDevice_DDI-312.4
• JetsamProperties-2648.0.21
• LiveExecutionResultsLogger-20100
• Mercury-67
• Playgrounds-11
• XCTest-24507
• incompatibleContentReason: The DDI's CoreDevice content is too old.
• isUsable: false
• variant: external
WARNING: No usable DDI found for the watchOS platform (The DDI's CoreDevice content is too old.). Best (unusable) DDI found is:
• hostDDI: file:///Library/Developer/DeveloperDiskImages/watchOS_DDI/
▿ ddiMetadata:
• buildUpdate: 17C5038g
• contentIsCompatible: false
• coreDeviceVersionChecksIncludeDevelopmentRevision: true
• developmentRevision: 0
• enforcingCoreDeviceVersionChecks: true
• platform: watchOS
▿ projectMetadata:
• Citrine-1500.1
• CoreDevice-506.5
• DTDeveloperDiskImageSupport-14.0.0
• DTOCMock-23002
• GPUToolsDevice_DDI-312.4
• JetsamProperties-2648.0.21
• LiveExecutionResultsLogger-20100
• Mercury-67
• Playgrounds-11
• XCTest-24507
• incompatibleContentReason: The DDI's CoreDevice content is too old.
• isUsable: false
• variant: external
WARNING: No usable DDI found for the visionOS platform (The DDI's CoreDevice content is too old.). Best (unusable) DDI found is:
• hostDDI: file:///Library/Developer/DeveloperDiskImages/xrOS_DDI/
▿ ddiMetadata:
• buildUpdate: 17C5038g
• contentIsCompatible: false
• coreDeviceVersionChecksIncludeDevelopmentRevision: true
• developmentRevision: 0
• enforcingCoreDeviceVersionChecks: true
• platform: xrOS
▿ projectMetadata:
• Citrine-1500.1
• CoreDevice-506.5
• DTDeveloperDiskImageSupport-14.0.0
• DTOCMock-23002
• GPUToolsDevice_DDI-312.4
• JetsamProperties-2648.0.21
• LiveExecutionResultsLogger-20100
• Mercury-67
• Playgrounds-11
• XCTest-24507
• incompatibleContentReason: The DDI's CoreDevice content is too old.
• isUsable: false
• variant: external
"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.
Hi,
I’m facing a consistent simulator boot issue that appears to start after iOS 18.2 simulator runtimes and persists in 18.6, 26.1, and 26.2.
Observed behavior
iOS 18.2 simulator works fine
iOS 18.6 simulator does NOT boot
iOS 26.1 / 26.2 simulators do NOT boot
Tried everything reinstall/clear cache and all and event formatted the system
Unable to boot the Simulator
NSPOSIXErrorDomain Code: 4
Failure Reason: Interrupted system call
Failed to start launchd_sim: could not bind to session,
launchd_sim may have crashed or quit responding
macOS: Sequoia
Xcode: 26.1, 26.2
Machine: Apple Silicon
Unable to boot the Simulator. Domain: NSPOSIXErrorDomain Code: 4 Failure Reason: Interrupted system call User Info: { DVTErrorCreationDateKey = "2025-12-26 02:19:27 +0000"; IDERunOperationFailingWorker = "_IDEInstalliP.honeSimulatorWorker", Session = "com apple CoreSimulator.SimDevice CCDECA56-4A59-491B-A830-0F3928FCD957"; } Failed to start launchd_sim: could not bind to session, launchd_sim may have crashed or quit responding Domain: com.apple.SimLaunchHostService.RequestError Code: 4 Event Metadata: com.apple. dt. DERunOperationWorkerFinished : { "device_identifier" = "CCDECAE6-4A59-491B-A830-0E3928FCD957"; "device_model" = "iPhone18, 1"; "device_osBuild" = "26.1 (23B86)"; "device_osBuild_monotonic" = 2301008600; "device_os_variant" = 1; "device_platform" = "com apple.platform.iohonesimulator"; "device_platform_family" = 2; "device_reality" = 2; "device_thinningType" = "iPhone18,1"; "device_transport" = 4; "launchSession_schemeCommand" = Run; "launchSession_schemeCommand_enum" = 1; "launchSession_targetArch" = arm64; "launchSession_targetArch_enum" = 6; "operation_duration_ms" = 1183; "operation_errorCode" = 4; "operation_errorDomain" = NSPOSIXErrorDomain; "operation_errorWorker" = "_IDEInstalliPhoneSimulatorWorker"; "operation_error_reportable" = 1; "operation_name" = IDERunOperationWorkerGroup; "param_consoleMode" = 1; "param_debugger_attachToExtensions" = 0; "param_debugger_attachToXPC" = 1; "param_debugger_type" = 3; "param_destination_isProxy" = 0; "param_destination_platform" = "com apple platform
Please help on this as it got stuck.
Thanks
When building our project for Mac Catalyst with Xcode 26.2, we get this warning almost a hundred times, once for every object file:
directory not found for option '-L/var/run/com.apple.security.cryptexd/mnt/com.apple.MobileAsset.MetalToolchain-v17.3.48.0.UZtKea/Metal.xctoolchain/usr/lib/swift/maccatalyst'
Somehow, every Link <FileName>.o build step got the following parameter, regardless if the target contained Metal files or not:
-L/var/run/com.apple.security.cryptexd/mnt/com.apple.MobileAsset.MetalToolchain-v17.3.48.0.UZtKea/Metal.xctoolchain/usr/lib/swift/maccatalyst
The toolchain is mounted at this point, but the directory usr/lib/swift/maccatalyst doesn't exist.
When building the project for iOS, the option doesn't exist and the warning is not shown.
We already check the build settings, but we couldn't find a reason why the linker is trying to link against the toolchain here.
Even for targets that do contain Metal files, we get the following linker warning:
search path '/var/run/com.apple.security.cryptexd/mnt/com.apple.MobileAsset.MetalToolchain-v17.3.48.0.UZtKea/Metal.xctoolchain/usr/lib/swift/maccatalyst' not found
Is this a known issue? Is there a way to get rid of these warnings?
I am using swift-subprocess, and need to disable the SubprocessSpan trait because Xcode 26.2 does not ship with a bundled version libswiftCompatibilitySpan.dylib, causing everything to crash built with Xcode that happens to use Span. However, I cannot disable that trait by doing any of the following things:
.package(
url: "https://github.com/swiftlang/swift-subprocess.git",
branch: "main",
traits: []
),
.package(
url: "https://github.com/swiftlang/swift-subprocess.git",
branch: "main",
traits: [.trait(name: "SubprocessFoundation")]
),
Note that SubprocessSpan is default trait in subprocess:
// Enable SubprocessFoundation by default
var defaultTraits: Set<String> = ["SubprocessFoundation"]
#if compiler(>=6.2)
// Enable SubprocessSpan when Span is available [except it is not]
defaultTraits.insert("SubprocessSpan")
#endif
The package still builds with the SubprocessSpan enabled. This is not an issue with the subprocess package. According to this, I should use swift build on the command line, yet this isn't -- as is upgrading to Tahoe -- an option because I need Xcode previews for SwiftUI.
Help, what do I do now (other than downloading a toolchain) from swift.org)?
Downloaded Xcode 26.2 from App Store. Started new Project, which defaults to "hello world".
The canvas "simulator" within fails to finish indexing (paused), or
When the canvas is active, the first code change (i.e. just a return key at the end of a line) cause the Xcode program to come to a stop.
Have ended Xcode and rebooted a number of times. A number of remedies are posted on the net. All a little different than the other.
Is there a current remedy for Xcode 26.2 to this issue available?
iMac on Sequoia 15.7.3 , 800 gb of available storage
Xcode: 26.2 (24553)
Instruments: 26.2 (64573.16)
SDKs:
DriverKit:
25.2:
iOS:
26.2: (23C53)
iOS Simulator:
26.2: (23C53)
macOS:
26.2: (25C57)
tvOS:
26.2: (23K50)
tvOS Simulator:
26.2: (23K50)
visionOS:
26.2: (23N301)
visionOS Simulator:
26.2: (23N301)
watchOS:
26.2: (23S303)
watchOS Simulator:
26.2: (23S303)