Since 2 days, when starting the app in the emulator it opens the app 1/4 of the screen size. iPhone 6 and tested it with the iPhone 6 Plus as well...
even home is quarter-sized
'Cleaned' the project, 'Reset contents and settings' of the iOS simulator. But still not solved.
Quiting and relaunching the simulator did not work.
As you can see in the bottom screenshot changing the scale does not help.
The problem does not apear in version 'Xcode 7 Beta 4'.
I am quite new in iOS. I had the same problem, this is what I did and resolved
1 - xcode 7.1.1.
2 - In the file Inspector, right hand Pane
3 - In "Interface Builder Document", I chose Xcode 5.1; the one I used to do programming before El Capitan and new Xcode installed.
Use this key it may solve your problem
⌘+1 for 100%
⌘+2 for 75%
⌘+3 for 50%
I should first point out for others that this is a simulator/Xcode problem not an app problem, as the simulator also displays the issue when you are in the simulator menus (Apple's menus).
Now the actual workaround, which can take several tries:
1) In the simulator "Menu bar" (the "iOS simulator" top bar, next to the Apple symbol to log off the machine - so not XCode's), select the hardware you want to use (e.g. "hardware > iphone 6"), and cross your fingers.
2) Wait for the Apple home screen to appear in the simulator:
If home is NOT full screen, then switch to another hardware (any can do - you could switch between 6 and 6 plus), wait for the menus to appear and then go back to step 1 (or to be clear: you need to switch back and forth between the hardware you want and another random hardware until you have the simulator full screen)
If home is full screen then go to step 3, you're fine for now and can do your testing (pressing "test" will use the current full screen simulator)
3) Make sure XCode and the simulator are testing/running the same "iPhone" version (otherwise XCode will invalidate all your efforts by restarting a new simulator).
So if you have managed to make an "iPhone 6 plus" simulator full screen, make sure in XCode "iPhone 6 plus" is selected at the top near the "run project" play button so that XCode does NOT restart the simulator for you.
I would say it takes me between 30 seconds to 2-3 minute to get a working simulator this way.
If you don't switch sizes often and can leave your simulator opened, it is actually not that bad.
(PS: tried and tested at least 10 times now)
The issue seems to be solved after I installed the Xcode 7 beta 5 (next to the 6.4)
Related
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
Since 2 days, when starting the app in the emulator it opens the app 1/4 of the screen size. iPhone 6 and tested it with the iPhone 6 Plus as well...
even home is quarter-sized
'Cleaned' the project, 'Reset contents and settings' of the iOS simulator. But still not solved.
Quiting and relaunching the simulator did not work.
As you can see in the bottom screenshot changing the scale does not help.
The problem does not apear in version 'Xcode 7 Beta 4'.
I am quite new in iOS. I had the same problem, this is what I did and resolved
1 - xcode 7.1.1.
2 - In the file Inspector, right hand Pane
3 - In "Interface Builder Document", I chose Xcode 5.1; the one I used to do programming before El Capitan and new Xcode installed.
Use this key it may solve your problem
⌘+1 for 100%
⌘+2 for 75%
⌘+3 for 50%
I should first point out for others that this is a simulator/Xcode problem not an app problem, as the simulator also displays the issue when you are in the simulator menus (Apple's menus).
Now the actual workaround, which can take several tries:
1) In the simulator "Menu bar" (the "iOS simulator" top bar, next to the Apple symbol to log off the machine - so not XCode's), select the hardware you want to use (e.g. "hardware > iphone 6"), and cross your fingers.
2) Wait for the Apple home screen to appear in the simulator:
If home is NOT full screen, then switch to another hardware (any can do - you could switch between 6 and 6 plus), wait for the menus to appear and then go back to step 1 (or to be clear: you need to switch back and forth between the hardware you want and another random hardware until you have the simulator full screen)
If home is full screen then go to step 3, you're fine for now and can do your testing (pressing "test" will use the current full screen simulator)
3) Make sure XCode and the simulator are testing/running the same "iPhone" version (otherwise XCode will invalidate all your efforts by restarting a new simulator).
So if you have managed to make an "iPhone 6 plus" simulator full screen, make sure in XCode "iPhone 6 plus" is selected at the top near the "run project" play button so that XCode does NOT restart the simulator for you.
I would say it takes me between 30 seconds to 2-3 minute to get a working simulator this way.
If you don't switch sizes often and can leave your simulator opened, it is actually not that bad.
(PS: tried and tested at least 10 times now)
The issue seems to be solved after I installed the Xcode 7 beta 5 (next to the 6.4)
Yesterday I tested my apps login features on my physical iPad mini as well as all Xcode simulator devices. Bizarrely when I go to retest today, theUITextField doesn't popup at all for the iPad Air simulator, the iPad 2 simulator, the iPad retina simulator, the iPhone 5 simulator, or the iPhone 4s simulator. But the keyboard shows up on my physical iPad mini, the iPhone 5 simulator, the iPhone 6 simulator and the iPhone 6 + simulator.
Keep in mind I just tested all these devices not even 24 hours ago with the keyboard working fine. I even restarted my laptop but still the Keyboard doesn't popup even though its been explicitly set as the first responder since I started building this app.
Whats going on?
Additional info: my deployment target is 7.1 but I noticed above the simulator reads 8.2. Either way whats going on here? Should I just keep building and hope this is a glitch on my laptop? (I really need a new one anyway due to abrupt crashes) but i can't help but notice that even though I back up my app, there are weird spontaneous changes sometimes at runtime.
Does anyone know the cause of this? (specifically the keyboard incident) Also the most recent changes I made to the app was the answer to this question Detect iPhone5, 5s, 6, and 6 plus
you can connect keyboard by iosSimulator Hardware menu -> Keyboard -> Connect Hardware Keyboard.
CMD + SHIFT + K will open the keyboard
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.
Since a few days ago, my iOS Simulator has only been showing the bottom left part of the screen, as you can see in this screen shot:
iOS Simulator
It makes no difference if I am in an App or not, it's always only the bottom left which is shown. I don't know what caused it or since when exactly I had this issue. I am on the latest OS X 10.10.2 beta seed, and the issue exists on both Xcode 6.1.1 and the latest 6.2 beta, and on the simulators 7.1, 8.1 and 8.2 beta.
Here are things I've already tried:
"Reset content and settings" from the iOS Simulator menu
Scale -> 100%, 75% and 50%, all with the same issue
Delete DerivedData and other Xcode caches
Delete all Simulator-Devices and recreate them from Xcode
Use resizable Simulator
Restart Xcode, the Simulator and my rMBP
Combinations of all of the above
Had the same problem with XCode8, OS8 and OS9.
Goto Window > Scale and check 100%. iPhone will become full screen again, iPhone sice however might be larger than your computer screen.