xcode 外部设备上的 iOS 远程调试
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5178307/
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
iOS Remote Debugging on external Devices
提问by StefaW
I am not sure if I can remote debug an application running on an Iphone which is not next to me? We test your app. well but some users have issues sometimes we can not replicate and dont know where to start digging in this cases. So it would be very easy for us when we can just connect the remote debugger via the internet to an device. Is is possible somehow? Most of the guys using the app we could remote to there PCs (but the majority dont uses macs...) and run tools there, is this maybe an easier solution?
我不确定是否可以远程调试在我身边的 Iphone 上运行的应用程序?我们测试您的应用程序。好吧,但有些用户有时会遇到问题,我们无法复制,并且在这种情况下不知道从哪里开始挖掘。因此,当我们可以通过互联网将远程调试器连接到设备时,这对我们来说非常容易。有可能吗?大多数使用该应用程序的人我们可以远程连接到那里的 PC(但大多数人不使用 macs...)并在那里运行工具,这可能是一个更简单的解决方案吗?
For Mac Os I found this http://developer.apple.com/library/mac/#documentation/DeveloperTools/Conceptual/XcodeDebugging/300-Debugging_Programs_Remotely/remote_debugging.htmlBut this is not for iOS...
对于 Mac Os 我发现这个http://developer.apple.com/library/mac/#documentation/DeveloperTools/Conceptual/XcodeDebugging/300-Debugging_Programs_Remotely/remote_debugging.html但这不适用于 iOS ...
Thx very very much already
Thx 已经非常非常了
回答by Jarek Potiuk
Our company just released a service exactly for that purpose: http://apphance.com. It allows you to very easily (5 minutes) integrate your application - add framework project basically and you get all the remote debugging capability included (you can access everything from very nice web panel):
我们公司刚刚为此发布了一项服务:http: //apphance.com。它允许您非常轻松地(5 分钟)集成您的应用程序 - 基本上添加框架项目,您将获得所有远程调试功能(您可以从非常好的 Web 面板访问所有内容):
- You can see logs of running application (in near-real-time)
- You can see how device conditions change over time (rotation, wifi/gprs, battery, others)
- You get crashes reported to you automatically with all relevant information
- Even out-of-memory errors are reported
- Your testers can even report problems by shaking the device - including automated screenshots
- and more.....
- 您可以查看正在运行的应用程序的日志(近乎实时)
- 您可以查看设备状况如何随时间变化(旋转、wifi/gprs、电池等)
- 您会自动收到包含所有相关信息的崩溃报告
- 甚至报告内存不足错误
- 您的测试人员甚至可以通过摇动设备来报告问题——包括自动截图
- 和更多.....
It's currently, closed beta stage but you can request access and for sure you get it.
目前处于封闭测试阶段,但您可以请求访问并确保您获得它。
回答by Skyler Saleh
All you need to do is get the crash log(you can get this at any time through the Xcode Organizer or iTunes Connect in released Applications) symbolicate it and ask the tester what they did to cause the error. This will give you every piece of info you could of gotten from GDB.
您需要做的就是获取崩溃日志(您可以随时通过 Xcode Organizer 或已发布应用程序中的 iTunes Connect 获取此日志)对其进行符号化,并询问测试人员他们做了什么导致错误。这将为您提供您可以从 GDB 获得的每一条信息。
回答by bogz_android_iphone_phonegap
Check out https://testflightapp.com/sdk/, you can get crash reports, remote logs, see how is the teststing going and much more, see link for further details.
查看https://testflightapp.com/sdk/,您可以获得崩溃报告、远程日志、查看测试进展情况等等,请参阅链接以获取更多详细信息。