See the similar discussion at Minimum iOS version, Xcode 12 and build warnings