Xcode Cloud to use swift 5.7 (Xcode-14)

Overview

I have an existing Xcode project that works fine with Xcode Cloud

I have a separate branch on to which I have migrated and made changes for Xcode 14 On the same branch I have made some code changes that is supported by Swift 5.7

Example:

var price: Int? = 100
guard let price else {
    return
}

Problem

Xcode code build fails with the error Variable binding in a condition requires an initializer

Question:

  1. Is it possible to build Xcode Cloud on Swift 5.7 or Xcode 14?
Xcode Cloud to use swift 5.7 (Xcode-14)
 
 
Q