Ionic-plugin-deeplinks on PGB

Hi
I am trying to get my project build on Phonegap Build using ionic-plugin-deeplinks… it Builds fine and I can see the object in my code. But for some reason it does not work.It just opens the iTune store to install the app (Which should be proof that my server settings works)

So it is an issue ion the app, and i narrowed it down to properly being the xxxxxxx.entitlement missing.

Does anyone have this working ?

Thanks in advance
Kim