I keep getting the following error when trying to build my app:
2022-07-08 19:59:03.837 ibtoold[65032:257043] DEBUG: Added to environment: {
TMPDIR = "/var/folders/n1/mn972l7d7t53rk8kghkt9b4h0000gp/T/61CA0AE1-7540-4D8C-94B2-3BF37B7EB31C";
}
/* com.apple.actool.errors */
: error: Failed to launch AssetCatalogSimulatorAgent via CoreSimulator spawn
Failure Reason: Failed to spawn AssetCatalogSimulatorAgent on IBSimDeviceTypeiPad2x (3E230588-1FA3-45F9-AB2E-C02394631AA7, (null), Shutdown)
Underlying Errors:
Description: Invalid device: The specified device is not available for spawning processes.
This is happening with Xcode 13.4.1
This started after installing the Xcode 14 beta along side Xcode 13.4.1 (I never actually opened or used the beta before this started happening).
Things I've tried:
- deleting DerrivedData
- changing the DerrivedData directory
- uninstalling Xcode 13 and 14 beta, and only reinstalling Xcode 13.
- restarting my computer.
Anyone else see this?
Also a side note:
I can't seem to add iOS 15 simulators after this started happening. I wonder if its related.
EDIT: Upon further digging im seeing this error message in my CoreSimulator.log file:
Jul 8 20:06:10 bmifsud-mbp CoreSimulatorService[2918] <Notice>: Could not locate default .GlobalPreferences.plist for iOS 15.5 (15.5 - 19F70) - com.apple.CoreSimulator.SimRuntime.iOS-15-5
Is there any way to reset this preference?