Appium 求助 WebDriverAgent 安装失败问题 Task failed with exit code 6

陈子昂 · 2018年04月26日 · 最后由 叶公 回复于 2021年04月15日 · 3047 次阅读

我没对 WebDriverAgent 怎么样,WebDriverAgent 摆在本地任意文件夹下面。
前往文件夹内,执行了shell sh ./Scripts/bootstrap.sh,然后就这样了。。。

*** Checking out RoutingHTTPServer at "v1.0.1"
*** xcodebuild output can be found in /var/folders/5j/f1kcvnbn74d4nhw0dph1_gncp5r69l/T/carthage-xcodebuild.qLNoMO.log
*** Building scheme "RoutingHTTPServer iOS" in RoutingHTTPServer.xcodeproj
Build Failed
    Task failed with exit code 6:
    /usr/bin/xcrun simctl list devices

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/5j/f1kcvnbn74d4nhw0dph1_gncp5r69l/T/carthage-xcodebuild.qLNoMO.log

我没对他怎么样啊。。

如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
共收到 5 条回复 时间 点赞

说是编译失败,官方有个文章说怎么配置 iOS 真机的

雨夜狂奔 回复

我还没配置 ios 真机,我这个过程是在安装完 appium 之后就进行编译这个。。是否这个顺序也有问题。。

执行这个看看
/usr/bin/xcrun simctl list devices

恒温 回复

给大佬递瓶阔乐。

== Devices ==
-- iOS 11.3 --
    iPhone 5s (A99FF73B-B367-4E08-BA03-6EDE2486176E) (Shutdown)
    iPhone 6 (1C0DA31F-BC6A-4526-80F5-97A381377745) (Shutdown)
    iPhone 6 Plus (AAF41AE0-D0D1-420F-BACF-E009E830E715) (Shutdown)
    iPhone 6s (F6C14765-CAE2-4976-AC3C-E78A77C6A2A4) (Shutdown)
    iPhone 6s Plus (124FA83C-A127-4E5B-A590-6ABF94D41B57) (Shutdown)
    iPhone 7 (B747444D-FBCE-45DC-BD0B-620622CC3E32) (Shutdown)
    iPhone 7 Plus (477BA6EE-609B-45C3-992D-BDA8A9CF7696) (Shutdown)
    iPhone 8 (5F17B2AE-446D-4E16-A927-DCB350FB2FEE) (Shutdown)
    iPhone 8 Plus (98A60BFB-080D-4D1E-BB73-334A6EC41D8D) (Shutdown)
    iPhone SE (679165D1-C6E9-495B-BE97-729F4554A728) (Shutdown)
    iPhone X (1C62D596-3E05-4A40-B84B-6475FC109AFB) (Shutdown)
    iPad Air (92903B89-A29B-4B1F-AA65-A7CC59F8FF9E) (Shutdown)
    iPad Air 2 (7CC77694-A060-44AA-B3B4-811FC025C2A2) (Shutdown)
    iPad (5th generation) (5211A99F-A66F-4671-83F6-57B7265CB597) (Shutdown)
    iPad Pro (9.7-inch) (D2DBF2D5-7E30-4B4A-9ABA-E4939CD8BD39) (Shutdown)
    iPad Pro (12.9-inch) (CF50BD63-73E7-4183-8CA0-1FE4E6E1F12B) (Shutdown)
    iPad Pro (12.9-inch) (2nd generation) (A569F9FA-9B77-4729-8FA9-F568D305934F) (Shutdown)
    iPad Pro (10.5-inch) (C957A629-6517-489D-A6B9-494721551493) (Shutdown)
-- tvOS 11.3 --
    Apple TV (6AA0A141-E716-411D-90A7-859CF2900A5E) (Shutdown)
    Apple TV 4K (00420432-7C01-4B1F-939E-19A943C29087) (Shutdown)
    Apple TV 4K (at 1080p) (60B80358-E215-4553-A275-3020D6ABC52C) (Shutdown)
-- watchOS 4.3 --
    Apple Watch - 38mm (834A2059-A7EE-4AD9-8401-CEEEB6438654) (Shutdown)
    Apple Watch - 42mm (217683CB-DE11-4E2E-830F-FA633821AA49) (Shutdown)
    Apple Watch Series 2 - 38mm (7BBC3459-41CA-4A98-B9F4-293AF0EEE140) (Shutdown)
    Apple Watch Series 2 - 42mm (DDC6DC32-3318-43AB-A0E6-EFEE7322DD61) (Shutdown)
    Apple Watch Series 3 - 38mm (62C53F21-6E76-4C0E-A225-316B2920770E) (Shutdown)
    Apple Watch Series 3 - 42mm (4A4F778E-E561-46E8-A0B6-091BBC3DE6F7) (Shutdown)
