I packaged my project after compiling my project through VSCode still it fail3ed but then I compiled my code and found this strange error and it failed . Here is how it looks like :
[1/3] Compile PuzzlePlatformGameInstance.cpp
fatal error: file '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h' has been modified since the precompiled header '/Users/zkc08/gd/unreal project/SteamMultiplayer/UnrealProject/PuzzlePlatforms/Intermediate/Build/Mac/PuzzlePlatformsEditor/Development/Engine/SharedPCH.Engine.h.gch' was built: mtime changed
note: please rebuild precompiled header '/Users/zkc08/gd/unreal project/SteamMultiplayer/UnrealProject/PuzzlePlatforms/Intermediate/Build/Mac/PuzzlePlatformsEditor/Development/Engine/SharedPCH.Engine.h.gch'
1 error generated.