This wikiHow teaches you how to enable Developer options in iPhone settings using a Mac computer and Apple's software developer application, Xcode.
Step
Part 1 of 2: Downloading Xcode to Mac Computer

Step 1. Open an internet browser on the computer
You need to download an integrated development environment (IED) application from Apple, Xcode ” to the computer before being able to tinker with the developer options on the iPhone.
Xcode is an application that can only be used on Mac computers. This application is only available for computers running Mac OS

Step 2. Visit Apple's developer download page
On this page, you can download the latest beta release provided by Apple for software developers.

Step 3. Sign in using your Apple ID
Type in your account email address and password to sign in to the developer portal using your Apple ID.
If you haven't signed into your Apple ID on a computer before, you'll need to verify your identity by entering a verification code. This code can be accessed via your iPhone or other device that is automatically linked to your Apple ID

Step 4. Click the Download button next to Xcode
Under the segment Software Release ”, press the “Download” button next to the latest Xcode release. This output can be Xcode 8.3.1 or later. After that, the Mac App Store preview page will open in a new tab.

Step 5. Click View in Mac App Store
It's just below the Xcode app icon on the left side of your browser screen.

Step 6. Click Open App Store on the pop-up box
After that, Xcode will open in the App Store app on your Mac.

Step 7. Click the Get button
It's directly below the Xcode icon in the upper-left corner of the App Store window. Once clicked, the button will change to a green button labeled “ Install App ”.

Step 8. Click the green Install App button
After that, the latest Xcode will be downloaded and installed on your computer.
Part 2 of 2: Enabling Developer Mode on iPhone

Step 1. Open the Xcode application on the Mac computer
You need to agree to the software terms of use and license agreement when opening Xcode for the first time. After that, the program components will be installed and the Xcode installation process will be completed

Step 2. Connect iPhone to computer
Use a USB cable to connect your phone to your computer.

Step 3. Open the settings app (“Settings”) on the iPhone
This app is marked by a gray gear icon on the device's home screen.

Step 4. Swipe the screen and touch Developer
This option is automatically displayed next to the hammer icon in the iPhone settings menu when you connect a computer running Xcode. With this option in the settings menu, you have enabled developer mode on your iPhone. Now, you can do app demonstrations, check notes, and try other developer settings on the device.