-- Unavailable: com.apple.CoreSimulator.SimRuntime.iOS-11-2 --
    iPhone 5s (4CB3FCD9-C943-406E-9250-DC2A885A4D60) (Shutdown) (unavailable, runtime profile not found)
    iPhone 6 (D573FE6F-5B57-49AA-8A9F-D84EE4CFB43C) (Shutdown) (unavailable, runtime profile not found)
    iPhone 6 Plus (1B7FE07D-54F3-436E-BD8F-689F26F918B3) (Shutdown) (unavailable, runtime profile not found)
    iPhone 6s (01D0E3B5-BE5F-4DA9-96FB-E93AF17ADAD5) (Shutdown) (unavailable, runtime profile not found)
    iPhone 6s Plus (9A4D8113-6B26-488D-8D56-A037C8C403A2) (Shutdown) (unavailable, runtime profile not found)
    iPhone 7 (E201A3B3-9D19-40CA-A6EC-D1A4B1BBE061) (Shutdown) (unavailable, runtime profile not found)
    iPhone 7 Plus (23691812-0489-4CF9-8DB4-7AEBC7A302E7) (Shutdown) (unavailable, runtime profile not found)
    iPhone 8 (01F8A0C4-27B0-4734-9F8E-D2CC2AEA521A) (Shutdown) (unavailable, runtime profile not found)
    iPhone 8 Plus (91702601-E1CC-4096-A4BB-BA53F259C707) (Shutdown) (unavailable, runtime profile not found)
    iPhone SE (0F5C5739-2579-4F48-9757-59CB1AD9A422) (Shutdown) (unavailable, runtime profile not found)
    iPhone X (4178500F-E4FD-4E4D-8126-2D92692A2778) (Shutdown) (unavailable, runtime profile not found)
    iPad Air (822A962A-EF56-4B29-AC0C-A94672A281FA) (Shutdown) (unavailable, runtime profile not found)
    iPad Air 2 (972A3496-5481-4EA7-812D-0B01E97D1984) (Shutdown) (unavailable, runtime profile not found)
    iPad (5th generation) (0C531AF0-2825-4290-9289-91228BFFD61E) (Shutdown) (unavailable, runtime profile not found)
    iPad Pro (9.7-inch) (A241A12D-422B-43B8-9CDE-6D73048BD1E1) (Shutdown) (unavailable, runtime profile not found)
    iPad Pro (12.9-inch) (0EF7BBAF-031D-4C5D-B771-18ECD4240B95) (Shutdown) (unavailable, runtime profile not found)
    iPad Pro (12.9-inch) (2nd generation) (7471A066-D5E5-4677-A289-B73975782E8D) (Shutdown) (unavailable, runtime profile not found)
    iPad Pro (10.5-inch) (9880540B-840F-46C7-8542-5D7F758A5281) (Shutdown) (unavailable, runtime profile not found)
-- Unavailable: com.apple.CoreSimulator.SimRuntime.tvOS-11-2 --
    Apple TV (047BEF42-66C2-4C8E-94BE-FDA3F026F078) (Shutdown) (unavailable, runtime profile not found)
    Apple TV 4K (834439E9-7579-48A9-8AC9-F26F39AFFA61) (Shutdown) (unavailable, runtime profile not found)
    Apple TV 4K (at 1080p) (86326726-89CC-460C-8390-8F15B8D6A4A3) (Shutdown) (unavailable, runtime profile not found)
-- Unavailable: com.apple.CoreSimulator.SimRuntime.watchOS-4-2 --
    Apple Watch - 38mm (E4BBBE89-A7D4-4616-9047-BB76F11349F6) (Shutdown) (unavailable, runtime profile not found)
    Apple Watch - 42mm (B96E50BE-FCE3-4672-AB44-96577E2E5270) (Shutdown) (unavailable, runtime profile not found)
    Apple Watch Series 2 - 38mm (A277557B-45D1-4196-9B5D-EC7DCCAB8CED) (Shutdown) (unavailable, runtime profile not found)
    Apple Watch Series 2 - 42mm (056976F6-1B85-40D2-8D6B-340684B9EAEC) (Shutdown) (unavailable, runtime profile not found)
    Apple Watch Series 3 - 38mm (4E336BB4-64F1-4C6B-97F3-CF272124217A) (Shutdown) (unavailable, runtime profile not found)
    Apple Watch Series 3 - 42mm (B2F5606D-0D73-45C5-B37B-0D611A1BC3AA) (Shutdown) (unavailable, runtime profile not found)

请问这个问题后面解决了吗

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册