If you are not comfortable using the command line, Sideloadly provides the easiest graphical user interface (GUI) method to inject dylibs on both macOS and Windows.
There are tools and scripts available that can automate the process of injecting a dylib into an IPA, handling the necessary path adjustments. Inject Dylib Into Ipa
You will see SampleApp.app , the application bundle. If you are not comfortable using the command
# List available certificates security find-identity -v -p codesigning Inject Dylib Into Ipa
Use * Inject dylib for mac exec: ❯ ./inject testExec -d @executable_path/testMac/libtestinject.dylib. * Remove dylib for mac exec: MASTG-TECH-0091: Injecting Libraries into an IPA Manually