4

iOS 16’s handy Developer Mode lets you run your own code

 2 years ago
source link: https://www.cultofmac.com/787783/enable-ios-developer-mode/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

iOS 16’s handy Developer Mode lets you run your own code

Screenshot showing how to turn on Developer Mode to put your own apps on your iPhone.

You'll need to turn on Developer Mode to put your own apps on your iPhone.
Image: D. Griffin Jones/Cult of Mac

Developer Mode is a security feature new to iOS 16. It will prevent unsigned code from running on your device — apps that are not on the App Store nor TestFlight. Most people can enjoy the added layer of security for free. But, this also means that if you’re writing your own apps in Xcode, you will need to enable Developer Mode before running your app on your iPhone or iPad.

Another reason you might turn on Developer Mode is to install AltStore, a popular open-source App Store alternative. With AltStore, you can easily run emulators for Nintendo games, a clipboard manager, Windows virtual machines and more.

Read on to see how to turn it on.

How to turn on Developer Mode in iOS 16

If you are still running iOS 15, you don’t need to enable Developer Mode. This is a feature of iOS 16, currently in public beta, anticipated for release this September.

Enabling Developer Mode is a simple switch you can turn on, but you have to find it buried in Settings.

Enable Developer Mode with a single switch, but it’s a little hard to find.
Screenshot: D. Griffin Jones/Cult of Mac

Go to Settings > Privacy & Security > Developer Mode (at the very bottom).

Enable Developer Mode. You will get a warning:

When Developer Mode is turned on, your device security will be reduced. Restart your device to turn on Developer Mode.

Your device security is only compromised insofar as the app you’re installing to your device will run unchecked. If you’re just learning Swift or testing an app you wrote, this doesn’t weaken your device to malware, unless you have bizarrely decided to write malware for yourself in Xcode.

Note: Some malicious Xcode projects copy or mimic legitimate open-source projects, only to add in spyware. If you are following along with directions to install an app and you are here because you have to enable Developer Mode to finish installing it, you should probably stop. It could be using private APIs or break App Store rules. It’s likely you’re being pushed to install something you shouldn’t.

You will be asked once more if you are really very sure you want to enable Developer Mode.
Screenshot: D. Griffin Jones/Cult of Mac

Tap Restart and your phone will instantly restart with Developer Mode enabled; tap Cancel and nothing will happen. After restarting, you will be asked again whether you really want to enable Developer Mode.

Tapping Turn On one last time and entering your passcode will enable it.

To turn Developer Mode off, just go back to Settings > Privacy & Security > Developer Mode and uncheck Developer Mode.


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK