I notice that it DYLD_INSERT_LIBRARIESno longer works in Mountion Lion if the application is encoded with permissions. For instance:
DYLD_INSERT_LIBRARIES
DYLD_INSERT_LIBRARIES=./mylib.dylib /Applications/Safari.app/Contents/MacOS/Safari dyld: DYLD_ environment variables being ignored because main executeable is code signed with entitlements.
I know this is probably the new security feature added to Mountion Lion. Does anyone know if there is an alternative way to do a similar thing on Mountain Lion? Thank!
It is impossible to do DYLD_INSERT_LIBRARIESwork on applications of this kind.
dyld DYLD_ , , , , setuid/setgid , . , , dyld. , processRestricted , pruneEnvironmentVariables .
dyld
DYLD_
processRestricted
pruneEnvironmentVariables