Unable to run app in Simulator: Xcode beta 6 iOS 8
I solved it following these steps:
- Open Xcode 6 beta
- Go to the menu Xcode > Open Developer Tool > iOS Simulator
- Even if an error dialog shows up, you still would have access to the iOS Simulator's menu
- Select Hardware > Device > Manage Devices
- Click on the little + sign at the bottom
- Add (if missing) all the devices that you want, or delete and recreate the ones malfunctioning.
- If anyone of the simulator is not working then right click on it and delete it and then re-create it again
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.
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
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
Differences Between Ways of Initializing a Dictionary
How to Loop All Firebase Children at Once in the Same Loop
How to Give Dynamic Height to Uitableview
Hiding Dividers in Nssplitview
Get All Documents at Once in a Completion Handler with Getdocuments in Firestore
Spritekiit Swift: Touch a Moving Object
Error on Adding Uinavigationbar Button with Image
Swift Accessing Response from Function
Swift Optional Variable Assignment with Default Value (Double Question Marks)
Auth.Auth().Currentuser.Reload() Doesn't Refresh Currentuser.Isemailverified
How to Call a Func Within a Closure
Swift Tableview How to Select All Rows
Is There a Neat Way to Represent a Fraction as an Attributed String
Getting a String Value from Nsorderedset Using Swiftui Foreach