..at least it won’t be by default. But you realise that several miserable hours later.
First things first. I am developing iOS Action Extension that can communicate to part of native app via simple interface provided by platform. There is a very neat tutorial for this. You follow it and burn.
You can set it also in AppCode (like many people of wisdom do these days). Here it comes:
This misconfiguration will trick you also when trying to feed WebView with bundled scripts.
Do not feed compiler with scripts and everyone is happy!