Problems when upgrading to Xcode 14

Hello, i have Unreal Engine 5.1 and i’ve upgraded xcode to 14.2 (because 13.4 is no longer supported on my latest OS version) and started to have a lot of issues:

1- It packages the project fine for distribution, but then when i upload to TestFlight using Transport i always fails with the error “is not signed using an Apple submission certificate” even though i’ve selected a distribution certificate and profile. If i change to xcode 13.4 with exactly the same settings it works fine.

2- I keep running out of memory because the process XCBBuildService seems to have a huge memory leak, so i need to restart it very frequently. I’ve never had this issue before with xcode 13.4.

Any suggestions for fixing any of these 2 problems?

Thank you

Can you showcase the log for packaging? How much RAM do you have, I recently built for iOS with a Mac 2020 with 32 GB RAM without any issues.

I was able to fix the packaging issue. Regarding the XCBBuildService this seems to happen (XCBBuildService eat up huge memory… | Apple Developer Forums) but i’ve only noticed it on Xcode 14.2, so not sure what changed from 13.4 to enable that behaviour. I have 32GB of RAM and the memory usage goes up very fast on each packaging i try, it gets to a point where the service just crashes and needs to be restarted or it gets to 75GB of RAM usage, obviously through swap, which slows down the system.

Another common annoying issue (which also happens in Xcode 13.4) is that when packaging the dotnet process just gets stuck very often and i need to go to the activity monitor and close it. Some time that works, other times i need to do this process multiple times until it gets unstuck.

@DavidPereiraLC Thank you for providing the link. I have this problem too.

The link says to “turn off indexing” but does not detail how one turns off indexing. Where did you find the indexing toggle?