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

故事扮演 提交于 2019-12-06 21:25:31

问题


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


回答1:


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




回答2:


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




回答3:


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.




回答4:


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



来源:https://stackoverflow.com/questions/7154322/what-does-the-use-for-development-button-in-xcode-organizer-do-to-an-ios-devic

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!