appium 遇到 xcodebuild failed with code 65 的解决方法
2018-01-15 10:45
2326 查看
运行时提示
Unable to launch WebDriverAgent because of xcodebuild failure:xcodebuild failed with code 65
解决方法:
1开发者账号:
使用AppiumDesktop启动Appium
AppiumDesktop中加入 xcodeOrgId 和xcodeSigningId 字段
TeamID 在 https://developer.apple.com/account/ 里左侧的 Membership 中找到
使用命令启动Appium
在执行测试文件的desired_capabilities配置中添加相关字段
{
"xcodeOrgId":
"<TeamID>",
"xcodeSigningId":
"iPhoneDeveloper"
}
仅第一次需要以上字段。
2免费Apple ID账号
在appium的出错日志中找到WebDriverAgent的位置,打开进行签名
[XCUITest] Using WDA path:
'/usr/local/lib/node_modules/appium/node_modules/.2.23.1@appium-xcuitest-driver/WebDriverAgent'
更改 WebDriverAgent 的BundleID ,原来是com.facebook.WebDriverAgentLib,我建议把facebook
8e7e
改为你的名字或公司的名字,这里还有个坑,改完这个之后发现还是提示有错误,最后在BuildSettings里的Product
Bundle Identifier里再修改一下。
点击上面菜单栏的Product-> Test
运行
第一次运行会提示没有权限,打开真机上的设置App,通用 ->
描述文件与设备管理,找到你的邮箱,选择信任,再继续执行test,成功启动后就说明可以了,执行完毕后点击停止。
没有了,打开appium测试吧
免费 Apple ID 账号7天后会过期,需要重新签名
Unable to launch WebDriverAgent because of xcodebuild failure:xcodebuild failed with code 65
解决方法:
1开发者账号:
使用AppiumDesktop启动Appium
AppiumDesktop中加入 xcodeOrgId 和xcodeSigningId 字段
TeamID 在 https://developer.apple.com/account/ 里左侧的 Membership 中找到
使用命令启动Appium
在执行测试文件的desired_capabilities配置中添加相关字段
{
"xcodeOrgId":
"<TeamID>",
"xcodeSigningId":
"iPhoneDeveloper"
}
仅第一次需要以上字段。
2免费Apple ID账号
在appium的出错日志中找到WebDriverAgent的位置,打开进行签名
[XCUITest] Using WDA path:
'/usr/local/lib/node_modules/appium/node_modules/.2.23.1@appium-xcuitest-driver/WebDriverAgent'
更改 WebDriverAgent 的BundleID ,原来是com.facebook.WebDriverAgentLib,我建议把facebook
8e7e
改为你的名字或公司的名字,这里还有个坑,改完这个之后发现还是提示有错误,最后在BuildSettings里的Product
Bundle Identifier里再修改一下。
点击上面菜单栏的Product-> Test
运行
第一次运行会提示没有权限,打开真机上的设置App,通用 ->
描述文件与设备管理,找到你的邮箱,选择信任,再继续执行test,成功启动后就说明可以了,执行完毕后点击停止。
没有了,打开appium测试吧
免费 Apple ID 账号7天后会过期,需要重新签名
相关文章推荐
- appium desktop启动Inspector报错:xcodebuild failed with code 65 解决
- Appium Desktop介绍-xcodebuild failed with code 65 问题解决
- Xcode出现( linker command failed with exit code 1)错误解决方法汇总
- Xcode提示linker command failed with exit code 1 (use -v to see invocation)解决方法
- xcode编译时候出现clang: error: linker command failed with exit code 1 (use -v to see invocation)的解决方法
- PipeMapRed.waitOutputThreads(): subprocess failed with code X 报错的解决方法
- windows下使用pip安装模块发生“failed with error code 1”的解决方法
- 解决Xcode报错:Command /usr/bin/codesign failed with exit code 1
- 【解决方法】You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE)
- iOS开发-Xcode编译常见错误解决:linker command failed with exit code 1 (use -v to see invocation)
- Command /Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copystrings failed with exit code 1
- error: linker command failed with exit code 1 (use -v to see invocation)错误解决方法
- 彻底解决Xcode报错:Command /usr/bin/codesign failed with exit code 1
- 解决XCode编译异常clang: error: linker command failed with exit code 1
- 安装SQL Server 2012 RTM遇到"Microsoft .NET Framework 4.0 installation has failed with exit code 1642"的解决
- iOS开发中Xcode编译错误 linker command failed with exit code 1 (use -v to see invocation) 的解决办法
- 【已解决】Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-GFFuD_/ipython/
- Xcode编译常见错误解决:linker command failed with exit code 1 (use -v to see invocation)
- 关于phonegap 安装出现 cmd :command failed with exit code 8错误的解决方法。
- Xcode编译常见错误解决:linker command failed with exit code 1 (use -v to see invocation)