XCode 15.3 Command CompileAssetCatalog failed with a nonzero exit code

I just upgraded to XCode15.3 and now all my projects with Assets are getting this compile error. I have tried removing DerivedData caches and rebooting but still get this error. Anyone else hit this problem with XCode 15.3? I was only Building for IOS 16.4 and 17.0.1 and Xcode 14.0 and 15.0 Build Error: Command CompileAssetCatalog failed with a nonzero exit code *** Terminating app due to uncaught exception 'IBPlatformToolFailureException', reason: 'The tool closed the connection (AssetCatalogSimulatorAgent) Execution Context: <IBSimulatorToolCoreSimulatorCLIExecutionContext: 0x600003d5d260 busyCount=0, Idle for 0.0 secs, lifeTime=26.3 secs>, device=IBSimDeviceTypeiPad3x (865E7291-E467-4E8D-B535-D64F43A57F15, iOS 17.4, Shutdown), idiom=<IBIPhoneIdiom: 0x6000028b8000>

After some more testing XCode seems to be gagging on my SVG files now, SVGs had been working well up to 15.3!

Same here. Svg files in asset folder are not building anymore. I've seen this exact same problem occur in a not so distant past, such as here : https://developer.apple.com/forums/thread/731118?answerId=760613022#760613022

So Apple, i've got an idea : maybe people developping Xcode could start adding some god damn unit tests ? Screwing up the build of professional iOS developers that have no choice but use your tool is not ok !

Same here. But for me, removing the SVG files from our asset catalogs doesn't help. This is preventing us from moving to Xcode 15.3.

I had the same ('IBPlatformToolFailureException', reason: 'The tool closed the connection (AssetCatalogSimulatorAgent)).

The cause was an SVG I had created in Sketch. It was a simple shape with a fill and an inner shadow.

I removed the inner shadow, re-exported the SVG, and re-added the SVG to my asset catalog, and the app now builds.

As @benjamin_g mentioned, other effects (gaussian filter) in SVGs might trigger this build error as well.

I have in my projects a lot of .svg icons so is there any other (quicker)solution for fix this error? If i need to fix one by one it will takes me a lot of time :/ or hopefully Apple will release 15.3.1 version where this is fixed

Same here. Worked with Xcode 15.3 beta 2, but not with Xcode 15.3.

The issue is still present in Xcode 15.4 beta 1, more than a month later. I guess, we cannot expect a fix from Apple in a reasonable timeframe and would have to recreate the asset, despite it working perfectly fine for years.

I just upgraded to Xcode 15.3 and have the same problem. Now my project won't build. How do I find which icon is the issue? The error message isn't pointing to which one/s

Have been having the exact same issue, but mine was building fine with 15.3, the update to 15.4 broke it. Came to the same conclusion that it was the .svg image causing it to crash but shocked at how specifically it is that it's an svg with gaussian blur (which mine also has). Kind of bummed and hope this is fixed soon since mine can't just be recreated, the whole point of the asset is that it's a 'glow' image, so the blur is necessary. At least now I know what it is and can continue developing.

I've replaced the SVG with PNG just to get the new build out of the door. Luckily, it wasn't many files, but … man, this was annoying to find.

If it serves someone, i found out that images with "/" in the name caused this same error, it took me a while to find out, since i was looking for gaussian blurs in my svgs and all, but none of that was the cause, it was names with /

Hope it helps you guys.

I have the same problem in Xcode 15.4. The problem occurred with PNG and PDF files specified as Single Scales.

This problem still not fixed in xcode 15.4, i have thousands of svg files in my assetCatalog, i can't find which one has blur effect

I had a problem with SVG in XCode 15.3 and in 15.4. Moreover, the problem arises only from the code using SwiftUI, there is no problem in the part of the code where UIKit is used. Images that contained more than one slash in the path stopped being displayed, such as here "Flashlight/Icons/blink". I disabled the namespace in the "Icons" directory, replaced the path with "Flashlight/blink" and everything worked.

I was fortunately able to identify and fix the SVGs which were giving me problems. Both of the files had float values for size (height, width) and coordinates (x, y). Rounding those to the nearest integer value resolved the issue.

Hope that helps someone encountering this issue and more importantly, is a useful hint to any Apple devs watching this thread.

XCode 15.3 Command CompileAssetCatalog failed with a nonzero exit code
 
 
Q