Search code examples
iosxcodeios-simulatordmg

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


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?


Solution

  • ⚠️ 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>