I’ll chime in once again.
I had the same problems with my 2019 BMW and an iPhone 15 Pro Max. It would connect and disconnect over and over. I deleted everything from my BMW. I deleted all of the phones cleared the entire head unit and made it as if it was coming off the showroom floor. I then made sure my iPhone 15 was updated to the latest iOS and I updated ALL of my apps. I was then able to get it to connect using the Anker USB-A to USB-C cable. It didn’t work the first time out of the gate, I had to delete the phone from the car and do the pairing process a couple of times, but after a few tries it began working. I’m just mentioning the brand of cable that I used, although other people have had success with other USB-A to USB-C cables. After using it via the cable for a few days I forgot to plug it in one day and it automatically connected via Bluetooth by itself.
All I can say is my iPhone 15 Pro Max connects way faster than my iPhone 11 Pro ever did, it stays connected and everything works perfectly.
Someone else mentioned that they had to delete and reinstall Google maps. I didn’t have to do that but it’s worth a try. If you read some of the older posts from people that have had success, it seems most folks had to clear their cars system thoroughly, sometimes multiple times before they had success.
I’m just mentioning that my iPhone 15 Pro Max works better than any iPhone I’ve paired with my car system. I see people saying they want to return their iPhone, so I figured I’d tell my story