Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode Codesign error: timestamps differ

My attempts at signing my application within XCode are failing with an error "Code signing failed: check that the identity you selected is valid". Since my certificates all check out as valid I tried using the codesign utility in Terminal. When I run it with these parameters: codesign --force --deep -s I get this cryptic error: timestamps differ by 230 seconds - check your system clock

I have research this error in the documentation and all over the web and found nothing.

Any ideas ? Thank you.

Update - a few days later: I was able to dispense with this problem by getting fresh certificates and signing identity and doing a "Clean Build Folder" (hold the option key down when choosing Clean Build).

like image 409
Will Avatar asked Feb 08 '26 01:02

Will


1 Answers

What works for me was to use "Set date and time automatically" in my date & Time Control panel. After doing this the timestamps error disappeared and I was able to codesign. Daniel

like image 97
user3585180 Avatar answered Feb 12 '26 06:02

user3585180



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!