distribution cerificate not found

Hello,

im developing iOS app and im having problem with codesigning distribution version. First of all, im working through macincloud.com which is a virtual mac so im not able to plug in an actual iOS device to test it neither with development signing nor ad-hoc signing.

Anyway, I created my distribution signing certificate aswell as provisioning profile but Xcode somehow cant see my distribution certificate.


When i try to archive the app it says:

No provisioning profiles containing one of the following signing identities was found:

iPhone Developer: XXXXX YYYY (ZZZZZZZ) (SHA1: XXXX...).


which is my DEVELOPER signing certificate, so it says it sees only this certificate but since im using my DISTRIBUTION provisioning profile it doest match. if I go to keychain and delete this cerificate then Xcode says:

No valid signing identities (i.e. certificate and private key pair) matching the team ID “XXXXXXXXXX” were found.


after hitting "fix issue" it only tells me that is cant create new provisioning profile beacuse i dont have any registered devices.


I followed every tutorial i found aswell as oficial docs or forums, but noone has this problem.


Thanks for help in advance

distribution cerificate not found
 
 
Q