pilotmoon / Scroll-Reverser

Per-device scrolling prefs on macOS.
https://pilotmoon.com/scrollreverser/
Apache License 2.0
2.61k stars 140 forks source link

Build error "Nicholas Moore: no identity found" #64

Closed AndreaCallia closed 5 years ago

AndreaCallia commented 5 years ago

Hi @invariant, first of all many thanks for all your work... I am trying to build your project but codesign fails when running the following two sh script commands.

codesign -f -v -s "Developer ID Application: Nicholas Moore" "$SPARKLE_PATH/Resources/finish_installation.app"
codesign -f -v -s "Developer ID Application: Nicholas Moore" "$SPARKLE_PATH/Versions/A"`

The error message is:

Developer ID Application: Nicholas Moore: no identity found

Am I doing something wrong or is this some new issue?

pilotmoon commented 5 years ago

Hi, this is the step where it is signing the build. It is trying to sign it using my Developer ID. However since you don't have it (as it is private to me), it will not find it. What you should do is replace "Developer ID Application: Nicholas Moore" with the identifier for your own developer ID. Or alternatively you could remove these lines to skip the code signing step.

AndreaCallia commented 5 years ago

Hi @invariant many thanks for this. I have already replaced it with "Mac Developer: myID" where myID is my own ID and it works.

Cyberbeni commented 5 years ago

You could check code sign on copy in the copy frameworks phase and then remove code signing from the script