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?
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>
sudo xcrun simctl runtime add ~/Downloads/iOS_17_beta_Simulator_Runtime.dmg
It did work for me without any issues. –
Perverse sudo
. Although that method is an alternative to install runtimes (I think for Xcode 15) they does not answer the original question which is downloaded from the Apple –
Hamann Try this:
sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService
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
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>
sudo xcrun simctl runtime add ~/Downloads/iOS_17_beta_Simulator_Runtime.dmg
It did work for me without any issues. –
Perverse sudo
. Although that method is an alternative to install runtimes (I think for Xcode 15) they does not answer the original question which is downloaded from the Apple –
Hamann 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
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.
I'm just reinstall the iOS 17.0 platform and that's work for me. Xcode -> Settings -> Platform (delete and install after).
Make sure you have latest Xcode and Mac OS
Open terminal and run
xcodebuild -downloadPlatform iOS
Xcode > Window > Devices and Simulators” in Xcode and right-clicking on the ones you want to remove
© 2022 - 2024 — McMap. All rights reserved.