Adding iOS 14 beta support in our application releasing this August

Our iOS app release is planned in mid of this August (before iOS 14 public and Xcode 12 GM release which is expected to be released in September).
As per iOS 14 beta, have used below code to handle few scenarios to support my app in iOS 14.
  1. Added below key to my application's Info.plist to prevent the automatic alert to update the users limited photo library selection in iOS 14.

PHPhotoLibraryPreventAutomaticLimitedAccessAlert = YES

2. Used below to handle few scenario.

if (@available(iOS 14.0, *)) {}

As per this link : https://developer.apple.com/support/beta-software Apps that are created using beta versions of Xcode or that are built for beta versions of an OS will not be accepted on the App Store.

I would really like to know if the above code snippet will cause app rejection? If in case yes, what would be the alternate way to handle iOS 14 support.


You won’t get to the rejection stage. The App Store won’t accept binaries built with Xcode 12 until the golden master has been blessed by Apple. That’s usually not until a week or two before the final public release of the OS.

You can only submit production builds using Xcode 11.
Thanks for your response!

I am using Xcode 11 only to submit production build.

My worry is about the above two code snippet I used to support iOS 14 should not cause app rejection.
Could you please confirm on this?
Adding iOS 14 beta support in our application releasing this August
 
 
Q