Xcode 6.0.1 Minimum iOS deployment target - ios

I am making as iOS app on Xcode 6.0.1 with iOS SDK 8.0. On simulator front I can see long list back till iPhone 4s but deployment target selection till 6.0. I want to confirm my app will work on the iPhone4s and above versions.
I am noob to iOS so please bear with me.

The Deployment Target is the minimum OS version you support. You must support all versions including and above your deployment target. So yes, not only will your app work with iPhone 4S and newer phones, but you actually must support those phones.

Related

Xcode 10.3 where are the other iOS versioned simulators [duplicate]

I have the Xcode Version 6.0.1 (6A317) on Mac OS X 10.9.5 with all iOS 8 simulators. I have also downloaded the iOS 7.1 simulators.
I am developing an app for iOS 8 and iOS 7.
The problem I encounter is that Xcode 6 doesn't show the iOS 7.1 simulators in the devices menu. At some point it did show them but on my newly created Xcode 6 project it does not.
I was looking at some stackoverflow solutions.I have addded the iOS 7.1 simulators Window - Devices - SIMULATORS. They are also checked with "Show in the Run Destionations Menu",however they are not shown.
I found a workaround by setting the Project and Target Deployment Target to 7.1. However, this is a stupid solution since for every test I need to manually switch them forth and back 7.1-8.0
This is my first ipad app and it worked perfectly under Xcode 5.1.1. iOS 7 and iOS 8 (CREATED UNDER Xcode 5.1.1.). Now I have created a project in Xcode 6.0.1. and the project doesn't have the simulators showing correctly and 95% of the app doesn't work.
I am new to iOS development but I suppose that this is a bug, but I am unsure. Please help.
The deployment target is the minimum OS version you intend to support.
As you stated, you need to set the deployment target to 7.1 in order to see the 7.1 simulators. If your deployment target is 8.0, the 7.1 simulators will not be available in the run destinations menu. This is the correct behavior because you can't run on iOS 7.1 if your deployment target is 8.0.
I already had deployment target 7.0 and simulator still wasn't available for 7.1.
I fixed the issue though by going into Xcode preferences, selected Downloads and re-downled the missing 7.1 simulators under 'Components'. Although I previously had 7.1 simulator, the Xcode 6 upgrade had seemed to remove them.

Updating testing iPhone 6S to 11.1?

I saw that iOS 11.1 has been officially rolled out but I still see "deployment target" in Xcode to support up to iOS 11.
Does that mean that if I update it to iOS 11.1 I won't be able to test my apps on it? Is that what It means or I interpret it wrong?
So some quick information on deployment targets:
Lets say you have set minimum deployment target to iOS 9. This means your application is compatible for iOS 9 and above devices.
The application won't run on below 9.0 devices but can run on any iOS version greater than iOS 9.0. Article here
I tested this and it DID NOT work unfortunately. I was running the latest Xcode and just updated my phone. You should wait until Xcode officially supports iOS 11.1+ before upgrading.

How to set up Xcode 9 for iphone 4 and iphone 4s development?

At a loss here. I have to test an app on iphone 4 devices as well as newer ones. Can anyone advise me as to how to set Xcode 9 up to support ios 7 as a deployment target as well as up to the newer versions of ios? So that I can use iphone 4 simulator and later test on the iphone 4 device?
Can anyone advise me as to how to set Xcode 9 up to support ios 7 as a deployment target as well as up to the newer versions of ios?
The advice is simple: You can't. (Okay, maybe you can, with some sort of elaborate hacking; but don't.)
There's no problem running multiple versions of Xcode, so use an earlier version of Xcode to test on iOS 7. This will be tricky, because your project may not be easily backward compatible from Xcode 9 to an earlier version of Xcode, but it's your best hope. (Either that, or do what Apple really wants you to do: abandon backward compatibility beyond iOS 8.)
Since iOS 9, Apple has stopped support of iPhone 4S.
To work with iPhone 4S with Xcode 9, you need to set Deployment Target for your build (TARGET) below iOS 9.0
Follow these steps to work with iPhone 4S with Xcode 9:
Select your Project (Root) >> TARGET >> Tab 'General'
Set 'Deployment Target' to 8.4
.
Now open Simulator List, You can see, iPhone-4S is there to work with it.
I suggest to work with latest stable version of iOS (iOS 10).
Using latest xcode, you do not need to worry about supporting latest iOS version even if you choose lower deployment target which determines the app's backward compatibility.
It is a good idea to support the backward compatibility as far as your code is not depending on latest APIs and frameworks. The only reason for backward compatibility is to maximize the user base as not everyone (specially elders) update their iOS version regularly.
WARNING:
If you choose lowest possible deployment target (8.0), some newer features and frameworks won't be able to behave as expected which increases the chances of app crashes in older iOS versions.
Currently, we are using Xcode 10.1. AND Xcode 10.1 supports iPhone4s.
(Please don’t confuse Xcode version (10.1) with the (iOS 10.1).
Xcode is an IDE which can have backward iOS SDK support.
The latest iOS we updated on our iPhone4s is 9.3.5
To test your code on device, you can simply connect an iPhone4s or you can download a simulator with iPhone4s support (9.0 or so)
To download additional simulators you can go to xcode > preferences > components Once the simulator is installed, the option for iPhone 4s would be available for testing.
TIP: We have been using Deploymate for maximum backward compatibility and support. It warns us about deprecated methods and this is where you start modifying your code to support the lowest iOS version with confidence.

iPhone app developed in Xcode 5.1.1 what minimum version it will work on

I have developed an app on Xcode 5.1.1 with minimum version of iOS set as 7.1. I am getting ready to submit this app to apple. But i can only set minimum version up to 6.0. My question is will my app work for someone with iOS verion 4.0 when they download it from app store?
You just need to set the deployment target on the project, but that will not be your problem. You need to develop your app from the beginning using a real device with the minimum target os version installed.
To target iOS 4.3 you can't use the following:
Storyboards (iOS 5)
AutoLayout (iOS 6)
Collection Views (iOS 6)
...
Apple pegs iOS 7 distribution at 74%, iOS 6 at 22% so 96% of all iOS devices are running iOS 6 or better. Over 700 million iOS devices have been sold. It is really not worth the development effort to target anything less then 6.0 and many would argue to target 7. You need to fully test your app on a device running each os version your target.
I think device with iOS version <= 6.0 cannot download your app from AppStore :)

iOS app for iPad I (and iOS 5.1.1)

We are making an iOS iPad app, that needs to work on iPads 1, which means that it has to work on iOS 5.1.1 as this is the latest iOS version supported on them.
Does this mean that the target for this app needs to be 5.1.1?
Is there a way to install iOS 5.1.1 simulator into Xcode so far I have only been able to add 5.1.
Are there any 'tricks' that need to be done to get Xcode 4.5.2 to prepare iOS 5.1.1 apps?
Thanks in advance.
Yes, but it can be as low as you want it to be (target iOS 4.3 for all Xcode cares).
No, iOS 5.1.1 was not released as a new simulator (bug fix builds are rarely sent out to developers as new simulators).
Just link to the highest possible SDK and set the deployment target correctly, and you should be fine.

Resources