yukiarrr / ios-build-action

Build iOS project (.xcodeproj, .xcworkspace), and export ipa
MIT License
279 stars 135 forks source link

error: No certificate for team '**********' matching 'iOS Distribution' found: Select a different signing certificate for CODE_SIGN_IDENTITY, a team that matches your selected certificate, or switch to automatic provisioning. #90

Open dfdesign opened 1 year ago

dfdesign commented 1 year ago

I have that issue. I`ve generated certificate with type iOS Distribution, and then convert it to p12-base64 with that command openssl base64 ...

nurirppan commented 1 year ago

I have that issue. I`ve generated certificate with type iOS Distribution, and then convert it to p12-base64 with that command openssl base64 ...

is problem solve bro ?

sudarshann commented 1 year ago

I have the same issue. Did any one manage to find a solution ?

mario-mestrovic commented 1 year ago

You have to choose the right certificate. The parameter (should be documented better) specifies the certificate name which is usually: 'iPhone Distribution: TeamName (TeamId)'

Either specify full name or just the beginning 'iPhone Distribution'

Not sure what happens if you have multiple certificates with same name. In that case you could specify the certificate thumbprint (not sure if that works, but my guess is probably). You can look it up in Keychain Access App, or with command security find-identity -p codesigning -v

Lost a couple of hours on this. Should be documented better.