fix code sign resource envelope is obsolete bug