Add the option com.apple.security.cs.allow-dyld-environment-variables.