I have an app that I have been building and distributing fine for the last six months or so. I have been doing this on my personal Macbook as, due to Corona/furlough etc. I didn't have access to my work machine.
I now have my work machine back, and I have it tight to my companies App developer account, have imported as many certificates as I could find and can build the app. However, I am struggling to successfully distribute it. When I come to distribute I get an error along the lines of "there is a distribution certificate but the private key could not be found."
I have tried a loooooad of solutions to try and resolve this - export/import my developer profile, AirDrop files from one keychain to another, generate a new distribution certificate and nothing has worked, and I am really out of ideas.
If it helps things, the Macbook I'm trying to export from is running xcode 12.5, whereas the target machine is only on 11.2.1 (can't update any further as it's running on a 2013 iMac). Also, the whole certificate thing isn't quite my area as I'm not an app developer by trade, this is for an app built in Nativescript