【发布时间】:2012-06-01 10:30:47
【问题描述】:
此弹出窗口阻止其他脚本运行并打印以下内容:
仪器[2596]:kCGErrorInvalidConnection: CGSGetCurrentCursorLocation:无效的连接工具[2596] : kCGErrorFailure: 设置断点@CGErrorBreakpoint() 为 捕获记录的错误。
分段错误:11
我使用子进程(在 python 中)运行多个脚本来测试我的应用程序。
这是仪器中的错误吗?导致有时它只是打印以记录调试事件:“目标应用程序似乎已死亡”,这不会停止脚本流。
有什么想法吗?
[编辑]
我昨天更新了命令行工具,现在似乎提供了更多详细信息:
[__NSCFType transport]: unrecognized selector sent to instance 0x7fa54ba61b50
09:43:49.987 instruments[2544:1203]_stopScript: threw -[__NSCFType transport]: unrecognized selector sent to instance 0x7fa54ba61b50
2012-06-15 09:43:49.988 instruments[2544:1203] * -[NSConditionLock dealloc]: lock (NSConditionLock: 0x7fa548dbd480> '(null)') deallocated while still in use
2012-06-15 09:43:49.988 instruments[2544:1203] * Break on _NSLockError() to debug.
【问题讨论】:
-
好的,我想我找到了解决方案。
-
使用iPhone模拟器目录下的.app文件。
-
你能把它写成答案吗?我想将其标记为正确的。谢谢
标签: ios command-line instruments ios-ui-automation