Unable to run application in Simulator: Xcode 6.0.1 iOS 8

I upgraded my Xcode to version 6.0.1 from the App Store update notification in the morning in os X 10.9.5, and then restarted my mac.

Then I found that Xcode was updated to 6.0.1, but when I tried to run my application on it, I only get the iOS device as a device, not simulators.

there are no simulators in my simulator control menu, only my mac is present, then I tried to add simulators, but it gave me a path error not found, I tried all the solutions found on the Internet search, as in the command line tools of the tab, everything is in order,

But still, I do not get simulators? Can someone help me with this?

+5
source share
5 answers

Perhaps this can be resolved by clicking Xcode6--> Window--> Device as follows:

enter image description here

When you select the "Device" option, you will open the following window:

enter image description here

All simulators or connected devices appear. If you did not find the No simulator that you can add by clicking the + button, you will get the following window creation simulator.

enter image description here

click on the option, there is a list of simulators and you will get a simulator. Hope you solve the problem.

+18
source

Choose Preview> iOS Simulator Version> iOS 6.0 or 6.1. * Choose "Preview"> "Preview" in iOS Simulator.

  • If you don’t see iOS 6.0 or iOS 6.1, see the “Download and install Xcode components in the iOS Developers Library” section.
0
source

What is the output of the xcrun simctl list? Is there anything interesting in ~ / Library / Logs / CoreSimulator / CoreSimulator.log to indicate a problem? Can you add and remove simulation devices from device manager? Can you add and remove devices from the command line "xcrun simctl create ..."?

0
source

The only thing I can offer is to check xcode-select from the terminal. Type xcode-select -p and look at the result. This should be the Contents / Developer directory in your Xcode application. On my machine - because I do not leave Xcode in the Application folder, it reads /Applications/Developer/Xcode.app/Contents/Developer/. Make sure it actually indicates where Xcode is installed. For example, you can put Xcode in a directory other than the regular / Application directory, while xcode-select looks for Xcode internals in a different place than where Xcode is. I have been caught this before.

0
source

Follow these steps to add a (new) simulator

  • Click the Simulator icon and open the list of simulators.
  • At the end of the list there is the opportunity to add a new simulator " Add an additional simulator ." This will open the "Device and Simulator" window.
  • Click the Simulator tab .
  • There are three fields on the simulator tab.
  • Click the '+' icon in the lower left corner of the window.
  • Simulator name: enter simulator name here
  • Device Type: select iPad from this drop-down list
  • OS Version: Select an OS version from this drop-down list.
  • Click Create

A new new simulator will be added to your simulator's parameter list.

Take a look at this snapshot to understand the flow of the above steps: enter image description here

And if there is no simulator / OS version in the list of simulators, you are looking for

  • Click the Simulator icon and open the list of simulators.
  • At the end of the list there is an opportunity to add a new simulator " Download Simulator ". This will open the Component window (from the Xcode settings →).
  • Select / click a simulator from the list you need to download.

Take a look at this snapshot: enter image description here

0
source

Source: https://habr.com/ru/post/1202942/


All Articles