flutter - iOS 的 Flutter 集成测试
问题描述
我已按照https://github.com/flutter/flutter/tree/master/packages/integration_test#ios-device-testing的文档在 Firebase 测试实验室上为 iOS 设置 Flutter 集成测试。但是,在尝试运行命令时使用命令在本地运行测试时,我遇到了各种错误xcodebuild test-without-building -xctestrun ...
xcodebuild: error: Failed to build workspace temporary with scheme Transient Testing.
Reason: Cannot test target "RunnerTests" on "iPhone 12 Pro Max": Unable to determine the executable path for Runner.app
有人知道如何修复这个错误并让 iOS 的 Flutter 集成测试运行吗?提前致谢!
解决方案
推荐阅读
- c# - 泛型扩展方法参数限制
- react-native - 对象返回旧状态
- excel - 定义更改的列表
- c++ - 右值参考用法:需要吗?
- java - 如何从 ExpandableListView 获取特定视图?
- php - 为什么使用 x 模式的 fopen 给我“无法打开流:没有这样的文件或目录”
- json - 如何在 Amazon 的 cloudformation 模板中列出现有子网?
- typescript - 如何在 then() 内迭代结果并在循环内调用其他链式 then()
- android - 区分连接到手机的不同 USB 附件
- shell - 使用 sed replace 时转义斜杠和左方括号