23

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

mixel
26k14 gold badges130 silver badges170 bronze badges
asked Jun 16, 2015 at 15:33
11
  • 1
    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? Commented Jun 16, 2015 at 16:20
  • @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". Commented Jun 16, 2015 at 16:45
  • 1
    @mixel: how did it become the duplicate? this was asked 3months ago while the post in your link is 2months ago? Commented Oct 9, 2015 at 3:39
  • 1
    @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.. ;) Commented Oct 9, 2015 at 7:55
  • 1
    @0yeoj Ok, I retracted my vote and edited title to make it more specific. Commented Oct 9, 2015 at 8:01

2 Answers 2

30

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.

answered Sep 17, 2015 at 2:58
Sign up to request clarification or add additional context in comments.

1 Comment

Also if you renamed your Xcode( Xcode 6.4 for example), it would be: sudo /Applications/"Xcode 6.4.app"/Contents/MacOS/Xcode
6

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.

answered Jun 17, 2015 at 7:04

8 Comments

I have the same authorization error when installing any simulator, but it asks me to provide administrator credentials when a simulator starts to download. So I can't install any simulator in Xcode 7, and also can't launch Xcode 6 in OS X 10.11 Beta 3. Tried to reinstall Xcode 7, but it didn't help.
Xcode 6 is not supported in OS X 10.11. You need to use Xcode 7 or later. As you stated, it asks you to provide credentials. If you are not able to do so yourself, you should have an administer install it for you.
The thing is, I'm the only user of my Mac and enter the correct password, then it starts to download the simulator. Once it's done downloading it tries to start installing the simulator and shows me this error.
Ok, then that sounds different. Please file a radar with relevant logging (and a screencap would be helpful too) at bugreport.apple.com ... Make sure to include /var/log/install.log and system.log
Ok, thanks. Should I put a link to this question in my bug report?
|

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.