I think I have reached the nadir level of iOS . After switching to a new Mac and creating an archive for distribution, I got an error:
Code sign error: unused collateral profiles that contain any of keychain signature certificates were not found
Then I deleted all certificates and keys and provisioning profiles and made a “hard reset” (deleting all keys, certificates and profiles), following Apple's instructions manually, with the same error. Then I did another hard reset, and then Xcode processed it all through Organizer, made another archive - just to see the same error.
I have all the certificates ( WDRCA , Developer ID Cert Authority , iPhone Dev , iPhone Distribution ) shown in Keychain Access, Xcode shows that it sees dev and distribution certificates, as well as provisioning profiles, everything is marked with a green checkmark and a “valid” status .
Signing the code in the application shows the correct option and the distribution is selected.
What's really bothering is that a Google search mistakenly shows one technical note from Apple, which is not very useful, 2 tweets and 3 results in Japanese - and nothing more. I contacted one of the twins, and he said that he corrected it with a tough result, which I did twice.
Any ideas on where to go or what to do next?
ios ios-provisioning code-signing
Matt Miller Apr 2 2018-12-12T00: 00Z
source share