Hack Loopback
# libloophack.dylib will be placed in `build/Release`
xcodebuild
# Or
clang -shared -undefined dynamic_lookup -Os -o libloophack.dylib loophack/loophack.mm
-
Place
libloophack.dylib
in/Applications/Loopback.app/Contents/Frameworks/
-
Insert dylib
cd /Applications/Loopback.app/Contents/MacOS/
# insert_dylib_rs
insert_dylib --binary Loopback --dylib @rpath/libloophack.dylib
# insert_dylib
insert_dylib --all-yes @rpath/libloophack.dylib Loopback
# substitute orginal binary
mv Loopback Loopback_original
mv Loopback_patched Loopback