Post

Replies

Boosts

Views

Activity

Reply to Unable to distribute ad hoc my iOS app in xCode
@sarslander mhmm, by the way it is a really weired behavior this thing about private keys. I don't know if it might be of help, but I have updated from mojave to catalina when reinstalling the os in my machine. Catalina is the last version, maybe it has updated CAs and stuff in the keyChain.. but it is just my guessing.. I also have installed the current last stable version of Xcode
Feb ’21
Reply to Unable to distribute ad hoc my iOS app in xCode
@all yes I had to fully reset the machine and reinstall from scratch macosx catalina os. I have a dedicated machine for doing the building of ios mobile apps so I didn't really care about backups. As for my understading, the old keyChain was pheraps missing some public keys of certain Apple CAs, but the distribution private key was correctly present because it was generated by Xcode. I'm saying this because after the reset, I opened the keyChain and I noticed there were new CA certificates compared to the old bugged keyChain. Moreover, in the bugged keyChain the distribution certificate (with its privateKey inside) was reported as "non-trusted", this might suggest that the OS couldn't decrypt and trust it with any of the CA's public key already present in the keyChain. I don't know if apple has changed some policy and/or updated their CAs because my machine was working well for its purpose and suddenly showed the problem when I generated a new distribution certificate in Xcode. Hope this helps
Feb ’21