简体   繁体   中英

What does the “Use for Development” button in Xcode Organizer do to an iOS device?

When selecting an iOS device and clicking the "Use for Development" button in Xcode organizer, what does it change on the device (iPhone or iPad)?

Are there any debugging symbols installed or some sort of profilers or loggers?

Does this mode affect device performance or battery life while being "used for development"?

It installs a development profile certificate on your device. Code signed by these certificate will be accepted to run on the device.

From my experience, the practical consequences of turning on a device for development are an increase of levels of logged data and access to these logs. (I'm not sure if logs are activated for all apps or just those you develop yourself.)

This extra logging activity might have a storage impact and an impact on energy consumed too but as you're most of the time plugged in a machine running XCode when you test the applications you develop, I never saw any impact on the battery life when I switched back to be a regular user of my device (as opposed to a developer user).

Regarding your question, Does this mode affect device performance or battery life while being "used for development"?

No, there is no additional drain on the battery.

如果您在iPhone上启用了开发模式,则可以访问“设置”>“开发人员”菜单,例如,用于模拟网络条件http://natashatherobot.com/simulate-bad-network-ios-simulator/ (令人惊奇的功能)。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM