error: Embedded binary is not signed with the same certificate as the parent app. Verify the embedded binary target's code sign settings match the parent app's.
Embedded Binary Signing Certificate: iPhone Developer: vincenzocalia (4DKTZT267L) Parent App Signing Certificate: iPhone Distribution: vincenzo calia (M6933VXN9H)
I'm to try and use Firebase App Distribution for quick testing, but it appears that if you archive the app for an adHoc export mode, automatic signing messes things up and doesn't get used the distribution profile..so I'm trying to set to manual both certificate and Provisioning Profile to have the Developer certificate and profile with only my device UUIDs in it, and the distribution certificate and profile with tester's device UUIDs in it.
In my Code Signing Identity options I can choose a certificate I have 2 general iOS Developer and iOS Distribution under Automaticcertificates, and two specificiPhone Developer: vincenzo calia (4DKTZT267L), and iPhone Distribution: vincenzo calia (M6933VXN9H) under Identities in Keychain.
No matter what combination I use I always get the error above while archiving.
I obviously didn't understand fully all the certificate/Profile thing..
Searching for the error I saw that I should use the same Certificate for both, Debug and Release, right?
But in Target/General/Signing/Debug if I switch Profile to use the Distribution one I get the error 
Provisioning profile "fixit cb dist profile" doesn't include signing certificate "iPhone Developer: vincenzo calia (4DKTZT267L)".
Can you see what I'm doing wrong? I read quite a few posts but I'm stuck on this one
Thank you very much



