This started with Xcode 26 beta 7, however it has continued to occur with the release candidate. Whenever I try to compile our asset catalog + icon composer icon for our AppKit/SwiftUI-based macOS app, actool fails with the following exception:
*** Terminating app due to uncaught exception 'IBPlatformToolFailureException', reason: 'The tool closed the connection (AssetCatalogAgent-AssetRuntime)
Last command:
_ON_QUEUE_sendMessage:toChannelReturningError:during:
Backtrace of last command:
0 -[IBAbstractPlatformToolProxy _ON_QUEUE_sendMessage:toChannelReturningError:during:] (in IDEInterfaceBuilderKit)
1 __74-[IBAbstractPlatformToolProxy sendMessage:toChannelReturningError:during:]_block_invoke (in IDEInterfaceBuilderKit)
2 _dispatch_client_callout (in libdispatch.dylib)
3 _dispatch_lane_barrier_sync_invoke_and_complete (in libdispatch.dylib)
4 DVTDispatchSync (in DVTFoundation)
5 -[IBAbstractPlatformToolProxy sendMessage:toChannelReturningError:during:] (in IDEInterfaceBuilderKit)
6 -[AssetCatalogRemoteAgentProxy compileItemsWithCatalogRelativeIdentifierPaths:tagSolutionSpace:andStickerPacksWithCatalogRelativeIdentifierPaths:options:] (in IDEInterfaceBuilderCocoaTouchIntegration)
7 -[IBICLARToolCARCompiler compileCARItems:tagSolutionSpace:options:queue:completionHandler:] (in AssetCatalogCocoaTouchKit)
8 -[IBICAbstractPlatformAdapter compileCARItems:tagSolutionSpace:options:queue:completionHandler:] (in AssetCatalogFoundation)
9 __84-[IBICAbstractPlatformAdapter compileSelectedItems:options:queue:completionHandler:]_block_invoke (in AssetCatalogFoundation)
10 __93-[IBICAbstractPlatformAdapter compileStandaloneCatalogItems:options:queue:completionHandler:]_block_invoke (in AssetCatalogFoundation)
11 __DVT_CALLING_CLIENT_BLOCK__ (in DVTFoundation)
12 __DVTDispatchAsync_block_invoke (in DVTFoundation)
13 _dispatch_call_block_and_release (in libdispatch.dylib)
14 _dispatch_client_callout (in libdispatch.dylib)
15 _dispatch_main_queue_drain.cold.5 (in libdispatch.dylib)
16 _dispatch_main_queue_drain (in libdispatch.dylib)
17 _dispatch_main_queue_callback_4CF (in libdispatch.dylib)
18 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ (in CoreFoundation)
19 __CFRunLoopRun (in CoreFoundation)
20 CFRunLoopRunSpecific (in CoreFoundation)
21 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] (in Foundation)
22 -[NSRunLoop(DVTNSRunLoopAdditions) dvt_spinRunLoopInMode:whileQueue:executesAsynchronously:] (in DVTFoundation)
23 -[NSRunLoop(DVTNSRunLoopAdditions) dvt_spinRunLoopInMode:whileBlockExecutesConcurrently:] (in DVTFoundation)
24 -[NSRunLoop(DVTNSRunLoopAdditions) dvt_spinRunLoopInMode:waitingForSemaphore:] (in DVTFoundation)
25 -[IBCLIImageCatalogToolPersona compileCatalogCollection:withPlatformAdapter:arguments:outputDictionary:] (in ibtoold)
26 -[IBCLIImageCatalogToolPersona invokeArguments:outputDictionary:] (in ibtoold)
27 -[IBCLIImageCatalogToolPersona runSingleInvocation:outputtingToFileHandle:andVerifyingEnvironment:] (in ibtoold)
28 IBCLIServerRunSingleInvocation (in ibtoold)
29 __IBCLIServerRunSingleInvocationWithIODirectedAtPipesAndUnlinkOnSuccess_block_invoke_2 (in ibtoold)
30 __IBCLIServerRunSingleInvocationWithIODirectedAtPipesAndUnlinkOnSuccess_block_invoke (in ibtoold)
31 -[IBCLIErrorForwarder forwardErrorOutputToDescriptor:whileInvokingBlock:] (in ibtoold)
32 IBCLIServerRunSingleInvocationWithIODirectedAtPipesAndUnlinkOnSuccess (in ibtoold)
33 main (in ibtoold)
34 start (in dyld)
I can't seem to get it to compile consistently — it works fine locally.
I would ❤️ a workaround, otherwise I'm not sure that we'll be able to ship an update to our app for macOS 26.
FB20183399
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
Activity
I have cloned a private repo from GitHub and for the most part it seems to be working fine. e.g. commit, push and pull are working. However, Fetch Changes doesn't seem to work at all. It pops up a brief message as if it is working, but the status of my local branch under the Source Control Navigator -> Repositories does not get updated. Even after a push, the status still tells me I am ahead on the local branch.
If I add a new file on the GitHub website, Fetch Changes will not see it and the repository status remains unchanged.
All of these changes are immediately visible in 'Fork' (3rd party Git GUI).
If I restart Xcode the status is updated correctly, but it does not keep up with further changes.
Anything I can do other than avoid using Xcode for GitHub tasks?
Update: This might just be a problem with the Source Control Navigator views not updating. I just found that if I change branch, the "Repositories" section will not reflect the branch change until I exit and re-enter that view. e.g. click on "Changes" and back into "Repositores" to see the update. That workaround does not impact the out of date repo status though (how many commits am I ahead or behind).
Seems very buggy...
Topic:
Developer Tools & Services
SubTopic:
Xcode
Hello!
When launching/debugging on my iPad and iPhone I keep getting the following error:
“Previous preparation error: Failed to find a DDI … Run ‘devicectl list preferredDDI’ …”
I believe this was caused by a previously interrupted Xcode update around June due to low disk space, which may have left DeviceSupport/DDI/CoreDevice files incomplete. Even after finishing the update later, the error persists. I now use a new Mac with 4 TB of storage, but the issue still occurs.
Since then I have unfortunately been blocked from testing or presenting my app on devices. It seems that only a new, fully completed Xcode update might resolve the problem.
Tried so far:
– Cleared caches (CoreDevice/Devices)
– Reset trust on device and re-paired
– Checked devicectl list preferredDDI
I would really appreciate guidance, as at the moment I cannot present my app due to this blocking issue.
Thank you very much for your support!
Topic:
Developer Tools & Services
SubTopic:
Xcode
until previous version of the Xcode, I can see the backtrace of view by edit scheme -> Diagnostics -> Logging -> check Malloc Stack and select All Allocation and Free History` but the option just gone in Xcode 16.
Xcode Preview is not working.
Successed to build Preview but error message displays like below:
I think it's maybe related with loader path followed by error details below.
I created xcproj file using tuist 4.19.0.
How can I fix this issue?
Error Details
Does anyone have problems with the Pull Request functionality in Xcode 26 RC?
I can’t create a new pull request inside Xcode (it always redirects me to the web page).
I can’t see changes within an existing pull request (I only see the PR name; I can’t even approve it or request changes).
I’ve had this problem since beta 1 of Xcode 26.
Does anyone know how to fix this?
Topic:
Developer Tools & Services
SubTopic:
Xcode
I didn't check this out specifically on earlier betas, but AI is allowed to create new .swift files, yes? I'm only seeing proposals to create files (as opposed to code which it can change automatically), and the CREATE FILE button to the right of any proposed file creation does nothing.
Next I'll mention running local models, but file creation does not seem to happen for neither ChatGPT nor any local model.
Also I'm experimenting with LM Studio and it is reporting my client is timing out. So I guess Xcode is not waiting long enough for a response? The local models are slow, yes. But is there a setting for the AI timeout value?
I told the LLM "Every 1 minute send me an update so I know you are still working so my client does not time out" which seems to have no visible effect, it hasn't timed out yet, but I don't visibly see that message.
Got emailed three .txt crash files. Cannot for the life of me figure out how to get Xcode to do something with them.
Tried:
renaming .txt to .crash
Dropping onto "devices and simulators" window
Dropping on to "devices and simulators > select device >
View device logs"
"Download debug symbols" for the archive in Xcode (says "dowloaded debug symbols" so did it)
... and many other things
Xcode 13 simply refuses to respond to the drag-and-drop of the file no matter the file extension and no matter where in Xcode's various windows/tools I drop it.
Has anyone done this with a crash .txt file from app review and Xcode 13?
When I try to install the iOS 26.0 Universal Simulator component with Xcode-beta 5 I get the following error:
Download failed.
Domain: DVTDownloadableErrorDomain
Code: 41
User Info: {
DVTErrorCreationDateKey = "2025-08-11 14:39:06 +0000";
}
--
Download failed.
Domain: DVTDownloadableErrorDomain
Code: 41
--
System Information
macOS Version 15.6 (Build 24G84)
Xcode 26.0 (24198.5) (Build 17A5295f)
Timestamp: 2025-08-11T17:39:06+03:00
After upgrading to Xcode 16.4, the navigation arrow icon in the Report Navigator is no longer appearing for failed test cases within XCResult bundles. This icon, which allows developers to directly navigate to the specific line of code that caused a test failure, is now missing. This significantly hinders the debugging process for test automation engineers.
Details:
Xcode Version: 16.4 (issue started after upgrade)
Test Framework: XCTest
Test Environment: iOS simulators
Execution Method: The tests are executed on a Jenkins CI/CD server
XCResult Analysis: The generated .xcresult bundle is downloaded from the Jenkins server and opened locally on a Mac also running Xcode 16.4.
Observed Behavior:
The navigation arrow icon is missing, and there is no direct way to jump to the failure line from the report.
This issue appears to be a regression introduced in Xcode 16.4, as the navigation arrow was consistently present in previous versions. Any insights or workarounds would be greatly appreciated.
When I open my project with Xcode 26 beta 5, it crashes within a few seconds. It’s completely unusable. See the crash stack trace below:
crash
I’ve noticed that Xcode keeps automatically adding unnecessary inputPaths and outputPaths entries to my project.pbxproj file. These outputPaths don’t seem to serve any real purpose in my project and clutter the project file, sometimes causing unnecessary merge conflicts in version control.
I’ve already checked I didn't change my project.pbxproj file, but Xcode still occasionally generates these outputPaths. I’m not using any custom build tools or plugins that should be modifying this.
One thing I’ve observed is that this issue only occurs when Xcode is open. If I close Xcode, the problem does not happen. This makes me think it might be related to how Xcode manages or updates the project file in the background.
My questions:
Is there a way to completely disable Xcode from generating these outputPaths automatically?
Are there any hidden settings, project configurations, or best practices to prevent this behavior?
Has anyone else experienced this issue, and how did you resolve it?
Any advice or insight would be greatly appreciated. Thank you!
I’m still using Xcode 15 to build my mac apps. My icons use the rounded rect style but Tahoe still wraps them in its own rounded rect (even when I use the official Sketch template (1)). I made an .icon with Icon Composer and added it to my project. When building in Xcode 26, that works fine: It uses the .icon in Tahoe and the .icns in older systems.
But: I need to compile my app with Xcode 15 (need supports for older MacOS). Xcode 15 doesn’t know about the .icon files and so it ignores them.
So I have two questions:
How does Tahoe check if it can use the .icns files as is or when it needs to add the rounded rect?
Is there a way to make the .icon files work in Xcode 15?
(1) It works when the icon has an opaque background. But when adding a slight alpha, it doesn’t. Same file, same setting otherwise.
Topic:
Developer Tools & Services
SubTopic:
Xcode
After updating to Xcode 26 Beta 4, I can no longer upload my app to App Store Connect due to a WatchKit icon validation error.
The error states:
Invalid Icon. The watch application 'YourApp.app/Watch/YourWatchApp.app' contains an icon file 'Icon Image-AppIcon-watch-1024x1024 @1x.png' with an alpha channel. Icons should not have an alpha channel.
• This file name doesn’t exist in the asset catalog or project source.
• All icon assets used in the Watch App’s AppIcon set, including the required 1024x1024 icon, were checked with sips -g hasAlpha and confirmed to not contain an alpha channel.
• Project was cleaned, derived data cleared, and archive recreated multiple times.
• This issue only began after updating to Xcode 26 Beta 4. In the previous versions, everything was ok.
Is anyone else experiencing this after upgrading Xcode to Beta 4? Any idea/workaround on how to solve this would be appreciated.
Hello, I recently updated my app, and in the Transporter app it said that the processing failed. This is the email I recieved:
Please correct the following issues and upload a new binary to App Store Connect.
ITMS-90048: This bundle is invalid - Your archive contains paths that are not allowed: [._Symbols]
I couldn't find anything related to this in XCode or anywhere else on the internet. What did I do wrong?
For context, I am developing using Expo and React Native.
Starting Xcode 14, iOS Simulator is able to communicate with APNs in order to register for notification in the sandbox environment. I created a sample test for this.
A dumb iOS application that registers for notifications. It has UITests to automatize the tap on the consent popup (it is not possible to ask for the permission via CLI sadly).
Once the application registers, the AppDelegate method didRegisterForRemoteNotificationsWithDeviceToken is called and the device token is sent to a local server application (node.js).
The test itself creates an iOS 18.6 Simulator with xcrun simctl, builds such app and run the tests through through CLI with xcodebuild.
Running this on my personal Macbook Pro M1 2021 goes well every time, so I wanted to bring it on Github Actions (arm64 macOS machines), in order to test the works on a open source library I'm building (hapns).
Contacting Github support led me to test this on a macOS image running inside a VM inside a Veertu Anka container on my personal Macbook Pro, due to an VM architectural limit suspicion.
The results were the same: iOS simulator isn't able to receive the device token. Not even didFailToRegisterForRemoteNotificationsWithError is called (tested through some network probes-requests that communicate to the server which checkpoints the process reached).
So, as asked, I've setup a repro-case to be run in the VM and I've collected VM diagnostics ready to be tested and attached.
Does anyone know if there is some unspecified (or specified but buried in the documentation) limit for this? Thanks.
Github discussion link for further details, repro-case and so on: https://github.com/actions/runner-images/issues/12747
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
APNS
Xcode
User Notifications
Virtualization
C++ code that compiled fine on Xcode 16.2 when targeting macOS 13.3 after upgrading to Xcode 16.3 gives an error that the minimum required target is macOS 13.4 with an error like:
`/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/c++/v1/__format/formatter_floating_point.h:74:30: error: 'to_chars' is unavailable: introduced in macOS 13.4 unknown 74 | to_chars_result __r = std::to_chars(__first, __last, __value, __fmt, __precision);
Here’s example taken directly from (https://en.cppreference.com/w/cpp/utility/format/format):
#include <format>
#include <iostream>
#include <string>
#include <string_view>
template<typename... Args>
std::string dyna_print(std::string_view rt_fmt_str, Args&&... args)
{
return std::vformat(rt_fmt_str, std::make_format_args(args...));
}
int main()
{
std::cout << std::format("Hello {}!\n", "world");
std::string fmt;
for (int i{}; i != 3; ++i)
{
fmt += "{} "; // constructs the formatting string
std::cout << fmt << " : ";
std::cout << dyna_print(fmt, "alpha", 'Z', 3.14, "unused");
std::cout << '\n';
}
}
It doesn’t make any sense to suddenly require targeting 13.4 for features that worked fine on 13.3. The Apple documentation for C++ feature support explicitly discusses 13.3. https://developer.apple.com/xcode/cpp/ (search for P0067R5 on the page)
I haven't tested it, but based on the standard library headers the minimum required iOS version has also been bumped - from 16.3 to 16.5.
Am I doing something wrong? Is there a known work-around?
Filed feedback: FB17081499
Hello everyone,
I'm encountering a persistent issue with my newly created widget project, even though it’s a clean, minimal setup. Every time I try to run the widget on the simulator or a device, I get the following error message:
[S:1] Error received: Connection invalidated.
I get this error even in a new project (I just created a new one) when I add a widget extension to it. The app itself works fine—no errors—but when I try to install the widget extension, it always shows me this error.
Initially, I thought the issue was caused by an incorrect URLSession, but even after creating a clean (default) widget extension, the issue persists. I don’t know what to think anymore.
Has anyone encountered this before? It’s completely blocking my progress.
Conditions -
new project from iOS App template
WidgetExtension from template with no changes
Iphone 14 pro
IOS - 18.3.2
I am at a loss as to why, since the latest update, that my preview pane is no longer working. May i have some assistance on the matter? Thank you in advance! 😀✌️
Hi, moving from Xcode 16.1 to 16.2, the code coverage percentage is still 0.
The project is quite old, but it worked with 16.1.
What I tried:
converted the old tests to test plans in the settings, including all the various targets (for internal functionality contained in frameworks, each framework has its own test target).
added the various code coverage flags to YES.
added test hosts to the main targets.
played with various settings found in dozens of guides.
But nothing. The main app shows 0% coverage, even though the internal frameworks have their own coverage and the files within the main app are tested.
On Xcode 16.1, the % appears, but from 16.2 onwards, it doesn't.
Also tried with Xcode 26.
Any ideas?
Thanks