IOS app works on testfligth but rejected on review accusing of Beta version of XCode. But my XCode is 14.1

I have seen several posts around the internet from years past with complains of such a problem, the review is rejected with :

"ITMS-90111: Invalid Toolchain - Your app was built with a beta version of Xcode or SDK. Apps submitted to the App Store must be built with the GM version of Xcode 10.1 and the SDK for iOS 12.1 and watchOS 5.1, Xcode 7.1 and the SDK for tvOS 9, or Xcode 6 and the SDK for macOS 10.9 or later. If you are using an Xcode beta version to test your app, make sure you are using the latest supported version. "

My XCode is 14.1 and I am using github Continuous integration to build it. Any hint on how can I track what is wrong? Each and every post I found on the subject ended either without any answer or just saying to wait for apple to fix it.

Updating the issue. I have tested it with all 3 versions of the XCode available in the continuous integration 14.1, 14.2, 14.0.1. All of them got the same Error. Scattered in the internet I saw people suggesting to prune anything not essential in info.plist. I have done it and the error continues.

IOS app works on testfligth but rejected on review accusing of Beta version of XCode. But my XCode is 14.1
 
 
Q