Xcode – Code Sign error: The default keychain doesn’t have an identity matching the profile ‘submitsearch’ and identity ‘iPhone Developer

xcode

I am trying to upload my app to. After tip Archive,it shows :Code Sign error: The default keychain doesn't have an identity matching the profile 'submitsearch' and identity 'iPhone Developer.

Which step may be wrong?

thanks

Best Solution

More than one thing can cause this problem:

  • Wrong profile/certificate used
  • Wrong export password
  • Expired certificate/profile
  • Apple changed something on their side

I find the best way to fix it is generating both certificate and profile again.