Here'sHere’s what I'veI have found so far. In case it helps someone.:
- My iPhone was on Low“Low Battery Mode.”
- I connected it to my mac,Mac and opened XCode“XCode > Window > Devices & Simulators.”
- Select Allow“Allow” on my mac
- Select Trust“Trust” on my iPhone
- Now Developer Mode“Developer Mode” is showing in Privacy“Privacy & Security.”