I have problem with Xcode 7.3.1 on OSX(10.11.4 El capitan) , namely, when i try to install any simulator using sudo /Applications/Xcode.app/Contents/MacOS/Xcode
i get this error:
could not download and install ios 9.1 simulator
when files are moved to the final location of an unexpected error occured
what's wrong?
here the log
Mac-Pro-USER:~ MAC$ sudo /Applications/Xcode.app/Contents/MacOS/Xcode
Password:
2016-12-10 20:53:12.103 Xcode[3581:19770] Failed to locate a valid instance of CoreSimulatorService in the bootstrap. Adding it now.
2016-12-10 20:53:12.297 Xcode[3581:19727] CoreSimulatorService connection interrupted. Resubscribing to notifications.
2016-12-10 21:10:24.889 Xcode[3581:19708] [MT] DVTDownloadable: Error Domain=PKInstallErrorDomain Code=120 "Could not download and install iOS 9.1 Simulator. could not download and install ios 9.1 simulator when files are moved to the final location of an unexpected error occured." UserInfo={NSLocalizedDescription=Could not download and install iOS 9.1 Simulator.
could not download and install ios 9.1 simulator
when files are moved to the final location of an unexpected error occured., arguments=(
"-f",
"-s",
"/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager-SystemSoftware/C63C631F-0C12-4AAD-9864-7A0B007C6ACF.activeSandbox/Root",
"/"
), NSUnderlyingError=0x7ff2fbfda940 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
2016-12-10 21:10:47.884 Xcode[3581:29128] This process won't be able to use DD remote data sources