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?
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
Hi all,
I’m suddenly experiencing an old issue again and can no longer build my project to run on the local iOS simulator.
I’m using a MacBook with an M1 (ARM64) processor and Xcode for development. Until recently, everything was working as expected. However, when I opened Xcode today, I noticed new build options such as ARM64 and ARM64 + x86_64, and I’m also seeing simulator entries running under Rosetta. I don’t recall seeing these options the last time I used Xcode.
At the moment:
Building for “Any iOS Device (arm64)” succeeds.
Building for Rosetta-based simulators also succeeds (which I understand are intended for Intel-based processes).
However, when I select an ARM64 simulator, the build fails with the error:
“Framework Podd_App not found.”
It appears that simulator builds targeting ARM64 are being restricted or misconfigured, possibly due to a corrupted setting or a recent update.
Has anyone experienced this before, or can suggest which settings I should check to resolve this issue?
Thanks in advance.
Topic:
Developer Tools & Services
SubTopic:
Xcode
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
I've downloaded Xcode 26.2 directly from Developer.Apple.com and I'm stuck here. I have deleted and redownloaded, restarted computer, tried the App Store version, tried 26.1, and maybe a couple other things. Regardless always end up stock here. I hit "Install" and it just brings me right back to this same window. Thank you.
This is my first time downloaded any version of Xcode on this machine MacBook Pro, Apple M4 Max, Tahoe 26.2.
Topic:
Developer Tools & Services
SubTopic:
Xcode
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 successfully archive my app but when I try and distribute it via XCode I get this error:
But I do have that permission.
I tried signout and sign in on XCode but still same error. Help!
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Signing Certificates
App Store Connect
Developer Program
I am having difficulty coding my video to play in the app I am developing.
My video file is located in the navigator pane, along with the other swift files in the project, with an A to the right hand side of the file, which I thought means it is available in the bundle. Unfortunately, an error saying the video cannot be found in the bundle shows at the bottom of my Xcode screen, after previewing the project. The file names match. Any further trouble shooting I'm doing references the old Xcode app, so I am stuck.
I am seeing a regression with XCUIDevice.shared.appearance = .dark in UI tests that only affects xcodebuild, not Xcode’s UI test runner.
Setup
• UI tests written using XCTest
• Dark mode forced in setUp() using:
XCUIDevice.shared.appearance = .dark
• Tests target an iOS simulator
• Same test target, same scheme
Expected behavior
The app launches in Dark Mode for UI tests, as it did previously.
Actual behavior
• When running UI tests from Xcode (Product > Test), Dark Mode is applied correctly.
• When running the same UI tests via xcodebuild test, Dark Mode is ignored and the app launches in Light Mode.
• No test failures, no warnings, no logs indicating the appearance override was skipped.
Regression details
• This used to work on older iOS versions when running via xcodebuild.
• The regression appears after updating iOS simulators (exact version boundary still unclear).
• No relevant changes were made to the test code, scheme, or CI configuration.
• xcodebuild otherwise launches and runs UI tests normally.
Notes
• The issue is specific to XCUIDevice.shared.appearance.
• Other UI test functionality behaves as expected.
• This makes CI results inconsistent with local Xcode runs and breaks visual assumptions in snapshot and layout-based tests.
Question
Is this a known regression or an intentional behavior change in recent iOS / Xcode versions?
If intentional, what is the supported way to reliably force Dark Mode in UI tests when running via xcodebuild?
This currently makes xcodebuild-based CI UI testing unreliable compared to Xcode’s test runner.
This
extension View {
public func renderSomething() async throws {
let renderer = ImageRenderer(content: self)
// renderer.colorMode = .linear
renderer.render { size, context in
print(size)
// ...
}
// ...
}
}
let view: some View = ...
view.renderSomething() // → exception
will cause the program to exit with EXC_BREAKPOINT deep inside SwiftUI. This worked with previous versions of Xcode, SwiftUI, and macOS. Xcode Version 26.2 (17C52), macOS Sequoia 15.7.3, using toolchain bundled with Xcode.
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)?
Xcode tells me
Previewing in executable targets now requires a new build layout for unoptimized builds. Either set ENABLE_DEBUG_DYLIB to YES for this target, or break out your preview code into a separate framework with its own scheme.
How do enable that in Package.swift. swiftSettings don't work (.define and unsafeFlags with -D ...).
Creating a library product that the executable then depends on doesn't help either.
I have two targets, one is an executable target. The #Preview macro is in the non-executable target.
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)
Hello I am using 26.2 (25C56) on my m4 air. when I am working on a Flutter project suddenly my app crashed and after when I tried to build the application again this error occurs. How to fix it. ?
Launching lib/main.dart on iPhone 16e in debug mode...
Xcode build done. 2.4s
Failed to build iOS app
Uncategorized (Xcode): Unable to find a destination matching the provided destination specifier:
{ id:45967BD9-44E0-4D5D-8C43-C5437F48836A }Available destinations for the "Runner" scheme:
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00008132-001E5102020B801C, name:My Mac }
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
Could not build the application for the simulator.
Error launching application on iPhone 16e.
Hi, we've been developing an XR application for Apple Vision Pro which has worked fine so far. Now that the SDKs have updated to 26.2 (for Xcode and AVP versions) we've run into an error that prevents the app from launching.
I get the following error when running the application in the AVP Simulator (building for destination Apple Vision Pro (26.2), and my colleague gets the same error when building for the device itself and launching there.
BUG IN CLIENT: For mixed reality experiences please use cp_drawable_compute_projection API
Type: Error | Timestamp: 2026-01-13 09:21:57.242191+02:00 | Process: My XR App | Library: CompositorNonUI | TID: 0x75e2c
(copied with "all metadata")
How can we debug this further? The error in the console doesn't seem to give any stack trace or clear pointer to the code which relates to it. I've tried searching for CompositorNonUI, but that doesn't yield any results in our project (nor Google nor the Apple developer forums).
There is one post in the forum that has a similar error (https://developer.apple.com/forums/thread/788500?answerId=845039022#845039022) but searching in our project and it's dependencies, we don't seem to use ".tangent" anywhere either.
Any help in either debugging to find more details on where the issue happens or pointers to fixing it much appreciated, thanks!
I've developed a Multiplatform app under Xcode 26 (currently using 26.2 17C52). The current destinations of the single target are Mac, iPad and Mac(designed for iPad). The minimum deployments are MacOS 15.6 and iOS 18.6. All destinations build and perform correctly on physical devices (running OS 26 versions).
The MacOS version has been submitted successfully to the AppStore for TestFlight usage. However, the iPad version shows a submission validation failure:
Missing Info.plist value. A value for the key “WKApplication”, or “WKWatchKitApp” if your project has a WatchKit App Extension target, is required in “xxxxx.app/xxxxx.app” bundle. For details, see: https://developer.apple.com/documentation/watchkit/creating_independent_watchos_apps/setting_up_a_watchos_project (ID: 4911506c-39c3-4b69-a8bb-5e5dcd3dc2fb)
The app has no WatchKit version (although one's planned for a future release). The Target's Build Settings include a "watchOS Deployment Target" and Info.plist values related to WatchKit. The Build Settings also include similar settings for TVOS and VisionOS.
I'm unable to delete the aforementioned Build Settings (Can't select & use the delete key). The link in the message provides no help.
Is this a bug in Xcode, or am I missing something?
Regards, Michaela
I am building a bundle target for macOS 12 and later using Xcode. The bundle is not a standalone app, but a plug-in that is loaded by a host app. The code is written in Swift and uses the new Span API which is available in the OS-provided standard library in macOS 26 and backdeploys to macOS 10.14.4+.
Xcode should instruct the linker to include libswiftCompatibilitySpan.dylib in the compiled bundle to provide this backdeployment, but that does not happen.
SwiftPM does this additional linking by adding an rpath.
When trying to load the bundle using the NSBundle.loadAndReturnError() API, I get the following error on macOS 15 (and no error on macOS 26):
Error Domain=NSCocoaErrorDomain Code=3588 "dlopen(.../MyBundle.someBundle/Contents/MacOS/MyBundle, 0x0109): Library not loaded: @rpath/libswiftCompatibilitySpan.dylib
Referenced from: <CE92806C-94B7-367E-895D-EF6DF66C7FC2> .../MyBundle.someBundle/Contents/MacOS/MyBundle
Reason: tried: '/usr/lib/swift/libswiftCompatibilitySpan.dylib' (no such file, not in dyld cache), '/System/Volumes/Preboot/Cryptexes/OS/usr/lib/swift/libswiftCompatibilitySpan.dylib' (no such file), '/private/Frameworks/libswiftCompatibilitySpan.dylib' (no such file), '.../MyBundle.someBundle/Contents/MacOS/../Frameworks/libswiftCompatibilitySpan.dylib' (no such file), '/usr/lib/swift/libswiftCompatibilitySpan.dylib' (no such file, not in dyld cache), '/System/Volumes/Preboot/Cryptexes/OS/usr/lib/swift/libswiftCompatibilitySpan.dylib' (no such file), '/private/Frameworks/libswiftCompatibilitySpan.dylib' (no such file), '.../MyBundle.someBundle/Contents/MacOS/../Frameworks/libswiftCompatibilitySpan.dylib' (no such file)" UserInfo={NSLocalizedFailureReason=The bundle couldn’t be loaded., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=.../MyBundle.someBundle/Contents/MacOS/MyBundle, NSDebugDescription=dlopen(.../MyBundle.someBundle/Contents/MacOS/MyBundle, 0x0109): Library not loaded: @rpath/libswiftCompatibilitySpan.dylib
Referenced from: <CE92806C-94B7-367E-895D-EF6DF66C7FC2> .../MyBundle.someBundle/Contents/MacOS/MyBundle
Reason: tried: '/usr/lib/swift/libswiftCompatibilitySpan.dylib' (no such file, not in dyld cache), '/System/Volumes/Preboot/Cryptexes/OS/usr/lib/swift/libswiftCompatibilitySpan.dylib' (no such file), '/private/Frameworks/libswiftCompatibilitySpan.dylib' (no such file), '.../MyBundle.someBundle/Contents/MacOS/../Frameworks/libswiftCompatibilitySpan.dylib' (no such file), '/usr/lib/swift/libswiftCompatibilitySpan.dylib' (no such file, not in dyld cache), '/System/Volumes/Preboot/Cryptexes/OS/usr/lib/swift/libswiftCompatibilitySpan.dylib' (no such file), '/private/Frameworks/libswiftCompatibilitySpan.dylib' (no such file), '.../MyBundle.someBundle/Contents/MacOS/../Frameworks/libswiftCompatibilitySpan.dylib' (no such file), NSBundlePath=.../MyBundle.someBundle, NSLocalizedDescription=The bundle “MyBundle” couldn’t be loaded.}
My setup:
Xcode 26.2
macOS 26.2 (25C57) SDK (Built-in)
Hi everyone,
I’m an iOS developer working on a Mac with limited storage (256 GB).
I’ve noticed that the ~/Library/Developer folder is taking up almost 90 GB, mainly due to Xcode-related content.
Inside it I see folders like:
Xcode/DerivedData
DocumentationCache
iOS DeviceSupport
UserData
CoreSimulator/Devices
Before deleting anything, I’d like to understand which of these folders are safe to clean up, and what the potential side effects might be (for example, rebuild times, simulator re-downloads, etc.).
What is the recommended best practice to manage disk space when using Xcode on a low-storage machine?
Thanks in advance for your help.
Hi, is it possible to integrate an out source input to the Vision Pro.
What I want to achieve is, use a live video/ live feedback inside an application I'm developing, and present the video in a registered position in live space.
If possible, does the input need to be from a specific type? are there other limitation for those kind of integrations?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Have been using Claude Code in older versions of Xcode,
but in Xcode 26.2 it cannot see any files opened in Xcode.
Basically no integration at all now.
If this is not fixed I guess I have to switch IDE to something that works with Claude Code.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Xcode, under Settings → Locations → Derived Data, lets us set a custom DerivedData location (such as on an external drive).
Trying that, I discovered that this breaks the test system for Framework targets (and probably other types of test targets when not hosted in an app target) when the run destination is “My Mac”. This seems to be due to sandboxing (but this is not entirely clear).
Xcode does not provide a warning about this limitation, and does not seem to offer a way to open sandbox access to an external volume(s). Instead, trying to run such tests results in a bunch of error messages in the console log that I did not find helpful in trying to diagnose what went wrong:
Cannot find executable for CFBundle 0x86c47c2a0 </Volumes/external/Xcode/DerivedData/Build/Products/Debug/MyFrameworkTests.xctest> (not loaded)
The bundle “MyFrameworkTests.xctest” couldn’t be loaded because its executable couldn’t be located. Try reinstalling the bundle.
Program ended with exit code: 9
The solutions seem to be either run tests from the command line (to escape sandboxing), or just use the default DerivedData location (and accept its impact on the internal drive’s limited space).
Topic:
Developer Tools & Services
SubTopic:
Xcode