How can I add iphone Xs max in xcode? - xcode

I am trying to add more other iPhone here such as iPhone Xs MAX, iPhone 12 and 13 etc. I can manage to do in simulator but i can't not do on my button left tap.
I did try to go to device tap but it only shows my only tester phone. I am running Xcode on the latest Version 14.2 (14C18), and my Macbook is on Monterey Version 12.5.1.

Since new generation of Xcode they cut a lot of iphones devices becauses they have similar screens and sizes
for example:
iphone 11 pro Max has the same size as Iphone Xs Max
you have here all the information about that 👇 hope it helps you!
https://developer.apple.com/design/human-interface-guidelines/foundations/layout/

Related

How to add simulator iPhone XS in Xcode 9.2 also iPhone XS max

I need to build my app on an XS device. I am using Xcode 9.2.
How can I add the XS modal in my Xcode externally?
In my simulator I have up to iPhone X.
My machine Version:
OS X version: 10.12.6 (16G29)
Xcode version: 9.2
Simple solution:
Open Xcode.
Select the "Window" menu.
Select "Devices and Simulators".
Select Simulators tab.
Click on the "+" icon at the left bottom.
Choose the desired device & preferred iOS.
Click "Create".
Enjoy :).
For those here with the same problem but for Xcode 10.x and need iOS 13 simulators (iPhone 11, for instance) do the following:
Install and open Xcode 11
Go to Xcode menu > Open Developer Tool > Simulator
On the Simulator app, go to Hardware menu > Device > iOS 13 to select and run your desired device
Now you can close Xcode 11, and open Xcode 10.x
You should see your i.e iPhone 11 simulator available in the Device List as the image:
In Xcode go to Window > Devices and Simulators
Here click on the simulators and then click on '+' to add a desired device.
Update 2020
Open xcode simulator
File > Open device > select your desired device.
for that u need to upgrade your xcode version to xcode 10, thats not available for xcode 9.2
For Simulator iPhone Xs 13.3 is not available by default in simulators list, So we would have to create it.
Steps :-
•Xcode Menu -> •Open Developer Tool -> •Simulator ->• Hardware -> •Device -> •Manage Devices -> •Simulators -> •Left Column -> •Click on + to create your device -> •Add Simulator Name (possibly iPhone Xs 13.3)…Device type to be iPhone Xs and OS Version iOS 13.3 -> •Create
Your New Device will be available in the list of Devices.
Similarly we can create other devices too.
[xcode]
iPhone XS simulator is available on XCode 10 and above.
We can’t able to create a iPhone XS simulator on below XCode 10
But we can add
iOS 12.0 simulators in XCode 9.3

The iPhone 4 and iPhone 4s simulators disappeared after upgrading to Xcode 8. How do I get them back?

I have these iPhone simulators:
iPhone 5
iPhone 5s
iPhone 6
iPhone 6 Plus
iPhone 6s
iPhone 6s Plus
iPhone 7
iPhone 7 Plus
iPhone SE
What happened to the iPhone 4 and iPhone 4s?
1) You have to download at least iOS 8.x, 9.x SDKs to be able to run iPhone 4S simulator.
2) Your deployment target should remain at least 9.x to see iPhone 4S simulator in the list of offered simulators in your project.
I have an Xcode 8 and these simulators available:
Xcode 8 includes simulator from iPhone 5 & higher with default deployment target 10.0, but you can add a new simulator.
1.) Change "iOS Deployment target 10.0" to 9.3
2.) In "iOS Simulators" Choose Download simulators
3.) Simulator downloading like this:
Select the simulator that you will need.
4.) Wait for it to be downloaded.
5.) Add new simulator.
6.) Enjoy =D
iOS10 will not support iPhone 4 or iPhone 4s. Hence it's removed by apple from Xcode8.
If you still want to use 7.1 ( copy the disk image from Xcode 7 ). This will work but not sure if it's allowed to do so .
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/7.1
I have found a quick solution - use an iPad simulator. It mimics screen size of iPhone 4.
If you have a universal app - disable this feature temporary (open your target -> select 'General' tab -> scroll down to 'Deployment Info' section -> click on 'Devices' dropdown -> select 'iPhone').

Xcode 8 beta 6 - App image broken in iOS 8

I have Installed Xcode 8 beta 6 and deployed the app into iOS 8 - 10 device to test.
I found some app images are broken in iOS 8 device (Please refer to the image shown below)
It works perfectly fine in iOS 9 and iOS 10
Is it a bug from Apple? Anyone having the same problem? Many thanks.
Possible duplicate to : Xcode 8 simulator ios 8 image get distorted
Update: Xcode 8 GM build fixed this problem
I'm having the same issues too. I found that the same image on iPhone 4s was distorted but not on iPhone 6s. So I then tested it by disabling the 1x and 2x asset for the same image. It then started working on iPhone 4s. I hope Apple fixes this issue in the gold master.
Same here! There is a pending bug report in the other ticket, hopefully Apple will react and fix this in the next Beta iteration.
This issue is back in Xcode 9.2
https://developer.apple.com/library/content/releasenotes/DeveloperTools/RN-Xcode/Chapters/Introduction.html#//apple_ref/doc/uid/TP40001051-CH1-SW936
"Workaround: Build the app using Xcode 9.1, or use Xcode 9.2 and set the deployment target to iOS 8.4 or later."
Another more involved workaround is to delete the image from Images.xcassets and add the image(s) back in directly to the bundle.

Xcode 6 with iOS 8 SDK: no Devices in Organizer

OS X 10.9.4
Steps:
Install Xcode 6 w/ iOS 8 SDK GM Seed
Run Xcode
Go to Window | Organizer
Devices not available
End result is I can't update device with iOS 8, so can't test properly or create binaries. Tried with iTunes as well. See attached for screenshot.
Has anyone had this problem? If so, were you able to fix it?
It is now in Window > Devices. See image below:

Where can I find iOS 13 simulators for iPhone X, Xs, Xr to test Dark Mode?

I need to make screenshots for 6.5" screens in iTunesconnect. I want to show them in dark mode. However, the only iOS 13 simulators in Xcode 11.2 seen to be for iPhone 8.
Where can I find simulators for iPhone Xs with 6.5" screens running iOS 13?
Go to Window -> Devices & Simulators (or press ⇧⌘2)
Check if there are some iOS simulators on the list - if yes, then select checkbox Show as run destination:
If these simulators are missing, you can click + button on left bottom corner and create new simulator:

Resources