Rename MissingEnvironmentVariable
Reuse copyFramework
Remove comment
Tweak codesign arguments