issue/2871 - Fix the framework copy and codesigining issues

Forget the other one... that one is cleaner!
Can you pass just the absolute destination framework path (`"$destination/$1"`) to the `code_sign` function to make it agnostic to the diretory structure and avoid code duplication?