Publishing to App Store using older Xcode version - ios

What happens to an app that's published to the App Store using an older version of Xcode?
Let's say we're on Xcode 9 with comes with iOS 11 then I'm publishing the app built targeting iOS 11.
Will people with iOS 12.2+ be able to download the app even-though iOS 12.2+ was not part of Xcode 9?
ps: I know I can have multiple version of Xcode on the same machine so this is not an answer.

As per Apple:
Starting March 27, 2019, all iOS apps submitted to the App Store will need to be built with the iOS 12.1 SDK or later, and support the all-screen design of iPhone XS Max or the 12.9-inch iPad Pro (3rd Generation). All watchOS apps will need to support watchOS 5 and Apple Watch Series 4.
While your app would run fine on any iOS version later than the targeted build version, Apple will reject your submission if not built with Xcode 10.1 or later. That being said, you can set your target version to iOS 10.0, for example, without issue. You do not have to target iOS 12.1, you just need to build with the 12.1 SDK.
See also: App Store Connect Supported Xcode versions

Related

Will deployment to a physical Apple iPhone 8 work on XCODE 13 with Flutter

I am Completely new to the Apple / iOS development and unfamiliar with XCODE . I know that Apple has announced that all apps must be done with XCODE 13 . Would i still be able to connect a iPhone 8 device as I am looking to buy device for Apple development using Flutter
Any advice would be much appreciated as I am completely unfamiliar with Xcode/Apple Dev
Flutter uses Xcode tools to make iOS build, so it is connected to Apple's infrastructure. When you decide to build flutter app you will still need to install the latest Xcode as you may see here.
So to release iOS app you must build it for the latest supported version of iOS operating system. Therefore to test it you need a device which supports iOS 15
According to release notes of Xcode 13:
Xcode 13 includes SDKs for iOS 15, iPadOS 15, tvOS 15, watchOS 8, and
macOS Big Sur 11.3. The Xcode 13 release supports on-device debugging
for iOS 9 and later, tvOS 9 and later, and watchOS 2 and later. Xcode
13 requires a Mac running macOS 11.3 or later.
You can see list of devices which receive the latest iOS updates here
In the long run its quite risky endeavour to buy the oldest device models from the list. (at the moment iPhone 8 not the oldest one with continuation support)

SDK issues for release in Xcode 9

SDK Version Issue.
This app was built with the iOS 11.4 SDK. All iOS apps submitted to the App Store must be built with the iOS 11 SDK or later,
included in Xcode 9 or later. Further, starting March 2019, all iOS apps submitted to the App Store must be built with the iOS 12.1 SDK or later,
included in Xcode 10.1 or later.
I got this issue on release the app to app store.How can I try to solve this?
My development target is 11.4 in Xcode 9
When I tried to change developemt target to 12.1 then I got another more issue

React-Native and xcode 10 - Set Base SDK to 12.1 but compiles to 11

I can't update my app on the app store because it won't compile with SDK version 12.1.
Everytime I try to upload my app I get this message:
SDK Version Issue. This app was built with the iOS 11.2 SDK. All iOS apps submitted to the App Store must be built with the iOS 11 SDK or later, included in Xcode 9 or later. Further, starting March 2019, all iOS apps submitted to the App Store must be built with the iOS 12.1 SDK or later, included in Xcode 10.1 or later.
In my project settings Base SDK is set to ios 12.1
After reading other issues like this, I have also deleted xcode 9 from my computer. But still nothing is working.
Any idea what is forcing my app to compile with 11.2?
After uninstalling xcode 9, I had to re-install xcode 10.

can Xcode & iOS version affected on old project(which is created on Xcode 7.2 iOS 9.0 objective c)?

i dont know about Xcode 8,9 can it support objective c old functions and project?
my project is almost complete but some kind of function not supporting like UIDocumentBrowserViewControllerand etc in iOS 9.0 should i upgrade only iOS version or Xcode also Please anyone help me understand that iOS stuff.
thank in advance
If you intend to ship the app to the App Store, always keep your Xcode updated. You cannot test iOS 11 using Xcode 8.x.
Also, according to Apple's docs UIDocumentBrowserViewController is in iOS 11.
From Apple official site, for app store submission:
Starting April 2018, all new iOS apps submitted to the App Store must be built with the iOS 11 SDK, included in Xcode 9 or later. All new apps for iPhone, including universal apps, must support the Super Retina display of iPhone X.
Updated guideline of App store submission
Your app should be compatible with 64-bit support.

Making iOS 6 apps with an iOS 7 beta device

This may seem an odd question but bear with me. I am all excited to try out iOS 7 beta, however I am developing an app that will be complete before iOS 7 comes out to the public.
So can I install iOS 7 on my device, and then develop and publish my app for iOS 6? Or would I need to downgrade to iOS 6 to develop my app and release it in the next few weeks?
I should add I want to do this because I only have one device.
You cannot release an app that has been built, compiled, or created with the pre-release SDKs and Tools. That means you can't release an app built with iOS 7 SDK features in Xcode 5 until Apple gives the green light for submission. (EDIT: iOS 7 is now public, but this will apply to any future betas - including iOS 7.1 and onward).
On the other hand, testing your app on a beta device is OK. It's not a good idea to test your iOS 6 app on iOS 7, but it will work. You can install iOS 7 beta on your device, but first think about your users. You'll want to test your app in the environment that your users will be using it in.
If you do upgrade to iOS 7 on your one and only device, you'll be stuck with the iOS Simulator - which is very very far from recommended. You can't downgrade or restore to an earlier iOS version from iOS 7.
If you are using the beta version of XCode, be sure to set the target to iOS 6, not iOS 7. When you target a version of iOS, that's the minimum version. You can run an app targeted for iOS 6 on iOS 7.
When you target iOS 6, the compiler will prevent you from including features that require iOS 7.
Still, for testing purposes, you'll want to test on a device with the latest released version. iOS 7 may have bug fixes that iOS 6 does not, so your app may run fine on iOS 7 but have bugs when run on iOS 6. Also, there may be performance differences.
You should test on both the simulator and an actual device, however if you want to risk it, the worst that will happen is your app may be rejected.
Theroretically you should not be able to run an app from Xcode 4 on an iOS 7 device. I was able to do this however, but I'm not sure why. Try deploying your app with Xcode 5 and then redeploy it with Xcode 4. In my case Xcode 4 would deploy to an iOS 7 device if the app is already installed (including all profiles).

Resources