Ensure error propagation in embed_frameworks_script