I'm packaging my app for Mac App Store distribution, but the app cannot be opened locally. I understand that this is because I'm signing with a Mac App Distribution certificate, which is only meant for submission to the App Store. But I want to test my app before submission and have it be as close as possible to the one that will be submitted to the App Store with the Mac App Store distribution profile.
I see that both Ad Hoc and Developer ID provisioning profiles are distribution profiles. Should I be using one of these for local testing to have it most closely resemble the one that will be signed with the Mac App Store certificate during final submission? What are the differences?
My end goal is to just test the app in the closest possible environment to the App Store environment.