Meet Developer Mode; A New Required Option To Run Xcode Projects On Physical Devices In iOS 16

Search for a command to run...

No comments yet. Be the first to comment.
Mandates, not just deprecations.

While working on large git-enabled projects in teams, merge conflicts can be the biggest nightmare and quite a challenging task, and my team is not exempt from this challenge. The Problem The case for Xcode projects regarding merge conflicts is quite...

Coming in Swift 5.9, package will be a new access modifier in the language. The Swift team at Apple approved the Swift Evaluation proposal SE-0386 which includes adding a new access modifier called package to allow symbols from being accessed inside ...

In case you really care about your apps' security.

Life is full of excitement and surprises, so does whatever journey you're in. During my iOS development journey, I have learned so much exciting stuff that I am always glad to get to know them. So, I would like to share them with you. It doesn't matt...

As a part of the WWDC22 announcements, Apple introduced a new option in iOS 16 and watchOS 9 that'll enable developers to build their Xcode projects on their physical devices for testing purposes.
Previously, developers could do the action without having to enable such an option. However, if you now try to build your project in Xcode on your iPhone, you'll see an alert which describes that the run destination is not valid and you should turn on an option called Developer Mode.

The option can be found and turned on in both iOS 16 and watchOS 9 by heading to Settings > Privacy & Security. By turning on the Developer Mode option, you should be able to open the apps that you have built with Xcode. Your device will be Devices without passcodes can automatically turn the option on.

It's worth mentioning that Apple says by turning on the option, your device security will be reduced.
You can also turn it on in your Terminal by running devmodectl streaming command.
This is required only if you need to build your project on physical devices. Other distributions and testing flows like TestFlight don't require it.