by ryandrake · 1y ago · 0 comments
Go to the App Store on an iPhone 7 and every app will refuse to install because it requires the latest and greatest OS even though they used to work just fine on the old OS. They deliberately drop support even when they don’t have to. Total shitty behavior.
I gotta throw away my phone because you, Mr. Developer, can’t be bothered to keep the old code around for backward compatibility.
And additionally, even if there once was a compatible version, Apple only lets end users download it if they have previously purchased/downloaded the app.
In my opinion, this is almost fully Apple's fault
There aren’t requirements to update the minimum. They’re independent. There might be limitations on what APIs are still available though in Xcode if they’re removed after a deprecation period however.
You can use the latest SDK, and if you don’t use any new APIs, your app will continue to deploy to whatever minimum you have set.
If you want to use the new APIs, you can put their use behind availability checks.
It’s just that at some point, as a dev, you want to stop testing on older devices and you want to stop branching your code for OS versions that are a minuscule fraction of the active user base. The ROI changes quickly.
The App store requires you to link with a minimum SDK version, but the minimum supported version is set independently by the developer in Xcode. The latest version of Xcode + the latest SDK can still support devices running iOS 15. Developers are deliberately choosing to drop such support. Or maybe they just don't know how, as evidenced in this thread.
TL;DW
1. you must use current Xcode to submit to the App Store
2. Current Xcode only supports a short list of the most recent iOS SDKs as targets
3. Therefore you can’t make a build with an older Xcode to submit, and you can’t make a build that supports say, iOS 15, with current Xcode.
The video highlights a complete hack which can for now be used to make builds that target older SDKs, but Apple could change their systems to break that at any time, and in fact the latest iOSs don’t use these device support files that he shows are the key to the hack. So while you can do this now for old iOS, when 26 is too outdated for Apple to want you to target, this hack won’t work to bring it back.
If you’re writing an app that targets the newest hardware features, say because you’re making a camera app that uses the latest updates, it’s not going to run on iOS 5. You can’t hold that against app authors, or even against Apple, really. There’s not a lot of return on investment for sinking thousands of dev hours into supporting ancient phones that almost no one uses, and which by definition are more likely to be used by people who won’t spend a dime on apps or services.
In some cases (such as with Google Play), app stores will even unpublish apps that were built with old versions of the SDK.
In other words, if you want to update your app at all, you have to stick to the rules that they provide regarding SDK versions.
[0] https://developer.apple.com/news/upcoming-requirements/?id=0...
I'm sorry for being unclear.
Yes, it is I, Mr Developer, that decided that every year the minimum XCode version / SDK Version must be raised