iPhone simulator is running on my Mac but it's not showing the simulator. Two days back I had installed the Mac OS X 10.5.6 update. Xcode is launching the aplication in simulator, and it's running, as I can see the outputs on the gdb console window. But the simulator is not shown.
Try to remove ~/Library/Preferences/com.apple.iphonesimulator.plist
Had the same issue. The simulator was running somewhere way off screen. Could see it using expose, but couldn't move it.
Rather than using "Detect Displays", which didn't work for me, I changed the screen resolution and that popped it back into place.
Have you previously had an external monitor connected? Perhaps Mac OS X saved the simulator window off-screen the last time it was run?
In the System Preferences, select Displays and click the "Detect Displays" button while the simulator is running. That should force the simulator window to appear on-screen.
Nothing worked except the good old IT joke, Turn it off & on again! (Completely restarting the whole machine worked for me).
Related
I have a problem with Xcode 4.4.1 .
My Simulator becomes translucent black and hangs without any proper log message when I pressed a login button of my application after app launch.
Sometimes application or Simulator hangs just after the launch when I pressed the button or Sometimes it hangs after few second I request a network call with in application.
No pattern .. no message to trace. Tried many things like Xcode restart ,System restart and Clear logs and deleting temporary iPhone Simulator files in Library like that .
I am not able to get what is happening . Does anyone suggest me solution to get out of this.
Or Does somebody know the reason why this is happening. I mean its the application problem i.e in code or the Xcode or iPhone Simulator App problem.
Any help would be really appreciated.
I faced the same problem last day. I got it working after I have done the following, not sure which step did the trick.
Reset the simulator contents.
Quit simulator
Delete derived data of the project from xcode.
Restart xcode.
I am developing an application in Blackberry 10. I have installed QNXMomentics for development, and Dev alpha Simulator for debugging. For running application in QNX need to specify the IP Addess from device or simulator. But on my simulator it does not showing the menu, Only the welcome screen is showing in the simulator , What the problem here
In context of your problem, Richard gives you idea about how to connect you simulator or device to your IDE you can find out one more option there is AUTO DISCOVER.
On startup of your loading your simulator on VM player their are two option for selecting screen type:
BB10DevAlfaKeyboard
BB10DevAlfaKeyboardSafe
Try 2nd option.
(*This setting for simulator debug only)
Your blackberry simulator device get stuck on welcome screen, I think this happens because of your PC hardware configuration little bit low, for first time it will take time
you have to wait till you didn't get HOME SCREEN of your BB Os 10 on your simulator.
On the simulator home screen, at the top, near the time you should see an icon that looks like a person with a gear inside. Selecting that icon will show you the IP addresses assigned to the device.
Or Run->Debug configuration...->Add new target->auto discover
I've some issues with the Xcode 4 debugger. While it was working fine before, now I can't run more than 1 build before restarting my xcode. When I run a second build for example after changing some codes the debugger could take like 30 mins and more before showing "build succeeded!" with iphone simulator launch. And in such cases, pressing "stop" button does not stop debugger. So, I've to close xcode and start it again. Now, after many xcode restarts I'm fed up especially as I don't know why it happens. Any idea to help ?
the simulator could still be running, chewing up a large chunk of your CPU, interfering with the compile, and the app restart inside it. Stop your app in the simulator before re-compiling. There must be a way to configure that, but i dont know it. Hope that is your issue (i have had it).
ps. state your config next time (Dev box specifics, XCode version, simulated iOS version).
Whenever I re-run my application by selecting the run button in xcode for, it says simulator already in use. So I have to stop it every time before re-running.
So my question is, is there any option or setting to avoid this. I want to run the application without stopping it like we used to do in xcode 3.
The issue is that pressing the Home button, even in the simulator, does not stop your app under iOS 4. You can either stop your app in the debugger, or in the simulator, or you can modify your app such that it doesn't run in the background. See Opting Out of Background Execution.
In Application PLIST file, we have a flag of “Application does not run in background”.
If you set this flag to “YES” and press home button, application will not maintain its status or perform any background tasks.
This is a bug in Xcode 4 which occurs sometimes. Usually you can make it go away by quitting the Simulator and restarting Xcode. If that still doesn't fix the problem, I would report the issue at bugreport.apple.com and see if the engineers at Apple can help.
iPhone Simulator is version 4.0 (211.1)
I know, this is a weird question for S.O., but I figured if anyone has seen this, it would be someone here.
I have a MacBook Pro with a 22" lcd attached. I run the 22" as my "main" screen with the dock and I use the MBP's display as a secondary.
I want the iPhone Simulator to run on the actual MBP's screen, so the first time I ran it and it popped up on the 22", I dragged it over to the MBP screen. But now, whenever I launch iPhone Simulator, while it does show up on the MBP screen, it's half way off the screen and I have to drag it up. Here's a screenshot: http://tinypic.com/r/2iw7m2t/4
I tried removing the simulator's .plist, which put it back on my main screen as it should, but the same thing happens when I drag it back to where I want it.
I assume this is all due to running a 22" at 1920x1080 and the MBP 13" at 1280x800, but it doesn't change the fact that it's no bueno.
Any ideas?
I was having this same problem. I closed the simulator, ran rm -f ~/Library/Preferences/com.apple.iphonesimulator.plist restarted the simulator and moved it to the position that I wanted. Closed the simulator and the values of "NSWindow Frame iPhoneSimulatorWindow.0.0.500000" had changed.