Error occurred while using Distribute app on Xcode

I have used beeware briefcase-macOS-Xcode-template to build and run my python code on xcode and the app runs successfully. But after archiving and using distribute app it shows an error occurred. Couldn't find platform family for "main-fat". Couldn't find CFBundleSupportedPlatforms in the Info.plist, LC_VERSION_MIN, or LC_BUILD_VERSION in the Mach-O for path "/Users/keshav2.chaudhary/Library/Developer/Xcode/Archives/2023-06-05/JioCloud 05-06-23, 12.38 PM.xcarchive/Products/Applications/JioCloud.app/Contents/Resources/app_packages/py2app/apptemplate/prebuilt/main-fat".

Error occurred while using Distribute app on Xcode
 
 
Q