SDK error when trying to build for IOS

I am getting this error when trying to upload my test game through transporter. I have the latest version of xcode and my mac is up to date. Tried everything and cant see to figure out the problem. Using Unreal ver. 4.27.2.
Screenshot 2022-05-06 at 17.49.09

Got the same issue but on UE 5.0.3. Have you found a solution?