AirtestProject / AirtestProject/iOS-Tagent

使用xcodebuild构建失败

未关闭
#235 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Objective-C
星标
722
派生
194
PR 合并指标
30 天内没有已合并 PR

描述

xcodebuild构建指令:
xcodebuild -workspace /Users/qitmac001099/work/crack/ios/tools/WebDriverAgent/WebDriverAgent.xcodeproj/project.xcworkspace -scheme WebDriverAgentRunner -destination 'id=' test

报错:
Testing failed:
Building for iOS, but the embedded framework 'RoutingHTTPServer.framework' was built for iOS + iOS Simulator.
Building for iOS, but the linked and embedded framework 'RoutingHTTPServer.framework' was built for iOS + iOS Simulator.
Testing cancelled because the build failed.

** TEST FAILED **

百度解决方案:
将Build Setting -> Validata WorkSpace 置为YES
![image](https://user-images.githubusercontent.com/21008548/187401770-1b18d6f7-88c4-4641-bb38-f0567752c990.png)

改完后依旧不好使,怀疑作者在编辑WebDriverAgentLib三方库的时候没有将Build Setting -> Validata WorkSpace 置为YES
作者有时间帮忙看一下是不是这个点的问题,如果是帮忙更新一版三方库

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。