The iOS environment provides DYLD_INSERT_LIBRARIES
as a variable to load the libraries into a process dynamically. Sometimes, it may not be possible to class-dump an executable that may be protected by different kinds of encryptions. Dumpdecrypted, created by Stefan Esser, can be utilized in these situations. It can be downloaded from https://github.com/stefanesser/dumpdecrypted.
This file from the GitHub needs to be compiled before pushing the library to the device:
$ git clone git://github.com/stefanesser/dumpdecrypted/ $ make 'xcrun --sdk iphoneos --find gcc' -Os -Wimplicit -isysroot 'xcrun --sdk iphoneos -- show-sdk-path' -F'xcrun --sdk iphoneos --show-sdk-path'/System/Library/Frameworks – F 'xcrun --sdk iphoneos --show-sdk-path'/System/Library/PrivateFrameworks -arch armv7 - arch armv7s -arch arm64 -c -o dumpdecrypted.o dumpdecrypted.c 'xcrun --sdk iphoneos --find gcc' -Os -Wimplicit -isysroot 'xcrun --sdk iphoneos -- show-sdk-path' -F'xcrun --sdk iphoneos --show-sdk-path...