[SOLVED] Possible Projucer bug: iOS Development-Team-ID / Cert

If I launch XCode via Projucer → exporters → iOS I get a signing error.

Screenshot_2022-04-27_at_16.26.06

Details

Unable to install "NewProject"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620388
User Info: {
    DVTErrorCreationDateKey = "2022-04-27 09:21:47 +0000";
    IDERunOperationFailingWorker = IDEInstalliPhoneLauncher;
}
--
No code signature found.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620388
User Info: {
:

I fixed this by:

Now in XCode → App:

However if I manually set my Team back using the pulldown, it now works:

I see if I set Development Team ID to FOO I can also achieve build by the same fix. This suggests some bug in the way Projucer builds the XCodeProject file. Simply leaving the field empty, I can’t get XCode to set the cert. So I have to set it to something. And tweak within XCode.

Are you sure that your team identifier is correct?

From the Projucer help text: This is a ten-character string (for example “S7B6T5XJ2Q”) that can be found under the “Organisational Unit” field of your developer certificate in Keychain Access or in the membership page of your account on developer.apple.com.

This is different from the identifier present in your signing certificate.

1 Like

My apologies for not reading the help-popup correctly.
Was moving too fast.
Case closed :pray: