I use Xcode 7.2. I click Build to run the iPhone 6 PLUS simulator in Xcode it tells me "running app on iPhone 6 Plus". The simulator icon appears and it either just jumps up and down and never stops. Or it stops jumping I open it it's a black simulator screen with a white apple symbol. Then I wait 5-10 minutes and it never loads the app. Sometimes it loads up to home screen in simulator but then again never loads the app.
What could be the reasons for this iPhone simulator not working?
Do you have the simulator open from a beta version? That will stop the simulator from working in a non-beta version (or vice-versa).
I'd also open up Console.app and see if there is anything in the logs with a reason why it might not be running.
Related
I am using Xcode 10.0 on macOs 10.13.6, in past several days I am facing issue on xcode simulator that "Simulator shows black screen always" Even not showing boot screen when device boot or simulator boots
Xcode still shows Launching, Attaching application to simulator
Even XCode shows Running of on Device still black screen
Note: It is not issue of lock button simulator tried it also.
Tried multiple solutions including Simulator > Reset content and setting. ,
Delete Derived Data, Tested on different simulator of different iOS Versions, Checked with multiple Projects
None of above solved my problem, I can run application on only my personal physical Device, Attached Image on links
Before I updated from xcode 6 to 7, it was just right next to the run and stop button.
When i just click on the run button, it opens the iphone 5 simulator and from the simulator's menu, if i choose Hardware > device > iphone 6 plus, it's just completely black. If I try to run the app again, it just says that it's running on iphone 5 in Xcode.
How do I choose a different simulator?? or run on a physical device connected to the macbook?
This worked seamlessly on xcode6 with the use of the device dropdown menu beside the run and stop button. but now, that menu is gone.
Another question: I am unable to find ios9 simulator under preferences > downloads
In one of the pre-versions of Xcode 7 I had the same issue. The problem was, that there were no simulators installed.
Go to Xcode -> Window -> Devices a window will pop up. Click on the plus button in the bottom left corner and configure some devices.
The device selector should show up in Xcode.
Turns out Xcode did not finish downloading. There was an error when I checked the update. I made it complete the download and xcode is okay again
After researching previous topics on this issue, I can't seem to find an answer for my problem.
Xcode Version Version 6.1.1 (6A2008a), OS X Yosemite Version 10.10.2 (14C109)
I just finished creating my first simple application in Xcode using the Single View App template, but cannot get the iOS simulator to get past a blank white screen, no matter how long I wait.
Here's a screen shot of my main.storyboard UI/Assistant editor:
It will however sometimes display the copyright information.
Here's what I've tried already:
Made sure my Main Interface was set to Main (main.storyboard)
Waited for an hour+ for iOS simulator to load and it never did
Tried Reset Content and Settings in the iOS simulator and then tried simulator again
Tried different devices besides iPhone 6 as target devices to simulate and I was able to get the iPhone 5s simulator to display the button, but only the button.
Uninstalled Xcode by moving to the bin, emptied trash, reinstalled from App Store
Now it gets even more strange, If I run the simulator using iPhone 6 as my target device and take a screen shot of my simulation, every object appears normally in the screen shot but NOT in the simulator (still just a blank white screen). Here's that screen shot:
Any help will be greatly appreciated.
I just to upgraded OS X to maverics and to xcode 5.
Now I can't launch my app which was running just fine on iOS 6.1 simulator, now I only see black screen both on simulator (I tried 6.0, 6.1 and 7.1), and also on a real device.
I put breakpoint into main function in my main.m and it is not called.
How can I debug this further? I googled this, and did all suggestions like resetting simulator, reinstalling xcode, deleting /Library/Application Support/iPhone Simulator/* nothing helped.
Also, if I start new app from scratch in xcode it runs fine.
SOLVED: Actually the problem was that debugger was not attaching to the process, so I did not see what was happening (also console showed nothing), and app did stop launching due to some exception in my code.
Double click on the simulator icon on the dock (multiple times if required), sometimes it doesn't attach well to the process of the simulator.
If it still doesn't work, go back to home screen (cmd + shift + h), and touch your app again: XCode should then attach!
My app runs fine on my physical device (iphone 4), it also runs fine on the IOS simulator, but only after the second time I ty to run it from Xcode.
So the sequence in which things are happening is:
IOS simulator closed.
I press "ctrl R" in XCode
IOS simulator starts, app starts but gets no further then the splash screen (does
not crash it just sits at the splash screen)
I press the stop Button in Xcode (app stops running in Simulator)
I Press "ctrl R" again
App starts in IOS simulator and runs like a charm..
If I close the IOS simulator reopen open it from finder and run the installed version, it runs without problems.
Two questions,
has anyone had a similar experience?
am I in trouble when submitting my app to the appStore
Thnx, Sebastian
The problem went away when I removed the majority of my logging messages (I had ton's of them). So either there was an issue with one of the messages or it had to do with the amount of them , hope this helps anyone who experiences the same problems.