xcode 设置应用程序中的开发人员是什么?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3170747/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What is Developer in the Settings App?
提问by user342492
I updated my iPod touch to iOS4, and connected it to my Mac. I opened Xcode's Organizer, and clicked 'Use for development.' Since then, when I open te Settings App on my iPod, there is an extra section between 'Safari' and 'Nike+' called 'Developer' (it is not Safari's debugging console!).
我将 iPod touch 更新为 iOS4,并将其连接到我的 Mac。我打开 Xcode 的管理器,然后单击“用于开发”。从那时起,当我在 iPod 上打开 te Settings App 时,在“Safari”和“Nike+”之间有一个额外的部分,称为“Developer”(它不是 Safari 的调试控制台!)。
When I select it, the awesome navigation controller pushes me to a view where I can enable 'Logging.'
当我选择它时,令人敬畏的导航控制器将我推到一个视图中,我可以在其中启用“日志记录”。
Developer Settings http://img27.imageshack.us/img27/3953/64465588.jpg
开发者设置 http://img27.imageshack.us/img27/3953/64465588.jpg
Can anyone explain me what this exactly is? My device is NOTJailbroken.
谁能解释一下这到底是什么?我的设备没有越狱。
回答by user342492
This allows you to log the power consumption of your apps while you use the phone out and about and then view the results in Instruments.
这允许您在外出和使用手机时记录应用程序的功耗,然后在 Instruments 中查看结果。
More details here (Energy Diagnostics): http://developer.apple.com/mac/library/documentation/DeveloperTools/Conceptual/InstrumentsUserGuide/Built-InInstruments/Built-InInstruments.html
更多细节在这里(能源诊断):http: //developer.apple.com/mac/library/documentation/DeveloperTools/Conceptual/InstrumentsUserGuide/Built-InInstruments/Built-InInstruments.html
This is useful since the power usage of your app can vary greatly in the real world vs when it is directly connected to Instruments via USB.
这很有用,因为与通过 USB 直接连接到 Instruments 时,您的应用程序的电源使用情况在现实世界中可能会有很大差异。