just got a new mac and now i get codesign errors. the time saved
by a faster CPU is now burnt up fixing weird bugs related to codesigning.
whatever.app: unknown error -1=ffffffffffffffff
Command /usr/bin/codesign failed with exit code 1
it would be nice if apple had a verbose mode for this codesign command so we can trace the problem
rather than saying "unknown error"
side note: for another account, i fixed the problem by regenerating signing certs and provisioning profiles.
but this is for a client and they dont like us deleting certs because it disrupts other developers.
there are various hints on this topic online and i have tried a bunch of them but no progress.
same error always.
i can codesign on my old mac. so the provisioning is correct. just not on this mac.
should i return this new one to the apple store? it's real nice, but if i
can't do critical operations...
what we need is a verbose codesign mode for this type of thing
this is for production / upload to test flight build.
1. the cert for the provisioning profile is in my keychain with the secret key icon showing. i had
exported it as a p12 from my old mac and imported it to new mac.
2. the provisioning is downloaded, xcode lets me select it. i can build fine but it gets to the last step of codesign and pukes with the -1 error code.
someone from apple must have seen this before. please give us proper error messages so we can debug thse things.