problem while trying to cook my game in UE5

Hello and thank you for posting to the community.
With errors, it’s a great idea to start from the top in case what errors out first affects what happens later.

Starting from the top:
Error: LoadConfig (/Script/IOSRuntimeSettings.Default__IOSRuntimeSettings): import failed for MinimumiOSVersion in: IOS_12

Please check your supported platforms in engine. If you aren’t intending to build for IOS, feel free to uncheck it. This thread goes over several solutions to this concern alone.

After you have resolved the first error, work your way to the next error (if any more appear).

I hope the information provided helps you along the way.