23
votes

I've been trying to install iOS simulators 8.3 & 8.4 on Xcode 6.3.2 an 6.4 beta respectively. In the first case is not even an option to download this simulator while in Xcode 6.4 it shows an error "Could not download and install iOS 8.3 Simulator. Authorization is required to install the packages". I've searched the web but I could not find anything so I tries reinstalling Xcode from Apple developer website as well as from the app store with no change at all. The only simulator I can use is 8.2. I cannot install any other version. Any help would be really appreciated.

This is the error on Xcode 6.4 with no additional option of iOS 8.4 Simulator Xcode 6.4 beta

These are the simulator options for me to download which result in that error enter image description here

These are my options in Xcode 6.3.2 with no option for iOS 8.3 Xcode 6.3.2

2
8.3 is the default for Xcode 6.3.2 so it doesn't need to be downloaded. As for the first message, are your AppleID and password correctly entered in the "Accounts" section?cbiggin
@cbiggin yes.. and I am the iOS and Mac "agent". Even though it should be already installed, when I run the project it only runs on the iOS 8.2 simulator. When I select as minimum deployment target iOS 8.3 it errors that I should select a lower version as "iPhone 6 runs iOS 8.2 which is lower than -project name- minimum deployment target. Change your project's minimum deployment target or upgrade iPhone 6's version of iOS".snksnk
@mixel: how did it become the duplicate? this was asked 3months ago while the post in your link is 2months ago?0yeoj
@mixel: Okay let me rephrase that, "That doesn't make this post the duplicate.". because it is not the duplicate, this is the original.. there i've said it.. the original.. ;)0yeoj
@0yeoj Ok, I retracted my vote and edited title to make it more specific.mixel

2 Answers

30
votes

I found a workaround on the Apple forums. If you run Xcode using sudo the simulator downloads and installs work just fine:

sudo /Applications/Xcode.app/Contents/MacOS/Xcode

Note: Once the downloads and installs are complete you should quit Xcode and start it normally.

6
votes

The iOS 8.3 Simulator runtime is includes in Xcode 6.3 (which is why it isn't offered as an additional download).

The iOS 8.3 Simulator runtime should be downloadable from Xcode 6.4, as you show. Your dialog box reports that there was an authentication problem when attempting to install the package. You need to provide administrator credentials when installing the package.

The reason you are getting your "iPhone 6 runs iOS 8.2 which is lower than -project name- minimum deployment target." errors is because you are selecting an iPhone 6 with iOS 8.2 on it and not an iPhone 6 with iOS 8.3 on it.

Use 'xcrun simctl create' or Xcode's Devices window to create the iOS 8.3 devices you need.