@Alok Kashyap, Thanks for posting in Q&A.
From your description, I know you got some error when uploading MacOS pkg to Intune.
Here are some suggestions for you to fix the issue.
1.Could you please share with us what kind of app type do you use? LOB or macOS app (PKG)?
2.Check if the ProductCode or ProductVersion contains in app package.
3.Try to re-create a .pkg file and re-upload to Intune to see if the issue can be fixed.
Please try above information, if there is any update, feel free to let me know.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.