Add OSX support; put ‘DYLD_INSERT_LIBRARIES=libmfiwrapper.dylib’ into the environment when launching the target app.