I'm trying to build proxychains with xcode 8. When I run a program I got:
/usr/local/homebrew/Cellar/proxychains-ng/4.11/lib/libproxychains4.dylib: code signing blocked mmap() of '/usr/local/homebrew/Cellar/proxychains-ng/4.11/lib/libproxychains4.dylib'
When I signed the program and library:
codesign -s "Mac Developer: xxxx" `which proxychains`
codesign -s "Mac Developer: xxxx" /usr/local/homebrew/Cellar/proxychains-ng/4.11/lib/libproxychains4.dylib
No errors, but when I run it again, it says
/usr/local/homebrew/Cellar/proxychains-ng/4.11/lib/libproxychains4.dylib: code signature in (/usr/local/homebrew/Cellar/proxychains-ng/4.11/lib/libproxychains4.dylib) not valid for use in process using Library Validation: mapping process is a platform binary, but mapped file is not
What should I do now? Do I need some sort of entitlements?