iosiphoneunity-game-engineipacodesign

Unity iOS deployment error: Codesign error, can't found .ipa file


Trying to deploy a Card Game, developed in Unity C#, to Test Flight. I'm getting this error while validating the archived build.

Validating codesign error

I currently have my Apple account credentials up to date and installed locally, the only two steps I do after Unity -> XCode export was:

I read a lot about this and people get this error while trying to add some Plugins bundles to compilation, but actually this is not my case because we are not using any plugin. These are my Frameworks (everything natively exported from Unity):

Project Frameworks

I'm currently stuck with this and can't upload my builds.


Solution

  • Finally i solved my very frustrating problem. After tons of log reviewing, i noticed that the sign process was confused with some of my old distribution certificates.

    1. I deleted all my distribution certificates from Keychain Access.
    2. Deleted from developer.apple.com/account/ios/certificate/.
    3. Generated new ones.
    4. Download and apply to the deploy process and everything works!