RepresentedUrl returning null

Hi,


We have an application distributed via a .pkg file.

When installing, we attempt to fetch the source url of the .pkg.

We do this via an installer plugin that calls [[NSApp mainWindow] representedURL].

This is done successfully in previous osx versions returning the full path as expected.

Once attempting to install on Catalina 10.15 the return value is always null.


Does anyone have an idea what changed?


Thanks,

Eyal


A further update on some findings that may be related:

Looking at Console: I see a consistant error on installerRemotePluginService (AppKit):

Subsystem: com.apple.runtime-issues Category: Nib Loading

Unfortunately, I can't see the error message as it is <private> and cannot enable showing private messages.


Furthermore, this error doesn’t appear in Mojave, when running the installer.