I am trying to rename the \"codesign\" file name for patch problem, but I tired everything and seems like I can only have read access to the filea inside usr/bin
usr/bin
execute command line as blow:
sudo gem update --system
sudo gem install -n /usr/local/bin cocoapods