After my Xcode simulator runned an old version of my application i clicked "erase all content and settings". Now my simulator doesn't show the application at all.
The app i made previews perfectly on the canvas in Xcode, but the app doesn't appear in the simulator.
I am running Xcode 11.5.
How do i get the updated app to run in the simulator?
Just try to reopen Xcode and chose any simulator you want and wait until app will open
Press Command + r, then Xcode will build the app and install it in your simulator. Might take 30 seconds or so, when it is done the app will launch automatically.
I had a specific issue reported in iOS 12.4 in my project and so I wanted to install the iOS 12.4 simulator in Xcode (Xcode 11.5).
I went to the Preferences -> Components and installed iOS Simulator 12.4. It showed the installation successful and shows simulator with a blue checkbox as it is in.
I killed the Xcode and restarted. However, the Simulator is not showing up in the List of simulators for some reason.
Anybody have come across such an issue before?
Thank you in advance!
After updated Xcode to 7.1
iOS Simulator looks weird as the picture.
Does anyone had the same problem like this?
I can't specify which version of iOS when debugging via the simulator.
After updating xcode 7.1 looking same but you can know which vesion IOS when debugging after running app in simulator ..
Just go to the path:~/Library/Developer/CoreSimulator/Devices
and delete all devices in this folder
Open the Xcode and go to the Devices, add your Simulator.
You have to Manage it from
Window > Device >
Delete all Simulator and Create New Simulator as per requirement
So it just never launches, even without a project when I just want to start the simulator from XCode, all I get is the phone with a black screen in it, the home button will not even work, the screen remains black forever
However if I just go to hardware -> device -> iOS 6.1 to switch the iOS version to 6.1 instead of 7.1, it will launch the home screen, so it must be an issue with the 7.1 simulator that came with the fresh XCode install (5.1.1) And I got the iOS 6.1 simulator using the XCode downloads.
What I tried doing:
iOS Simulator -> Reset Content and Settings..
Restarting the computer
Deleting everything in /Users/xxx/Library/Application Support/iPhone Simulator
Thanks!
I have been having this weird problem with Xcode 4.3.2, of course after the recent update.
After successfully building and running on the simulator several times, xcode seems to not be able to connect to the simulator and can't even stop the project; it's like the simulator does not exist. I have tried:
Stopping the project – doesn't work.
Quitting the simulator – doesn't work, xcode still shows it's running on the simulator even when I quit the simulator.
Cleaning the project – doesn't work.
I have to force quit xcode to get it communicate with the simulator. Nothing else works. It gets quite frustrating to do it every half an hour. This only started with 4.3.2.
I always stop before building and running, so it is not an issue of simulator/xcode getting thrashed by me.
Any suggestions?
I have found by chance, it is not a solution by any means -
When xcode hangs, saying it is running the app, but nothing is on simulator, opening the simulator from the dock by clicking on the dock icon (not using command+tab) seems to work.
It is very weird,but it works; atelast till xcode fixes it.
I had the same damn issue on XCode 4.5.1, but I resolved it just now.
When the program is running, it gets compiled but doesn't show anything on the simulator. just click on iOS Simulator icon in dock in order to bring it to front. Click iOS Simulator on top left -> Reset content and settings -> then force quit the iOS Simulator and run the program again. !!
Besides a restart, there is one other way I've managed to get around this:
Let's say your app hangs, go to the targets selector in the top of the Xcode window and change your sim target to a new SDK (or if you don't have another SDK, change it to a universal app and run on the opposite device simulator).
Then, when your app loads on the new device/OS completely, quit the sim, change your targets back, et voilà!
Uninstall application from Simulator and again run. Then it will works fine :)
This has frustrated me for -years- now but stumbled across what appears to get things going again for me:
Hide the simulator (iOS Simulator -> Hide iOS Simulator) or Cmd-H, then reopen the simulator.
The problem seems to happen when something CPU intensive is happening in the background (like a Time Machine backup) on my old 2 core MacBook.
Xcode 4.6.3 update (June 13, 2013) resolves the following issue:
Hang when debugging in iOS Simulator on OS X 10.8.4. 13722320
https://developer.apple.com/library/mac/#releasenotes/DeveloperTools/RN-Xcode/
You can try to update your Xcode to see if that works for you..