Issue 2871

Proposed fix for framework copy phase that 

1. did not follow symlinks
2. could not resign the .frameworks even in case the project required it