# Entitlements You might to enable this default to use private entitlements ``` sudo defaults write /Library/Preferences/com.apple.security.coderequirements Entitlements -string always ``` Maybe a better thing to do is to DYLD_PRELOAD `imagent` and swizzle `IMDAuditTokenTaskHasEntitlement` to always return YES. ## Building/linking If you get dyld errors running from the command line, use `install_name_tool` to update the @rpath (where @rpath points to where linked Frameworks like GCDWebServer is). `install_name_tool -add_rpath . ./kordophoned` ## Running You need to hook imagent first to bypass entitlements check. Look at `hookAgent.sh`