【发布时间】:2020-07-09 19:07:56
【问题描述】:
我记录了一个 UI 测试用例,当我尝试运行它时,我收到以下消息:
"Failed to install the requested application. The bundle identifier of the application could not be determined. Ensure that the application's info.plist contains a value for CFBundleIdentifier."
它出现在模拟器和设备上的测试中。应用程序本身可以在模拟器和设备上完全构建和运行,没有问题。同一台机器上的其他应用程序的 UI 测试也会运行。
UI 测试目标的 info.plist 是我添加 UI 测试目标时创建的默认 info.plist。这可能是什么问题?
【问题讨论】:
标签: ios swift coded-ui-tests xcode-ui-testing