This looks like a packaging error. Spotify accesses gappsWrapperArgs in installPhase but that variable gets fully populated only just before fixupPhase. As a result, XDG_DATA_DIRS environment variable in the wrapper does not contain the required GSettings schemas. It works in some cases thanks to the WM or something else contaminating the environment of the launched program but it should not be relied on.