Xcode Instruments 给出此错误 "Could not start script, target application is not frontmost."

标签 xcode user-interface automation

我正在使用 Xcode 5.0 版并尝试使用工具,当我运行包含“var target = UIATarget.localTarget();”的脚本时

出现以下错误:“无法启动脚本,目标应用程序不是最前面的。”

最佳答案

这是已知问题:

The message “Could Not Start Script : Target app is not frontmost” may be displayed when attempting to capture a UI Automation script in Instruments against the iOS 7 Simulator. If this occurs, close the trace document and create a new one. 15387075

来源:Xcode 5.0.2 Release notes

关于Xcode Instruments 给出此错误 "Could not start script, target application is not frontmost.",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19948890/

相关文章:

ios - 我可以从 Swift 中的地址获取用户的经度和纬度吗?

objective-c - Cocoa 应用示例

java - 使用 JColorChooser 中的 ColorPanel

android - AnySoftKeyboard 在我隐藏它之后保留垃圾数据

Java SWT 库在 Windows 10 中的糟糕布局

testing - 在 Windows Powershell 中选择用于 Web UI 测试自动化的下拉列表选项

objective-c - 将 initWithFrame : trigger init?

com - C# Visual Studio : How to have multiple developers on a solution that references Office?

android - 是否可以从 android Activity 运行 ui 自动化?

ios - 警告 ITMS-90725 :SDK Version Issue