My Xcode now fails to sign because I tried out InstaSign some time ago.
It shows “Invalid arguments were passed to codesign. Arguments were: –sign …”
This problem also described in these two questions:
Code signing failed when Distribute app in Organizer
Xcode Error when trying to Validate
I know that the root cause is that InstaSign replaced /usr/bin/codesign file.
My question is where can I get the original codesign? (I know it’s a little bit out of StackOverflow topic, but it’s kind of related to software development).
I saw people put codesign in dropbox, but I REALLY dislike the idea of download binary from unknown source. So, I am looking for a some official place where I can get it.
I do not know if its related, but I installed xcode 3 on lion (unsuccessfully) and had validation errors with correct profiles. I had to download Lion distribution, then mount InstallESD.dmg from package contents/shared support and reinstall BSD.dmg