Xcode beta 6 iOS 8: Simulator not working
Solution 1
the trick is, to select the right command line tools! just select it here
reboot(!) and everything is fine again :-)
Solution 2
Ok It's known problem. Do you see simulators list? If not
Goto Xcode Menu -> Open Developer Tool -> It will open a simulator in your Dock -> click on simulator then go to Simulator Menu: Hardware -> Device -> Manage Devices. Add needed simulators. Always try to run your app with different simulators.someone will work.
Solution 3
Restart your Mac. I just had that exact error after installing Xcode 6 beta 7, literally the only thing I did in response was reboot my Mac and now the iOS 8 simulator is working.
This error is common if you update Xcode without restarting afterwards.
Solution 4
In my case, i reset ios simulator settings fix it.
iOS Simulator -> Reset Content and Settings ...
Solution 5
- Open Xcode 6 beta
- Goto Window > Devices
- Click on the little + sign at the bottom
- Add (if missing) all the devices that you want, or delete and recreate if not working.
- If anyone of the simulator is not working then you can delete it and then re-create it again in this menu.
JakeFromStateFarm
Updated on July 18, 2022Comments
-
JakeFromStateFarm almost 2 years
I cannot launch the simulator successfully. Once I launch the IOS Simulator this error appears:
"Unable to boot the IOS Simulator."
Following the IOS Simulator error, I then get an error from Xcode reading:
Unable to run app in Simulator
An error was encountered while running (Domain = DTiPhoneSimulatorErrorDomain, Code = 2)UPDATE:
This might sound silly but I went to Xcode/preference/Downloads with intentions of seeing a IOS 8.0 Simulator but there was none. Could this be the problem? Am I suppose to have a IOS 8.0 Simulator? If so can someone direct me how to get it? Also, under the "Downloads" tab in Xcode preference I do see IOS 7.0 and 7.1 Simulators and both work fine with Xcode 5.
-
JakeFromStateFarm almost 10 yearsI do see the simulator list and I tried all simulators. I also tried deleting and adding simulators and still no luck. I am completely lost as to why its not working. Any other suggestions @Anton
-
Anton almost 10 yearsJust try only completely remove Xcode 6 with all its system files from your mac and Install it again from package.
-
JakeFromStateFarm almost 10 yearsI tried deleting and reinstalling a few times also @Anton
-
Anton almost 10 yearsWhen you are deleting Xcode 6 from Applications only, it not removing your internal files. I am using AppCleaner app to remove it. I don't know if it's still exists. I installed it years ago. If it's still not working, the other suggestion to wait beta 4 Xcode 6. If it's happening on your existing project? Or on new project?
-
Anton almost 10 yearsYou are not alone :) stackoverflow.com/questions/24033417/…
-
JakeFromStateFarm almost 10 yearsI do have AppCleaner installed and I also tried using it. I guess I will just have to wait for beta 4 or the official release. I am just confused as to why its not working for me. I am reading about possible solutions but nothing seems to be working for me. Thanks for your help @Anton
-
Anton almost 10 yearsI asked you above, if it's happening on a new project or old one?
-
JakeFromStateFarm almost 10 yearsOh sorry I didn't get back to you. I tested on both new and old projects and the same error appears. @Anton
-
Anton almost 10 yearsHave you checked this link? stackoverflow.com/questions/24033417/…
-
JakeFromStateFarm almost 10 yearsyup, that was the first solution I came across. I am running out of ideas as to why its not working for me. @Anton
-
Anton almost 10 yearsI think just wait for other beta.
-
ZaBlanc almost 10 yearsYeah, was hoping Beta 5 fixed it, but no. I can only use the iOS 7 simulators.
-
NeilMortonNet over 9 yearsWorked a charm! Thank you!
-
Jay Mayu over 9 yearsIt didn't help either :(
-
SinisterMJ over 9 yearsI got it working with just the reboot but I ALSO found after the command line tools were old, so I selected the most recent and re-started Xcode.
-
Sparragus over 9 yearsI did this, and it worked. On the Devices List (inside iOS Simulator) I removed the iPhone 5s, and added a new one. Ran the simulator the app on the simulator again, and it worked.
-
Amir Memon over 9 yearsI emptied out my trash after deleting, what do i do now? :-(
-
Amir Memon over 9 yearsThis did the trick for me, thanks. Now I need to send Apple a bill for the hours of productivity I lost.
-
Amir Memon over 9 yearsRebooting my mac alone didn't work, I had to aslo remove all simulators, etc like pchelnikov's answer below.
-
Jayprakash Dubey over 9 yearsI'm geting an error while resetting content of simulator. "Unable to boot device in current state: Creating". What the hell is this?
-
PaperThick over 9 yearsWorked for me when updating from 6.0 to 6.1
-
Chris Prince over 9 yearsXcode 6.1. Didn't need to reboot. Procedure worked otherwise.
-
NSPratik over 9 yearsThis answer really worked for me and it forced me to up-vote the answer. By this, we can add desired number of Devices with the combination of iOS versions.
-
CheeseFerret over 9 yearsAre there no simulators when xcode and the sdk are installed? This solution was exactly what I needed, I'm starting the iOS tutorials and creating a simulator isn't in the getting started steps. I think Apple need to update their docs.
-
Umar Farooq over 9 yearsyea may be, i dont see exactly when i installed xcode 6
-
Alex about 8 yearsStruggled a long. Your answer solved my headache. Thanks.
-
4b0 about 4 yearsZhiYi Lee, please don't add "thanks" as answers. They don't actually provide an answer to the question, and can be perceived as noise by its future visitors. Instead, upvote answers you like. This way future visitors of the question will see a higher vote count on that answer, and the answerer will also be rewarded with reputation points. See Why is voting important.