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:
Downloaded from the Apple Developer site
How can I fix this?
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:
xattr -cr PATH_TO_DOWNLOADED_DMG
.simruntime
to the desired destination (/Library/Developer/CoreSimulator/Profiles/Runtimes
)Xcode can install runtimes and verify them on the fly with the xcrun
tool:
xcrun simctl runtime add <Drag DMG Here>