OSX10.11 Xcode7 requires authorization to install the simulator. osx10.11xcode7
Upgrade your computer to OSX 10.11, and then Xcode to 7. However, when installing the simulator, you always wait until the download is complete, and finally the installation will require authorization, but when downloading starts, once the password has been entered, authorization should be performed. It is unclear why the installation fails. Later, I went to Apple's official forum to see that some people said this was a bug and had to wait for the official version to solve it. However, when the GM version came out, it still didn't work.
Finally, I found the answer on Stack Overflow.
The error message of installation failure is generally (some versions may directly prompt the English version, but they should be understandable ):
Cocould not download and install iOS 8.1 Simulator. authorization required to install these software packages
To solve this problem, exit Xcode and run the following command to start it. Then, download and install it.
Sudo/Applications/Xcode. app/Contents/MacOS/Xcode
Record it here.
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.