How to set a custom icon inside a signed Apple Script application?
You can force codesign after You change bundle content. In Terminal.app use something like this:

 codesign -f -s [identity] /path/to/bundle


For more info please read man codesign.