hacker
hacker

Reputation: 8957

Unable to run app in Simulator : Xcode 6.0.1 iOS 8

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

Then i found the Xcode has been updated to the 6.0.1 ,But when i tried to run my app on it i am getting only iOS device as the device,not simulators.

in my simulator menu manage devices there is no simulators only my mac is present ,then i tried to add simulators but it has given me error of path is not found,i tried every solutions found in the web search like locations tab command line tools,everything is fine,

But still i am not getting the simulators?Can anybody help me on this?

Upvotes: 5

Views: 8481

Answers (5)

Krunal
Krunal

Reputation: 79756

Follow these steps to add a (new) simulator

  1. Click on Simulator icon and open simulator list.
  2. At the end of list, there is an option to add new simulator "Add Additional Simulator". That will open 'Device & Simulator' window.
  3. Switch to 'Simulator' tab.
  4. There are three field in simulator tab.
  5. Click on '+' icon, on left bottom corner of window.
  6. Simulator Name: Enter simulator name here
  7. Device Type: Select iPad from this dropdown list
  8. OS Version: Select OS version from this dropdown list
  9. Click on 'Create'

A new simulator will be added in your Simulator option list.

Look at this snapshot to understand flow of above steps: enter image description here

And if there is no simulator/OS version in simulator list, you're looking for,

  1. Click on Simulator icon and open simulator list.
  2. At the end of list, there is an option to add new simulator "Download Simulator". That will open 'Component' window (from Xcode >> Preferences).
  3. Select/click simulator from list, which you need to download.

Look at this snapshot: enter image description here

Upvotes: 0

Nitin Gohel
Nitin Gohel

Reputation: 49730

Might be that resolve by tap Xcode6--> Window--> Device like following image:

enter image description here

When you select Device Option you get following window open:

enter image description here

There is appear all simulator or connected devices. If you found No simulator you can add by click on + Button then you get following window create simulator.

enter image description here

click an option there is simulator list and you get simulator. Hope that solve you issue.

Upvotes: 18

Derek Knight
Derek Knight

Reputation: 235

The one thing I can suggest is checking xcode-select from a Terminal. Type xcode-select -p and look at the output. This should be the Contents/Developer directory within your Xcode application. On my machine - because I don't leave Xcode in the Application folder, it reads /Applications/Developer/Xcode.app/Contents/Developer/. Make sure it's actually pointing at where Xcode is installed. For example you may be putting Xcode in a directory other than the usual /Applications, while xcode-select is looking for the Xcode internals in a different place than where Xcode is. I've been caught out by this before now.

Upvotes: 0

Jeremy Huddleston Sequoia
Jeremy Huddleston Sequoia

Reputation: 23651

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

Upvotes: 0

Patel Maulik
Patel Maulik

Reputation: 99

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 Downloading and Installing Xcode Components in the iOS Developer Library.

Upvotes: 0

Related Questions