I do modify the Makefile based on my iPhone SDK. Compiling with make was perfect. But, while executing the dumpdecrypted.dylib I get the following error.
dyld: warning: could not load inserted library 'dumpdecrypted.dylib' into hardened process because no suitable image found.
Did find:
dumpdecrypted.dylib: code signature in (dumpdecrypted.dylib) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.