• appium iOS 真机问题 at 2015年04月27日

    @luis, chenhengjie123, 非常感谢,我会朝着这个思路去捣鼓捣鼓,少走些弯路。

  • appium iOS 真机问题 at 2015年04月24日

    @chenhengjie123, 谢谢啊, 我对这个 Mac 机不是很熟悉。根据你的方法我是这么操作的在终端:
    cd /usr/local/lib/node_modules/appium/build/
    然后
    ./deviceconsole -u 8bfe0b4ff5aleac8981524cf50edc6710041ed2a

    在终端得到的结果是:
    ./deviceconsole: is a directory

    貌似没有找到 deviceconsole, 然后我接着在 deviceconsole 目录下运行:
    ./deviceconsole -u 8bfe0b4ff5aleac8981524cf50edc6710041ed2a

    得到以下结果:
    hivsSilverlightiMac2:deviceconsole hivs$ ./deviceconsole -u 8bfe0b4ff5a1eac8981524cf50edc6710041ed2a

    ========================
    ASL is here to serve you

    Apr 24 18:20:30 mstreamd[169] : (Note ) AS: : Shared Streams daemon has shut down.
    Apr 24 18:20:30 mstreamd[169] : (Warn ) mstreamd: mstreamd shutting down.
    Apr 24 18:20:30 mstreamd[170] : (Note ) mstreamd: mstreamd starting up.
    Apr 24 18:20:30 mstreamd[170] : (Note ) PS: Media stream daemon starting...
    Apr 24 18:20:34 AppleIDAuthAgent[68] : SERVER Didn't succeed with .authenticate, and error is ERROR:"CSIdentityErrorDomain" #-100 kCSIdentityAppleIDUnknownError { "file"="/SourceCache/OSServicesAgents/OSServices-616.1/AppleIDAuthentication/AppleIDXMLServerCommunications.cpp", "function"="copyAndHandleXMLErrorResponse", "line"=375, "NSUnderlyingError"=ERROR:"CSIdentityErrorDomain" #-1 { "file"="/SourceCache/OSServicesAgents/OSServices-616.1/AppleIDAuthentication/XMLRPC/XMLRPCShim.mm", "function"="xmlInvoke", "line"=90, "NSLocalizedFailureReason"="NULL response from server", "NSUnderlyingError"=ERROR:"NSURLErrorDomain" #-1009 { "NSErrorFailingURLKey"="https://identity.apple.com/dsservices/dsxmlrpc", "NSErrorFailingURLStringKey"="https://identity.apple.com/dsservices/dsxmlrpc", "NSLocalizedDescription"="The Internet connection appears to be offline.", "NSUnderlyingError"=ERROR:"kCFErrorDomainCFNetwork" #-1009 { "NSErrorFailingURLKey"="https://identity.apple.com/dsservices/dsxmlrpc", "NSErrorFailingURLStringKey"="https://identity.apple.com/dsservices/dsxmlrpc", "NSLocalizedDescription"="The Internet connection appears to be offline." } } } } so releasing session.

    请帮忙分析一下什么原因,如果操作不对请帮忙矫正一下,多谢!

  • appium iOS 真机问题 at 2015年04月24日

    @chenhengjie123, 如果是 app 的问题,那是不是需要开发者账号,安装 provisioning profile 证书在 Mobile 上呢? thanks.

  • appium iOS 真机问题 at 2015年04月24日

    多谢你的分析见解,我会尽快上传个人头像。

    从提到的官方论坛找到了如下解释:
    This issue got resolved as this issue was because the app was not developed for testing once some additional things added to app it starts working without any issue. I'll recommend please check you setup, that might be the reason of the appium not working.

    因为我使用的 app 是不知道源码的,是他人所提供,并不知晓是不是 developer 版本, 所以请问你是否也赞同以上所说的原因么?