Developer Mode without PC

My phone's charging port is fried. It only charges wirelessly. Fixing it costs the same as the phone. I currently am having a lot of issues enrolling for apple developer program as well, so I can't use test flight right now.

I want to enable developer mode on my phone, but it's never been connected to xcode before, so the option is not available.

How do I enable developer mode without being able to connect it to a pc?

I have a mac, and both my mac and iphone are on the same apple id.

thank you

Developer Mode without PC
 
 
Q