Actool error

Any idea what may cause this (not run for a while so had to update Xcode and fire to latest - which also involved me updating Download .NET 8.0 Runtime (v8.0.20) - macOS Arm64 Installer which I mention in case it’s related) :

actool: Failed to launch AssetCatalogSimulatorAgent via CoreSimulator spawn

The relevant part of the build log (and yes, I tried restarting):

→ Task ProcessAssetCatalogs started for LogOnn.
D: /Users/Jeremy/Downloads/Xcode.app/Contents/Developer/usr/bin/actool --output-format human-readable-text --errors --warnings --notices --platform iphonesimulator --minimum-deployment-target 12.0 --compress-pngs --target-device iphone --target-device ipad --app-icon AppIcon --output-partial-info-plist “/Users/Jeremy/Library/Application Support/RemObjects Software/EBuild/Obj/LogOnn-ED748EC59A2E165D2B2305DC7304470EF4703445/Debug/Toffee-iOS/Simulator/TempAssetCatalogs/Partial.plist” --compile “/Users/Jeremy/Library/Application Support/RemObjects Software/EBuild/Obj/LogOnn-ED748EC59A2E165D2B2305DC7304470EF4703445/Debug/Toffee-iOS/Simulator/TempAssetCatalogs” /Users/Jeremy/Documents/GitHub/StockSoftware/Mobile/LogOnn/Resources/Media.xcassets
E: actool: Failed to launch AssetCatalogSimulatorAgent via CoreSimulator spawn
> Underlying Errors:
> Description: Failed to handshake with platform tool
> Failure Reason: Failed to open connection over FIFOs with platform tool
> Underlying Errors:
> Description:
> Recovery Suggestion: Try restarting your computer
> Underlying Errors:
> Description: Failed to open FIFOs for handshaking with platform tool
> Failure Reason: AssetCatalogSimulatorAgent exited before we could handshake
> actool: /Users/Jeremy/Library/Application Support/RemObjects Software/EBuild/Obj/LogOnn-ED748EC59A2E165D2B2305DC7304470EF4703445/Debug/Toffee-iOS/Simulator/TempAssetCatalogs/AppIcon60x60@2x.png
> actool: /Users/Jeremy/Library/Application Support/RemObjects Software/EBuild/Obj/LogOnn-ED748EC59A2E165D2B2305DC7304470EF4703445/Debug/Toffee-iOS/Simulator/TempAssetCatalogs/AppIcon76x76@2x~ipad.png
> actool: /Users/Jeremy/Library/Application Support/RemObjects Software/EBuild/Obj/LogOnn-ED748EC59A2E165D2B2305DC7304470EF4703445/Debug/Toffee-iOS/Simulator/TempAssetCatalogs/Partial.plist
← Task ProcessAssetCatalogs failed for LogOnn, took 0.1392s (0.139s).

Strange, never seen that one. Sounds like somethinn broken deep in actool itself. I have no issues here with Xcode 26.0 GM, and ive bene doing. alot of iOS work the past weeks.

does this happen witn any asset catalog or a speciifc one?

I’ve tried a variety of different simulators and projects, all the same, just about to try on a different Mac, though it’s old (Xcode 13 which is the latest it will have).

Edit: Can’t. macOS is 11.7. Fire won’t run. I Have an old Fire on there (.2771) and that appears to work just fine, so hopefully I can do the debugging I want to do on there (I’m just trying to step through something with a user’s data from their iPad) until I can get it going on the macBook

I can fire up the simulator manually, via Fire’s menu, btw.

Oh, that’s, what, 5 years old? i think we’d be at 17 now, if not for the renumbering… I think you just need a newer Xcode, or at leats reinstall it.

Latest Fire needs macOS 12, but you can run the command line build on 11.7 to see if that has the same issue or not.

Note that actool has nothing to do with launching the simulator. actool is used to compile any Asset Catalogs in your project, as part of the build

Yeah, it’s the latest the OS will allow I think

Ah, right. I didn’t realise that. I just saw the words simulator spawn!

Anyway, it’s not the project, which builds fine on the older Mac, and even if I create a new empty iOS project here, I get the same issue.

I’ll try that tomorrow, when I’ve got some time.

:frowning:

Found the issue. The updated Xcode didn’t have the command line tools set, so changing that in Xcode’s settings/locations fixed it !

:roll_eyes:

1 Like