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!
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
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
Link EaseChat (arm64)34.1 seconds
Undefined symbol:_objc_msgSend$appld
Undefined symbo: objc msgSendssetisExitprocess Undefined symbol_objc_msgSendssetisWaitingLoginRoom: Undefined symbol_objc-misgSend$sleepForTimeinterval: Undefined symbol: objc_msgSendsisunsetting
Undefined symbol: _objc_msgSend$subpathsAtPath:Untdetme vmbol!-sbie-miesentetoue yarp orse urityap icationtrou dent
Undefined symbol: _obic-_msgSendsURLByAppendingPathComponent:isDirectory:Unerined symhol.-sbie- masindtereas pretory atlgtryohininronetate brectort
Undefined symbol: -obic-msgSendScreatezegoReplayKitshareLogDirtNeedUntef nes ymhteo!-otbie-mesentdera otieton baevetr
Undefined symbol: Undefined symbol: obic msssendsbolForkey: Undefined symbol:_obic_msgSendsintegerForkey:
Undefined symbol:_objc_msgSendsnumberwithinteger: undefined symbol:_objc_msgSendsisWaitingLoginRoom Undefined ymbal!. sbic.-massendsgrevareteplay yecodayr_objc-_msgSendsprepareReplayLiveCapture Undefined symbol:_objc_msgSendssetConfig:
Undefined symbol: -objc-ImsgSend SvidedEncodeResolutioUndefined symbol:_objc_msgSendssetRoomConfig:
Undefined symbol:_objc_msgSend$roomapi undefined symbol: objc_msgSendssetUseriD:
Underfined symbolt obic-massendssetLogintoken Undefined symbol_objc-_msgSendsmyUserDefaults2
Undefined symbol: -objc- msgSendstringForkey:SUundefined symteal -sbie-nasentesarcstrinatmoctenath entcadings ant
Topic:
Developer Tools & Services
SubTopic:
Xcode
I understand that mastering essential English skills is fundamental for developers.
However, as a Chinese developer, having an IDE with a Chinese interface when encountering Xcode operational issues can absolutely make development work twice as effective with half the effort.
A native-language interface environment allows us to focus all our energy on project development.
Xcode exists as our development “tool” to facilitate our work, not as another knowledge point requiring study—which could waste significant effort. Don't let an interface turn our beloved tool into a burden.
Translated with DeepL.com (free version)
Topic:
Developer Tools & Services
SubTopic:
Xcode
Did DYLD_PRINT_STATISTICS stop working?
I am using Xcode 26.0.1 and have tried it on several simulators and real devices, but am not getting any output. I haven't used this environment variable in a few years so don't know when it might have stopped working.
Has it been superseded or replaced?
Topic:
Developer Tools & Services
SubTopic:
Xcode
I am developing a binary SDK for consumption by others. When we updated to Xcode 26, any builds which are generated cannot be consumed by Xcode 16.
The specifics lie in the optionals. The following Swift code generate a .swiftmodule
func affectedApi() -> Int? { return 1 }
In Xcode 16 it generated the following .swiftmodule in the framework.
public func affectedIntApi() -> Swift.Int?
In Xcode 26 it adds an "if" statement.
#if compiler(>=5.3) && $NonescapableTypes
public func affectedIntApi() -> Swift.Int?
#endif
That if statement prevents Xcode16 from seeing the API, and it causes compile failures. This happens regardless of which Swift version is used, and it only affects functions which use Optionals.
Is there a way to prevent the compiler from wrapping the API in that statement?
Prior to iOS 26.0 we were able to download specific simulator runtimes from the command line by using a command like xcodebuild -downloadPlatform iOS -buildVersion 18.0
This is described in the documentation here.
This no longer works for 26.x. If I run the following command:
"xcodebuild -downloadPlatform iOS -buildVersion 26.0" it fails with the following error:
"Finding content... iOS 26.0 is not available for download."
If I omit the -buildVersion flag it will download the latest version, currently 26.2, but if I try and specify 26.2 as the buildVersion I still get "iOS 26.2 is not available for download".
This behavior has been confirmed on Xcode 26.2.
Perhaps related, it appears these runtimes are also no longer being made available for download on https://developer.apple.com/download/all
So I have a project with an Objective-C framework which has unit tests.
One of the unit tests has a file 'sample.emlx' in its 'Resources' folder, which has its target membership set to the tests target.
I expect this file to be copied into the correct place, such that I can find it (in the 'setup') method with:
NSBundle *bundle = [NSBundle bundleForClass:[self class]];
NSString *path = [bundle pathForResource:@"sample" ofType:@"emlx"];
NSData *content = [NSData dataWithContentsOfFile:path];
NSString *entire = [NSString stringWithUTF8String:content.bytes];
_sample = [entire componentsSeparatedByString:@"\n"];
NSLog(@"sample lines: %d", (int)_sample.count);
The idea is to make an array where I can pull various subsections of lines out to test various parts of the code.
This works every time, if I set a breakpoint at the "create the NSBundle" line, and single-step through the code after right-clicking on the specific test method I want to run
It never works if I just right-click on the specific test method I want to run and allow it to run freely. I will always see "sample lines: 0"
This is with the latest public Xcode, I haven't tried any beta variant.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Hi everyone,
I'm experiencing a persistent issue for months now where I'm unable to download the iOS 26 simulator Runtime. I've tried reinstalling Xcode and also Xcode Beta but same issue.
iOS 26 Simulator is also not on developers download page, so manual installation is impossible. And sadly I can't compile any code without having iOS 26 simulator installed.
Anyone able to get passed this?
Hardware: M1 Pro
OS: Tahoe 26.1
Heres the error
Download failed.
Domain: DVTDownloadableErrorDomain
Code: 41
User Info: {
DVTErrorCreationDateKey = "2026-01-07 11:35:35 +0000";
}
--
Download failed.
Domain: DVTDownloadableErrorDomain
Code: 41
--
Failed fetching catalog for assetType (com.apple.MobileAsset.iOSSimulatorRuntime), serverParameters ({
RequestedBuild = 23C54;
})
Domain: DVTDownloadsUtilitiesErrorDomain
Code: -1
--
Download failed due to not being able to connect to the host. (Catalog download for com.apple.MobileAsset.iOSSimulatorRuntime)
Domain: com.apple.MobileAssetError.Download
Code: 60
User Info: {
checkNetwork = 1;
}
--
System Information
macOS Version 26.1 (Build 25B78)
Xcode 26.2 (24553) (Build 17C52)
Timestamp: 2026-01-07T12:35:35+01:00
I have created a virtualised Mac machine where I am running the latest Xcode version 16.4 with macOS Sequoia as the base image.
While running XCTest tests, I am observing a clear difference in behaviour between virtualised and non-virtualised setups.
Below is the command I am using to run the tests:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -xctestrun /Users/ltuser/290103613/xcui.xctestrun -destination "platform=iOS Simulator,id=79A5F8CC-4A2E-4C91-895D-AE97E25CB824,arch=arm64,OS=18.0" test-without-building "-only-testing:ClassName/MethodName/testName" -derivedDataPath /Users/ltuser/290103613/Archive -verbose IDELogLevel=debug IDETestLogLevel=debug ONLY_ACTIVE_ARCH=YES
Observed Issue
On virtualised hosts:
Every XCTest is executed twice
This happens for both passed and failed tests
The behaviour is consistent across all virtualised machines
On non-virtualised (bare-metal) Macs:
Tests execute only once, as expected
Debugging Steps Taken
Multiple destination suspicion
Initially, I noticed the following warning:
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS Simulator, id:0FFB9082-94AB-4D0A-A731-CC4452BDD4E7, OS:17.0, name:iPhone 15 }
{ platform:iOS Simulator, id:0FFB9082-94AB-4D0A-A731-CC4452BDD4E7, OS:17.0, name:iPhone 15 }
This raised suspicion that tests might be running twice due to multiple matching destinations.
Destination narrowed down
I then explicitly restricted the destination to a single simulator UDID, after which:
The warning disappeared
However, the issue still persists
Tests continue to run twice on virtualised hosts
Version Comparison
Xcode 16.4 + macOS Sequoia (virtualised) → Tests run twice
Xcode 15.x (same setup otherwise) → Tests run once
Questions
Has anyone else faced this issue with Xcode 16.x on virtualised macOS?
Is this a known issue with Xcode 16 + Virtualisation?
Is there any recommended workaround or configuration change to avoid duplicate test execution?
I am currently blocked on this issue and would appreciate confirmation on whether this is an Xcode or virtualisation-related problem.
Thank you.
The documentation of the NSPopover property hasFullSizeContent says that when it's true, you should
Use the safeAreaLayoutGuide of the contentViewController view to ensure that your content is fully visible and doesn’t become clipped when displayed.
I can do that by adding auto-layout constraints programmatically, but is there a way to do it in the xib? When I googled it, the AI summary begins
To use safe areas in a Mac XIB (Interface Builder), enable the "Use Safe Area Layout Guides" checkbox in the File Inspector for your view
but I have not found any non-AI indications that such a checkbox exists for macOS.
(I'm using Xcode 26.2.)
hy! apple developer community! No, I have a problem that's driving me crazy: Multiple commands produce '/Users/giulia/Library/Developer/Xcode/DerivedData/ScheduledStudy-dcmmhcdncitvfkdditbjoipfalqg/Build/Products/Debug-iphonesimulator/singintestwidgetExtension.appex/Info.plist'. Can you help me fix it? I know it's probably stupid, but I've been trying to fix it for days. There aren't two info.plist file, and that's why I don't quite understand. If you could help me, you'd be doing me a favor. Thanks for your time.
P.S. I'm sorry, but I'm just starting out with programming and I'm also quite young.
I’m using macOS Tahoe 26, and Xcode is version 26.2. I’ve tried all the methods suggested online, but I still can’t download it. In addition, iOS 26.* and iOS 18.* simulators also fail to download.
The error messages are shown below.
Download failed.
Domain: DVTDownloadableErrorDomain
Code: 41
User Info: {
DVTErrorCreationDateKey = "2026-01-06 01:25:11 +0000";
}
Download failed.
Domain: DVTDownloadableErrorDomain
Code: 41
Failed fetching catalog for assetType (com.apple.MobileAsset.iOSSimulatorRuntime), serverParameters ({
RequestedBuild = 23C54;
})
Domain: DVTDownloadsUtilitiesErrorDomain
Code: -1
Download failed due to a general networking error. (Catalog download for com.apple.MobileAsset.iOSSimulatorRuntime)
Domain: com.apple.MobileAssetError.Download
Code: 47
User Info: {
tryAgainLater = 1;
}
System Information
macOS Version 26.0 (Build 25A354)
Xcode 26.2 (24553) (Build 17C52)
Timestamp: 2026-01-06T09:25:11+08:00
I am trying to list the providers on a managed Apple account using altool but I am getting an error. I am using the following command:
xcrun altool --list-providers -u <apple-id> -p <app-specific-password>
The error message indicates that a general error has occurred but does not specify what the root cause may be.
2026-01-05 11:13:29.272 ERROR: [altool.600001E6C1C0] Auth context delegate failed to get headers. Error Domain=ITunesConnectFoundationErrorDomain Code=1611 "Unable to generate an Apple Connect token at this time due to a general error" UserInfo={NSLocalizedDescription=Unable to generate an Apple Connect token at this time due to a general error}
Failed to get providers.
2026-01-05 11:13:29.273 ERROR: [altool.600001E6C1C0] Unable to generate an Apple Connect token at this time due to a general error (1611)
This command worked before the Apple ID was converted to a managed account. I have tried other managed accounts, as well as creating new app specific passwords but all fail with the same error.
How can I accomplish this task with a managed Apple account?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Each time I try to launch Xcode 26, it immediately crashes in SourceEditorDataSource.ideChat_gracefullyApplyChangesToReflect.
I'm now no longer able to use Xcode.
A partial crash log attached.
So far I've tried deleting derived data, rebooting, deleting ~/Library/Caches/com.apple.dt.Xcode.
What should I do?
Thank you in advance for any help.
crash-report.txt