appium1.7.1链接真机测试记录-创新互联

ogon:~ zhouhaijun$ appium

专注于为中小企业提供做网站、成都网站设计服务,电脑端+手机端+微信端的三站合一,更高效的管理,为中小企业岚皋免费做网站提供优质的服务。我们立足成都,凝聚了一批互联网行业人才,有力地推动了千余家企业的稳健成长,帮助中小企业通过网站建设实现规模扩充和转变。

[Appium] Welcome to Appium v1.7.1

[Appium] Appium REST http interface listener started on 0.0.0.0:4723

[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"app":"/Users/zhouhaijun/workspace/.metadata/appium1.6/app/Toon.ipa","newCommandTimeout":3600,"platformVersion":"11.0.3","useNewWDA":false,"automationName":"XCUITest","bundleId":"com.systoon.beijingtong","platformName":"iOS","udid":"0259411d3508a459149c8aec521ff5845a2e835b","deviceName":"iPhonexq"}}

[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/zhouhaijun/workspace/.metadata/appium1.6/app/Toon.ipa","newCommandTimeout":3600,"platformVersion":"11.0.3","useNewWDA":false,"automationName":"XCUITest","bundleId":"com.systoon.beijingtong","platformName":"iOS","udid":"0259411d3508a459149c8aec521ff5845a2e835b","deviceName":"iPhonexq"},null,null]

[debug] [BaseDriver] Event 'newSessionRequested' logged at 1510800431256 (10:47:11 GMT+0800 (CST))

[Appium] Creating new XCUITestDriver (v2.58.1) session

[Appium] Capabilities:

[Appium]  app: '/Users/zhouhaijun/workspace/.metadata/appium1.6/app/Toon.ipa'

[Appium]  newCommandTimeout: 3600

[Appium]  platformVersion: '11.0.3'

[Appium]  useNewWDA: false

[Appium]  automationName: 'XCUITest'

[Appium]  bundleId: 'com.systoon.beijingtong'

[Appium]  platformName: 'iOS'

[Appium]  udid: '0259411d3508a459149c8aec521ff5845a2e835b'

[Appium]  deviceName: 'iPhonexq'

[BaseDriver] Session created with session id: d563a918-d8e7-448b-9d2d-e4de703426fe

[debug] [XCUITest] Current user: 'zhouhaijun'

[debug] [XCUITest] Xcode version set to '9.1' (tools v9.0.1.0.1.1506734476)

[debug] [XCUITest] iOS SDK Version set to '11.1'

[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1510800432392 (10:47:12 GMT+0800 (CST))

[debug] [XCUITest] Available devices: 4059b719867c2ed5b3535a3e49f82cd181259b28, 0259411d3508a459149c8aec521ff5845a2e835b

[debug] [XCUITest] Creating iDevice object with udid '0259411d3508a459149c8aec521ff5845a2e835b'

[XCUITest] Determining device to run tests on: udid: '0259411d3508a459149c8aec521ff5845a2e835b', real device: true

[BaseDriver] Using local app '/Users/zhouhaijun/workspace/.metadata/appium1.6/app/Toon.ipa'

[debug] [BaseDriver] Copying local zip to tmp dir

[debug] [BaseDriver] Unzipping /var/folders/l_/ptwfq82j1wjg5_y08tp1gmnm0000gn/T/20171016-1957-1y50jw7.tdi06enrk9/appium-app.zip

[debug] [BaseDriver] Testing zip archive: /var/folders/l_/ptwfq82j1wjg5_y08tp1gmnm0000gn/T/20171016-1957-1y50jw7.tdi06enrk9/appium-app.zip

[BaseDriver] Unzipped local app to '/var/folders/l_/ptwfq82j1wjg5_y08tp1gmnm0000gn/T/20171016-1957-1y50jw7.tdi06enrk9/Payload/toon.app'

[debug] [BaseDriver] Event 'appConfigured' logged at 1510800436360 (10:47:16 GMT+0800 (CST))

[debug] [XCUITest] Checking whether app '/var/folders/l_/ptwfq82j1wjg5_y08tp1gmnm0000gn/T/20171016-1957-1y50jw7.tdi06enrk9/Payload/toon.app' is actually present on file system

[debug] [XCUITest] App is present

[debug] [BaseDriver] Event 'resetStarted' logged at 1510800436362 (10:47:16 GMT+0800 (CST))

[debug] [XCUITest] Reset: running ios real device reset flow

[debug] [BaseDriver] Event 'resetComplete' logged at 1510800436363 (10:47:16 GMT+0800 (CST))

[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog

[debug] [iOSLog] Starting iOS device log capture with: 'idevicesyslog'

[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1510800436546 (10:47:16 GMT+0800 (CST))

[XCUITest] Setting up real device

[debug] [XCUITest] Reset requested. Removing app with id 'com.systoon.beijingtong' from the device

[debug] [XCUITest] Installing '/var/folders/l_/ptwfq82j1wjg5_y08tp1gmnm0000gn/T/20171016-1957-1y50jw7.tdi06enrk9/Payload/toon.app' on device with UUID '0259411d3508a459149c8aec521ff5845a2e835b'...

[debug] [XCUITest] Stdout: '[....] Waiting for iOS device to be connected

Skipping 4059b719867c2ed5b3535a3e49f82cd181259b28 (N71AP, iPhone 6s, iphoneos, arm64) a.k.a. 'iPhone'.

[....] Using 0259411d3508a459149c8aec521ff5845a2e835b (N56AP, iPhone 6 Plus, iphoneos, arm64) a.k.a. 'iPhonexq'.

------ Install phase ------

[ 0%] Found 0259411d3508a459149c8aec521ff5845a2e835b (N56AP, iPhone 6 Plus, iphoneos, arm64) a.k.a. 'iPhonexq' connected through USB, beginning install

[ 52%] CreatingStagingDirectory

[ 57%] ExtractingPackage

[ 60%] InspectingPackage

[ 60%] TakingInstallLock

[ 65%] PreflightingApplication

[ 65%] InstallingEmbeddedProfile

[ 70%] VerifyingApplication

'. Stderr: '2017-11-16 10:50:31.060 ios-deploy[1985:53470] [ !! ] Error 0xe8000067: There was an internal API error. AMDeviceSecureInstallApplication(0, device, url, options, install_callback, 0)

'.

[XCUITest] Error: Could not install app: 'Command 'ios-deploy --id 0259411d3508a459149c8aec521ff5845a2e835b --bundle /var/folders/l_/ptwfq82j1wjg5_y08tp1gmnm0000gn/T/20171016-1957-1y50jw7.tdi06enrk9/Payload/toon.app' exited with code 253'

  at IOSDeploy.install$ (../../lib/ios-deploy.js:40:13)

  at tryCatch (/usr/local/lib/node_modules/appium/node_modules/_babel-runtime@5.8.24@babel-runtime/regenerator/runtime.js:67:40)

  at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/_babel-runtime@5.8.24@babel-runtime/regenerator/runtime.js:315:22)

  at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/local/lib/node_modules/appium/node_modules/_babel-runtime@5.8.24@babel-runtime/regenerator/runtime.js:100:21)

  at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/_babel-runtime@5.8.24@babel-runtime/regenerator/runtime.js:136:37)

 Error: Could not install app: 'Command 'ios-deploy --id 0259411d3508a459149c8aec521ff5845a2e835b --bundle /var/folders/l_/ptwfq82j1wjg5_y08tp1gmnm0000gn/T/20171016-1957-1y50jw7.tdi06enrk9/Payload/toon.app' exited with code 253'

  at IOSDeploy.install$ (../../lib/ios-deploy.js:40:13)

  at tryCatch (/usr/local/lib/node_modules/appium/node_modules/_babel-runtime@5.8.24@babel-runtime/regenerator/runtime.js:67:40)

  at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/_babel-runtime@5.8.24@babel-runtime/regenerator/runtime.js:315:22)

  at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/local/lib/node_modules/appium/node_modules/_babel-runtime@5.8.24@babel-runtime/regenerator/runtime.js:100:21)

  at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/_babel-runtime@5.8.24@babel-runtime/regenerator/runtime.js:136:37)

[debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.

[debug] [iOSLog] Stopping iOS log capture

[MJSONWP] Encountered internal error running command: Error: Could not install app: 'Command 'ios-deploy --id 0259411d3508a459149c8aec521ff5845a2e835b --bundle /var/folders/l_/ptwfq82j1wjg5_y08tp1gmnm0000gn/T/20171016-1957-1y50jw7.tdi06enrk9/Payload/toon.app' exited with code 253'

  at IOSDeploy.install$ (../../lib/ios-deploy.js:40:13)

  at tryCatch (/usr/local/lib/node_modules/appium/node_modules/_babel-runtime@5.8.24@babel-runtime/regenerator/runtime.js:67:40)

  at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/_babel-runtime@5.8.24@babel-runtime/regenerator/runtime.js:315:22)

  at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/local/lib/node_modules/appium/node_modules/_babel-runtime@5.8.24@babel-runtime/regenerator/runtime.js:100:21)

  at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/_babel-runtime@5.8.24@babel-runtime/regenerator/runtime.js:136:37)

[HTTP] <-- POST /wd/hub/session 500 200375 ms - 357

^C[Appium] Received SIGINT - shutting down

bogon:~ zhouhaijun$ Not clearing log files. Use `clearSystemFiles` capability to turn on.

-bash: clearSystemFiles: command not found

