What does the “Use for Development” button in Xcod

2020-08-13 04:58发布

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"?

4条回答
可以哭但决不认输i
2楼-- · 2020-08-13 05:28

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

查看更多
爷的心禁止访问
3楼-- · 2020-08-13 05:42

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).

查看更多
男人必须洒脱
4楼-- · 2020-08-13 05:48

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.

查看更多
劳资没心,怎么记你
5楼-- · 2020-08-13 05:51

If you have Development mode enabled on your iPhone you can access Settings > Developer menu e.g for emulating network conditions http://natashatherobot.com/simulate-bad-network-ios-simulator/ (amazing feature).

查看更多
登录 后发表回答