Hey!
If you are going to launch your game on the App Store, you will need to build on 14.1 using the 16.1 SDK. This means that if you are using an older version of Unreal Engine which doesn’t support the 16.1 SDK or Xcode 14.1, you will either need to modify the source code of the engine to accommodate for these is. Alternatively you can upgrade your project from Unreal Engine 4 to Unreal Engine 5.
I understand that this is an inconvenience, and I fully understand the frustration. I have had to do the same for Android on the Google Play Store.
I wish you the best of luck!