“iOS 17.0.simruntime” cannot be opened because the developer cannot be verified

13.9k Views Asked by At

I just downloaded the iOS 17 runtime, but after copying it into the destination, this popup opens and the Xcode could not use the simulator as expected:

Popup

Downloaded from the Apple Developer site

How can I fix this?

6

There are 6 best solutions below

3
Mojtaba Hosseini On BEST ANSWER

⚠️ Overcome the error:

This error is because of some permissions of the copying files. You should trust the DMG before coping the the file to make them verified:

  1. Close Xcode and Eject the simulator DMG.
  2. Change the attributes of the downloaded dmg using the following command:

xattr -cr PATH_TO_DOWNLOADED_DMG

  1. Copy the .simruntime to the desired destination (/Library/Developer/CoreSimulator/Profiles/Runtimes)
  2. Run Xcode again and wait for the validation to be completed

Use Xcode command line to install the DMG

Xcode can install runtimes and verify them on the fly with the xcrun tool:

xcrun simctl runtime add <Drag DMG Here>
0
jyao On

It is possible to call simctl on the downloaded .dmg to add the simulator runtime manually. That is a safer workflow that also performs code signing verification. The command would be:

xcrun simctl runtime add <pathTo/platform_simulator_runtime.dmg>

Manually copying the .simruntime into the intended location for installation is an unsupported workflow.

To learn more, take a look at https://developer.apple.com/documentation/xcode/installing-additional-simulator-runtimes

3
Holger D. On

You're not supposed to copy it by hand. After downloading Xcode, the runtime .dmg and the download manifest, start Xcode. It will prompt you to install the already downloaded runtime.

See the documentation: https://developer.apple.com/documentation/xcode/installing-additional-simulator-runtimes#Install-Simulator-runtimes-from-the-Apple-Developer-website

0
Mashood .H On

Make sure you have latest Xcode and Mac OS

Open terminal and run

xcodebuild -downloadPlatform iOS
1
Dexter593 On

best thing you can do is, go to storage and remove previous ios simulators in storage---> Developers-->ios 1x.xx remove all those previous bundles.

Worked for me after trying numerous different solutions.

0
Papon Smc On

Xcode > Window > Devices and Simulators” in Xcode and right-clicking on the ones you want to remove