I've run the commands you mentioned and run them in order to demonstrate my problem:
$ xcrun simctl runtime list
== Disk Images ==
-- tvOS --
tvOS 18.4 (22L254) - C5A9C190-ABF9-4949-9112-D063E82ECA5B (Ready)
-- watchOS --
watchOS 11.4 (22T250) - EB2C6365-BB36-4E19-99C2-0CE20CDD3C96 (Ready)
Total Disk Images: 2 (8.5G)
$ xcodebuild -downloadPlatform iOS
Downloading iOS 18.4 Simulator (22E238): Preparing to download...2025-04-11 08:07:03.506 xcodebuild[4333:39611] DVTDownloadable: Observed finish. Cancelling download asset. {
assetId = 6fb1e5fe25ee1c372f7116516e615c556906bd4e;
assetIdHash = 9d684dee0a7bae81ba9c4f79475976f41789eaf3;
assetType = "com.apple.MobileAsset.iOSSimulatorRuntime";
attributesHash = 99e0653b3c175e32d4a045cb9be856573b2938c1;
contentHash = d4aad730490a4476d8179d4cdb7c1fcae8dd388a;
nonIdHash = be7dd5950580ff7c8e1f822b24bd76d58c08b8aa;
pallasDynamicAssetIdHash = d7904ac1d93cc3702244074c49aafad923a6e2b4;
policyHash = d3700ca0e5058eb1d7b21fd74b1c225a66f5e74e;
urlHash = fc93246f74e44ae2b94a727bfd9bac228f69f961;
}, error: (null)
Downloading iOS 18.4 Simulator (22E238): Error: Error Domain=SimDiskImageErrorDomain Code=5 "(-67061 invalid signature (code or signature have been modified)" UserInfo={NSLocalizedDescription=(-67061 invalid signature (code or signature have been modified), unusableErrorDetail=}
$ xcrun simctl runtime list
== Disk Images ==
-- tvOS --
tvOS 18.4 (22L254) - C5A9C190-ABF9-4949-9112-D063E82ECA5B (Ready)
-- watchOS --
watchOS 11.4 (22T250) - EB2C6365-BB36-4E19-99C2-0CE20CDD3C96 (Ready)
-- unknown --
<unknown platform> - 4C2932FD-404F-49EA-B8F4-9ED904C97F4E (Unusable - Other Failure: (-67061 invalid signature (code or signature have been modified))
Total Disk Images: 3 (16.7G)
$ xcrun simctl runtime delete 4C2932FD-404F-49EA-B8F4-9ED904C97F4E
$ xcrun simctl runtime list
== Disk Images ==
-- tvOS --
tvOS 18.4 (22L254) - C5A9C190-ABF9-4949-9112-D063E82ECA5B (Ready)
-- watchOS --
watchOS 11.4 (22T250) - EB2C6365-BB36-4E19-99C2-0CE20CDD3C96 (Ready)
Total Disk Images: 2 (8.5G)
$ xcodebuild -downloadPlatform iOS
Downloading iOS 18.4 Simulator (22E238): Preparing to download...2025-04-11 08:11:02.639 xcodebuild[4563:45093] DVTDownloadable: Observed finish. Cancelling download asset. {
assetId = 6fb1e5fe25ee1c372f7116516e615c556906bd4e;
assetIdHash = 9d684dee0a7bae81ba9c4f79475976f41789eaf3;
assetType = "com.apple.MobileAsset.iOSSimulatorRuntime";
attributesHash = 99e0653b3c175e32d4a045cb9be856573b2938c1;
contentHash = d4aad730490a4476d8179d4cdb7c1fcae8dd388a;
nonIdHash = be7dd5950580ff7c8e1f822b24bd76d58c08b8aa;
pallasDynamicAssetIdHash = d7904ac1d93cc3702244074c49aafad923a6e2b4;
policyHash = d3700ca0e5058eb1d7b21fd74b1c225a66f5e74e;
urlHash = fc93246f74e44ae2b94a727bfd9bac228f69f961;
}, error: (null)
Downloading iOS 18.4 Simulator (22E238): Error: Error Domain=SimDiskImageErrorDomain Code=5 "(-67061 invalid signature (code or signature have been modified)" UserInfo={NSLocalizedDescription=(-67061 invalid signature (code or signature have been modified), unusableErrorDetail=}
However, in the end, the installation always fails …
Christian