When you first go to privacy and settings you will not see the developer mode.
To enable developer mode, first you need to go to Xcode -> product -> destination -> choose your device
Follow the prompts, now when you go back you can see the developer mode and toggle it on.