How to Run App in Simulator Xcode 6

Unable to run app in Simulator: Xcode beta 6 iOS 8

I solved it following these steps:

  1. Open Xcode 6 beta
  2. Go to the menu Xcode > Open Developer Tool > iOS Simulator
  3. Even if an error dialog shows up, you still would have access to the iOS Simulator's menu
  4. Select Hardware > Device > Manage Devices
  5. Click on the little + sign at the bottom
  6. Add (if missing) all the devices that you want, or delete and recreate the ones malfunctioning.
  7. If anyone of the simulator is not working then right click on it and delete it and then re-create it again

Sample Image

Xcode6: Run two instances of the simulator

You can run two instances of the iOS simulator from the command line. They won’t be attached to Xcode debugging—indeed, it seems only to work if you do it without Xcode running at all.

First, you need to run the app in the simulator from Xcode, in order to get it installed in the simulator. Make sure you’re running the same simulators you’ll ultimately be using

Now open a Terminal window, and do this.

cd /Applications/Xcode.app/Contents/Developer/Applications
open -n iOS\ Simulator.app
open -n iOS\ Simulator.app

Update for Xcode 7: With Xcode 7 the application name of the simulator has changed, so it's this instead:

cd /Applications/Xcode.app/Contents/Developer/Applications
open -n Simulator.app
open -n Simulator.app

When the second one launches you’ll get an error alert. Just dismiss it and select a different device from “Hardware” » “Device”. Now you have two simulators running, and whatever apps you already installed in them from Xcode will be there.

How can I run / record an iOS app in the XCode 6 iOS Simulator?

If you were running the app on a device, you could use the new Yosemite feature to record over USB to QuickTime.

However, as you are using the simulator, you will need to a partial screen recording in QuickTime.

Using QuickTime

Launch QuickTime then go to File > New Screen Recording. You can either click to select the whole screen, or drag to only record a portion of the screen.

Sample Image

Alternatives

If you want more flexibility, you will need to use 3rd party software like ScreenFlow.

Run .app file in iOS 8 simulator

Boot the simulator you want to install it to in the iOS Simulator and then do the following:

xcrun simctl install booted /path/to/Your.app
xcrun simctl launch booted com.yourcompany.yourapp

The "booted" token was not supported on older versions of simctl in Xcode 6.0. If you get an error, please use the full device UDID instead of "booted". You can determine the UDID by running xcrun simctl list

How can I run the iOS 7.1 Simulator in Xcode 6.0 Beta?

Finally I found it

Goto Hardware -> Device -> Manage Devices (In Simulator Menu)

or

window -> Devices (In Xcode Menu)

From there you can set the ios version and can add new sim from there.

Unable to run app in Simulator XCode 6.0

iOS Simulator -> Reset Contents and Settings

Worked for me!

iOS Simulator -> Reset Contents and Settings... -> Reset

Sample Image

referenced from:
http://qiita.com/tajihiro/items/f6f50b56162c93d25c90

Can't run app in the simulator iOS 8 Xcode 6

Had the exact same problem. Was using shareKit. But I did not need that LiveSDK support. Thus, after hours of trying to find a solution, I simply put "livesdk" in search box (search in workspace) and removed every entry of it. Also - removed LiveSDK files from Sharekit. And problem disappeared. (Hopefully I will never need to add LiveSDK support).



Related Topics



Leave a reply



Submit