Tweaked to recursively sign frameworks.