Unity Build ios Xcode unity version missing error

After building ios build I am getting following error

Error message: “UNITY_VERSION_VER, UNITY_VERSION_MAJ, UNITY_VERSION_MIN must be set in xcode project, something went wrong”

Using Unity version 2021.3.2f1 and Xcode version 13.3.1 (13E500a)

how to fix this?

Following is the error screenshot

Hey @amodkanthe is this resolved?