Unable to archive iOS package

I’m bringing a project I made on Windows to my Mac and packaging it for iOS.
After running Platforms > iOS > Package Project in Unreal Editor, I opened Intermediate/ProjectFilesIOS/PROJECT_NAME (IOS).xcodeproj (because Unreal Editor doesn’t seem to let you output an ipa file) and built it in Xcode.
When I run Product > Archive in Xcode, the following error occurs and the ipa file generation fails. Do you know the cause?

rsync: link_stat "/Users/xxxxx/Projects/DigitalTwin/dtrd/dtrd-client/Binaries/IOS/DTRD-IOS-Shipping" failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at /AppleInternal/Library/BuildRoots/UUID/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9]
  • macOS 14.7.3
  • Unreal Engine 5.5.3
  • Xcode 16.2