Reputation: 91
error is: unknown error -1=ffffffffffffffff Command /usr/bin/codesign failed with exit code 1
I can run build shell success in my own mac, but when I use it by Jenkins and use my mac as a node of Jenkins, it has the above mistakes. The root Jenkins is build on linux.
I have tried many method, but it doesn't work, for example:
cd ~/Library/Developer/Xcode/DerivedData
xattr -dr com.apple.FinderInfo *
cd project
find . -type f -name '*.png' -exec xattr -c {} \;
xattr -rc project
Upvotes: 2
Views: 649
Reputation: 91
I solved this question by unlocking my keychain before codesign:
security -v unlock-keychain -p password ~/Library/Keychains/login.keychain
Upvotes: 3