How to create screenshots for itunes from my ios app [duplicate] - ios

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

Can't create iOS simulator

I am trying to create an iOS simulator with iOS 10 on iPad 2.
I went to the dialog which allows us to create new simulators, Then I entered the simulator's name
and the device "iPad 2" in my case.
Now, time to chose an operating system. Since iOS 10 wasn't available by default, I checked the download option on the left and downloaded the version I wanted.
I downloaded iOS 10 as shown below. :
But when I go back to select the OS I downloaded for my emulator, it doesn't even appear in the drop down.
The same goes for every other simulator I tried to create.
Please does someone know what is wrong ?
Max iOS for iPad 2 is iOS 9.x
Best option is to use a device.
If you really want an iPad 2 simulator, you'll need to use an older version of Xcode.

how to run app on xcode 7 simulator or device?

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

iOS simulator only shows app in a quarter of the screen

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)

iOS Simulator displaying white screen (only in simulator, screen shot shows UI)

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.

iOS Simulator only showing bottom left quarter of the screen

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.

Resources