Packaging on Mac OS error

Hello, I’m having a hard time building my project on Mac, whenever I package it always give me this error

PackagingResults: Error: variable 'PkgCDO' set but not used [-Werror,-Wunused-but-set-variable]

There are a lot of this and they are the same.

My Xcode version is 13.2.1, UE version is 4.27.2

My project was made in Windows OS, and im trying to package it for Mac OS also.

I’m also using the source build of Unreal