-bash: Not: command not found

bogon:~ zhouhaijun$ brew update

To restore the stashed changes to /usr/local/Homebrew run:

 'cd /usr/local/Homebrew && git stash pop'

Already up-to-date.

bogon:~ zhouhaijun$ brew reinstall --HEAD libimobiledevice

==> Reinstalling libimobiledevice

==> Installing dependencies for libimobiledevice: libxml2, openssl

==> Installing libimobiledevice dependency: libxml2

==> Downloading https://homebrew.bintray.com/bottles/libxml2-2.9.7.sierra.bottle.tar.gz

######################################################################## 100.0%

==> Pouring libxml2-2.9.7.sierra.bottle.tar.gz

==> Caveats

This formula is keg-only, which means it was not symlinked into /usr/local,

because macOS already provides this software and installing another version in

parallel can cause all kinds of trouble.

If you need to have this software first in your PATH run:

 echo 'export PATH="/usr/local/opt/libxml2/bin:$PATH"' >> ~/.bash_profile

For compilers to find this software you may need to set:

  LDFLAGS: -L/usr/local/opt/libxml2/lib

  CPPFLAGS: -I/usr/local/opt/libxml2/include

For pkg-config to find this software you may need to set:

  PKG_CONFIG_PATH: /usr/local/opt/libxml2/lib/pkgconfig

If you need Python to find bindings for this keg-only formula, run:

 echo /usr/local/opt/libxml2/lib/python2.7/site-packages >> /usr/local/lib/python2.7/site-packages/libxml2.pth

 mkdir -p /Users/zhouhaijun/Library/Python/2.7/lib/python/site-packages

 echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> /Users/zhouhaijun/Library/Python/2.7/lib/python/site-packages/homebrew.pth

==> Summary

 /usr/local/Cellar/libxml2/2.9.7: 281 files, 10.4MB

==> Installing libimobiledevice dependency: openssl

==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2m.sierra.bottle.tar.gz

######################################################################## 100.0%

==> Pouring openssl-1.0.2m.sierra.bottle.tar.gz

==> Caveats

A CA file has been bootstrapped using certificates from the SystemRoots

keychain. To add additional certificates (e.g. the certificates added in

the System keychain), place .pem files in

 /usr/local/etc/openssl/certs

and run

 /usr/local/opt/openssl/bin/c_rehash

This formula is keg-only, which means it was not symlinked into /usr/local,

because Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries.

If you need to have this software first in your PATH run:

 echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.bash_profile

For compilers to find this software you may need to set:

  LDFLAGS: -L/usr/local/opt/openssl/lib

  CPPFLAGS: -I/usr/local/opt/openssl/include

For pkg-config to find this software you may need to set:

  PKG_CONFIG_PATH: /usr/local/opt/openssl/lib/pkgconfig

==> Summary

 /usr/local/Cellar/openssl/1.0.2m: 1,792 files, 12.3MB

==> Installing libimobiledevice --HEAD

==> Cloning https://git.libimobiledevice.org/libimobiledevice.git

Updating /Users/zhouhaijun/Library/Caches/Homebrew/libimobiledevice--git

==> Checking out branch master

==> ./autogen.sh

==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/libimobiledevice/HEAD-5a85432_2 --witho

==> make install

 /usr/local/Cellar/libimobiledevice/HEAD-5a85432_2: 67 files, 1012.3KB, built in 1 minute 10 seconds

bogon:~ zhouhaijun$ brew reinstall -s ios-webkit-debug-proxy

==> Reinstalling ios-webkit-debug-proxy

==> Downloading https://github.com/google/ios-webkit-debug-proxy/archive/v1.8.tar.gz

==> Downloading from https://codeload.github.com/google/ios-webkit-debug-proxy/tar.gz/v1.8

######################################################################## 100.0%

==> ./autogen.sh

==> ./configure --prefix=/usr/local/Cellar/ios-webkit-debug-proxy/1.8

==> make install

 /usr/local/Cellar/ios-webkit-debug-proxy/1.8: 13 files, 328.6KB, built in 1 minute 3 seconds

另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


当前标题:appium1.7.1链接真机测试记录-创新互联
文章来源:http://bzwzjz.com/article/dijpig.html

其他资讯

Copyright © 2007-2020 广东宝晨空调科技有限公司 All Rights Reserved 粤ICP备2022107769号
友情链接: 梓潼网站设计 网站建设 高端定制网站设计 成都网站建设 响应式网站建设 成都网站设计 重庆网站建设 成都网站建设流程 成都网站建设 企业网站设计 四川成都网站设计 企业网站设计 成都网站建设 定制网站制作 成都企业网站制作 成都网站建设 成都品牌网站设计 成都网站制作 手机网站制作 成都网站制作公司 外贸营销网站建设 专业网站设计