IOS not packaging with xcode 16

I have been trying to package iOS in UE 5.4 but it ends up just hanging. I have tried completely reinstalling Unreal engine and Xcode and it still hangs. Is anyone else having this problem?
I am currently on a Mac.