首页 > 解决方案 > 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 集成测试运行吗?提前致谢!

标签: flutterdartintegration-testingfirebase-test-labflutter-integration-test

解决方案


推荐阅读