As I said, this is an app created with Cordova, so the files you mention are rewritten with each build.
I have the impression that it's an error quite similar to this thread: https://forums.developer.apple.com/forums/thread/731089
Unfortunately, nothing works with the other linker flags.