change the mode, on terminal type
chmod -R 755 Path_to_App/app.app
and then try to Staple it will work
Topic:
Code Signing
SubTopic:
General
Tags: