I've built an app for iOS 8 with xCode 6. The app is already on the app store. How can I make it available for people who are still using iOS 7 or even 6?
if you change iOS deployment target 8.0. then people has os lower then 8.0 not able to download this new version.
to available for them ,you have to set iOS deployment target to 6.0 or 7.0.
Related
I currently have XCode version 8.2.1.
On my iPhone, I currently have iOS 10.3.2.
My version of XCode will not deploy to anything over iOS 10.2.
On my iPhone, I am being offered an upgrade to iOS 11.0.3.
According to this wiki here, XCode version 9 will deploy to iOS 11.0: https://en.wikipedia.org/wiki/Xcode#9.x_series. But I can't tell whether this includes all the sub-versions, eg 11.0.3.
So my question is, if I get XCode version 9 and upgrade my phone to iOS 11.0.3, will I be able to deploy to my phone from XCode? How do I tell exactly which versions of iOS are supported by each version of XCode? And going forward, how can I ensure that my iPhone and iPad always have versions of iOS which I am able to deploy to from XCode?
Yes, you will be able to deploy to your phone.
While you need Xcode 9 and not 8 to program against iOS11, this question has more to do with the Base SDK and Deployment Target settings in your project.
The Base SDK is the SDK version you are compiling against. In Xcode 9, this could be iOS11, for example. The Deployment Target setting represents the lowest supported iOS version the app will run on. This might be iOS10, per your example, but it could be anything else.
To use the newest iOS11 features, you'd have to have a minimum Base SDK of iOS11. To support older platforms, you must make sure the Deployment Target is set to the oldest version you'd support. In code, you need to check the version of the platform when deciding to use a newer-than-Deployment-Target feature.
if I get XCode version 9 and upgrade my phone to iOS 11.0.3, will I be able to deploy to my phone from XCode?
Yes. Xcode 9 and iOS 11 are both the latest (as of Oct. 2017) versions available. If you want to support iOS 11, you need Xcode 9.
How do I tell exactly which versions of iOS are supported by each version of XCode?
Check the release notes. For example, the Xcode 9 Compatibility section says:
Xcode 9 includes SDKs for iOS 11, watchOS 4, macOS 10.13, and tvOS 11
And going forward, how can I ensure that my iPhone and iPad always have versions of iOS which I am able to deploy to from XCode?
Staying current with the latest iOS and Xcode versions is one way to do that. You don't even need the latest iOS version on your phone -- just any version that's later than the minimum version supported by whatever Xcode you're using. Looking at the list of available deployment targets, I can see that Xcode 9 deploys to iOS versions back to iOS 9.1.
Mostly, just be aware that updating iOS on your phone may require you to also update Xcode.
I am developing an iOS app for iOS 6.0 and higher. Now, after updating Xcode from Mac App Store, I am told that "An iOS Deployment Target earlier than 8.0 is not supported by this version of Xcode.". So, it seems that I need to use another version of Xcode to develop this app.
I can download other versions of Xcode from https://developer.apple.com/download/more/. What is the highest version of Xcode that supports iOS 6.0 as the deployment target?(I just mean the deployment target, not the capability of installing iOS 6.0 simulator.) I don't want to download many Xcode versions to find that.
You can use latest Xcode for this do not select deployment target from dropdown, just manually input "6.0" in the "iOS Deployment Target" text box.
For more details you can go through here.
I have also upload one of my app that use iOS 7.0 from latest Xcode.
iOS 6 is supported in Xcode 7.x .
My suggestion is that,you may need to provide support for just 2 of previous versions of iOS 10, ie. iOS 8 and 9. If you take a look at the usage graph, it is evident that only 6% are using versions earlier than 9. That too, will have major contributions from iOS 8 and 7.
I was working on Xcode 6 and now upgrading to Xcode 7.
Would I be able to build iOS 8 iPhone app using Xcode 7? Or do I have to use Xcode 6? Are there any restriction or compatibility issues that I should be aware of? Will I be able to deploy this build or release it to the App Store?
Yes, just change the deployment target of your app to 8.0:
There are no restrictions or compatibility issues, other than not being able to use any iOS 9 APIs in your app should you chose to target a lower SDK level.
You can set the Deployment Target to 8.0 in Target->General->Deployment Info. Xcode 7 will allow you to take advantage of many new features and still target iOS8 bearing devices.
I have a iOS 7.0 app, I need it run perfectly on iOS 6.1. I have download the iOS 6.1 simulator, and I have the iOS 7.0 sdk as the base sdk. If I want my app to run perfectly both on iOS 7.0 and iOS 6.1 do I have to set the base sdk as 6.1? or keep iOS 7.0 as the base sdk and just run this app using iOS 6.1 simulator. I know I should the set the deployment target as iOS 6.1 so It can work on iOS 6.1. I just don't know how to set the base sdk. Can anybody explain me the base sdk and deployment target?
The base SDK defines which functionality you can use in your apps. As of today 2014-03-31, you can't submit applications that have a Base SDK set to iOS 6 anymore. You need to compile your apps with the 7.0 base SDK.
The deployment target describes the lowest iOS version your app will run on, so in your case it's 6.0.
If you're using iOS 7-only features, you'll have to implement runtime checks, largely based on -respondsToSelector:. That'll allow you to gracefully degrade on old versions.
Set the base SDK to be always the latest, be it 7.0 or 7.1. Your app is compiled using that sdk and therefore newer SDK compatibility and functions are applied to your project.
setting Min Deployment target allows compiler to check for API methods compatibility with that OS version in mind.
Hope it clears up your doubts.
I am using Xcode 4.5. I developing an iOS app, I am targeting iOS 5.1.
I want to change the Base SDK to iOS 5.1, but it only displays iOS 6.
Where have all the others go?
You should always use the latest SDK. If you want to target older iOS versions, change the Deployment Target setting to the minimum iOS version you want to support.