Hi!
I'm having problems installing the iOS 18.4 SDK for Xcode. The installation fails from within Xcode or from the command line with the following error message:
$ xcodebuild -downloadPlatform iOS
Downloading iOS 18.4 Simulator (22E238): Preparing to download...2025-04-05 10:16:50.451 xcodebuild[7138:103696] 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=}
When trying to install in Xcode I get the following error message:
Any idea on how to get this fixed is appreciated!
I found a workaround to get the runtime installed on my iMac. Using a second computer which had the runtime installed, I executed the following command:
$ xcodebuild -downloadPlatform iOS -exportPath .
Finding content...All available platforms are downloaded
Exported 'com.apple.CoreSimulator.SimRuntime.iOS-18-4' to /Users/cmittendorf/Desktop/iphonesimulator_18.4_22E238.dmg
The DMG file was copied over to my iMac and then installed using:
$ xcrun simctl runtime add iphonesimulator_18.4_22E238.dmg
C: F5BC51BD-6280-42AE-B85B-7FA96C6C5C4A iOS (18.4 - 22E238) (Ready)