How to enable Developer Mode in Xcode 14
Note: The below should work with the current public version of Xcode 15.
Thank you for reading this post, don't forget to subscribe!
Apple in its infinite wisdom decided to make developers designate an iPhone, iPad, and Apple Watch as a development device.
Here’s how (according to Apple):
Overview
Developer Mode, introduced in iOS 16 and watchOS 9, protects people from inadvertently installing potentially harmful software on their devices, and reduces attack vectors exposed by developer-only functionality. The feature doesn’t affect ordinary installation techniques like buying apps from the App Store, or participating in a TestFlight team. Instead, Developer Mode focuses on scenarios like performing a Build and Run in Xcode, or installing an .ipa
file with Apple Configurator. In these cases, the device explicitly asks the person using it to confirm that they’re a developer, aware of the risks of installing development-signed software.
Enable Developer Mode
When you first connect an iOS device to your Mac, the Xcode scheme selector’s destination list shows it as an “Unavailable Device”, because Developer Mode is disabled.
The Devices and Simulators window shows a similar banner if you have a device connected with Developer Mode disabled.
If you attempt to build and run to the device, Xcode displays an alert to tell you the destination isn’t valid because Developer Mode is disabled.
As indicated by the alert, to enable Developer Mode go to Settings > Privacy & Security on the iOS device. Scroll down to the Developer Mode list item and navigate into it. To toggle Developer mode, use the “Developer Mode” switch.
Tap the switch to enable Developer Mode. After you do so, Settings presents an alert to warn you that Developer Mode reduces the security of your device. To continue enabling Developer Mode, tap the alert’s Restart button.
After the device restarts and you unlock it, the device shows an alert confirming that you want to enable Developer Mode. To acknowledge the reduction in security protection in exchange for allowing Xcode and other tools to execute code, tap Turn On, and enter your device passcode when prompted.
At this point, your device is ready to install and run apps from Xcode. After you have enabled Developer Mode the first time, Xcode doesn’t ask again unless you disable Developer Mode — as described below — or you restore the device. You can Build and Run from Xcode without further prompts to enable Developer Mode.
On watchOS, you enable Developer Mode in the same way as you do on iOS. On a watchOS device that you use for development, go to Settings > Privacy > Developer Mode and use the “Developer Mode” switch.
About Post Author
Discover more from CompuScoop.com
Subscribe to get the latest posts sent to your email.