I have a code resign script which is working well when I run it from the terminal. Exactly there is a codesign command in the script file that runs well in the terminal:
/usr/bin/codesign --force --sign "$EXPANDED_CODE_SIGN_IDENTITY" "$DYLIB"
If I run the same script file from PHP, it will give me this error message:
error: The specified item could not be found in the keychain.
Please help me thank you