Unity Ads, Xcode UADSBanner.h file not found

I have a Game with the standard Unity Ads package installed.

I built a aab for the google play store without any problems and also an xcode file without any issues.

The problem is that when I want to built it in xcode I get the error “UADSBanner.h file not found”.

This happens on Unity 2022.3.49f1.

I have looked for answers to solve this without any luck and I am slowly losing my mind over this, it used to work absolutely fine, building in xcode with Unity Ads.

Maybe something went wrong because this project is in a newer Unity version and I think a newer Ads package.

Thanks in advance,

Milan.