Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logs from the iOS command appeared during the ./zebrunner.sh setup #212

Closed
dhreben opened this issue Mar 6, 2023 · 2 comments
Closed

Logs from the iOS command appeared during the ./zebrunner.sh setup #212

dhreben opened this issue Mar 6, 2023 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@dhreben
Copy link

dhreben commented Mar 6, 2023

Steps:

  1. git clone mcloud-ios
  2. ./zebrunner.sh setup

Actual result: Logs from the iOS command appeared during the ./zebrunner.sh setup

Logs:

WebDriverAgent.ipa path [./WebDriverAgent.ipa]: 
WebDriverAgent.ipa: ./WebDriverAgent.ipa
Continue? y/n [y]:


      WARNING! iPhone_14 (0A5501EB-9344-428C-BC91-86DC823B6C85): WebDriverAgent on simulator should be installed manually via XCode!
      WARNING! iPhone_14_Pro (F7DFA485-4F6B-47C3-8055-C738FE949352): WebDriverAgent on simulator should be installed manually via XCode!
      WARNING! iPhone_8 (b09f...........7243f862b5) is disconnected now! Connect and repeat setup.
      WARNING! Apple_Watch_8 (CFBD4CE0-4496-4EB8-9746-DE19EF358AFB): WebDriverAgent on simulator should be installed manually via XCode!
      WARNING! iPhone_12 (0000................187001E) is disconnected now! Connect and repeat setup.
      WARNING! iPhone_8_Plus (d6afc6.............7c6479b9b6ebb11) is disconnected now! Connect and repeat setup.

iPhone_13_mini (0000............................801E)
{"level":"warning","msg":"there is already a developer image mounted, reboot the device if you want to remove it. aborting.","time":"2023-03-06T12:32:14+03:00"}
{"basedir":"./devimages","level":"info","msg":"success mounting image","time":"2023-03-06T12:32:14+03:00","udid":"00008.............78801E"}
Usage:
  ios listen [options]
  ios list [options] [--details]
  ios info [options]
  ios image list [options]
  ios image mount [--path=<imagepath>] [options]
  ios image auto [--basedir=<where_dev_images_are_stored>] [options]
  ios syslog [options]
  ios screenshot [options] [--output=<outfile>] [--stream] [--port=<port>]
  ios instruments notifications [options]
  ios crash ls [<pattern>] [options]
  ios crash cp <srcpattern> <target> [options]
  ios crash rm <cwd> <pattern> [options]
  ios devicename [options] 
  ios date [options]
  ios devicestate list [options]
  ios devicestate enable <profileTypeId> <profileId> [options]
  ios lang [--setlocale=<locale>] [--setlang=<newlang>] [options]
  ios mobilegestalt <key>... [--plist] [options]
  ios diagnostics list [options]
  ios profile list [options]
  ios profile remove <profileName> [options]
  ios profile add <profileFile> [--p12file=<orgid>] [--password=<p12password>] [options]
  ios httpproxy <host> <port> [<user>] [<pass>] --p12file=<orgid> --password=<p12password> [options]
  ios httpproxy remove [options]
  ios pair [--p12file=<orgid>] [--password=<p12password>] [options]
  ios ps [--apps] [options]
  ios ip [options]
  ios forward [options] <hostPort> <targetPort>
  ios dproxy [--binary]
  ios readpair [options]
  ios pcap [options] [--pid=<processID>] [--process=<processName>]
  ios install --path=<ipaOrAppFolder> [options]
  ios uninstall <bundleID> [options]
  ios apps [--system] [--all] [--list] [options]
  ios launch <bundleID> [--wait] [options]
  ios kill (<bundleID> | --pid=<processID> | --process=<processName>) [options]
  ios runtest <bundleID> [options]
  ios runwda [--bundleid=<bundleid>] [--testrunnerbundleid=<testbundleid>] [--xctestconfig=<xctestconfig>] [--arg=<a>]... [--env=<e>]... [options]
  ios ax [options]
  ios debug [options] [--stop-at-entry] <app_path>
  ios fsync (rm | tree | mkdir) --path=<targetPath>
  ios fsync (pull | push) --srcPath=<srcPath> --dstPath=<dstPath> 
  ios reboot [options]
  ios -h | --help
  ios --version | version [options]
  ios setlocation [options] [--lat=<lat>] [--lon=<lon>]
  ios setlocationgpx [options] [--gpxfilepath=<gpxfilepath>]
  ios resetlocation [options]
  ios assistivetouch (enable | disable | toggle | get) [--force] [options]
  ios diskspace [options]
Usage:
  ios listen [options]
  ios list [options] [--details]
  ios info [options]
  ios image list [options]
  ios image mount [--path=<imagepath>] [options]
  ios image auto [--basedir=<where_dev_images_are_stored>] [options]
  ios syslog [options]
  ios screenshot [options] [--output=<outfile>] [--stream] [--port=<port>]
  ios instruments notifications [options]
  ios crash ls [<pattern>] [options]
  ios crash cp <srcpattern> <target> [options]
  ios crash rm <cwd> <pattern> [options]
  ios devicename [options] 
  ios date [options]
  ios devicestate list [options]
  ios devicestate enable <profileTypeId> <profileId> [options]
  ios lang [--setlocale=<locale>] [--setlang=<newlang>] [options]
  ios mobilegestalt <key>... [--plist] [options]
  ios diagnostics list [options]
  ios profile list [options]
  ios profile remove <profileName> [options]
  ios profile add <profileFile> [--p12file=<orgid>] [--password=<p12password>] [options]
  ios httpproxy <host> <port> [<user>] [<pass>] --p12file=<orgid> --password=<p12password> [options]
  ios httpproxy remove [options]
  ios pair [--p12file=<orgid>] [--password=<p12password>] [options]
  ios ps [--apps] [options]
  ios ip [options]
  ios forward [options] <hostPort> <targetPort>
  ios dproxy [--binary]
  ios readpair [options]
  ios pcap [options] [--pid=<processID>] [--process=<processName>]
  ios install --path=<ipaOrAppFolder> [options]
  ios uninstall <bundleID> [options]
  ios apps [--system] [--all] [--list] [options]
  ios launch <bundleID> [--wait] [options]
  ios kill (<bundleID> | --pid=<processID> | --process=<processName>) [options]
  ios runtest <bundleID> [options]
  ios runwda [--bundleid=<bundleid>] [--testrunnerbundleid=<testbundleid>] [--xctestconfig=<xctestconfig>] [--arg=<a>]... [--env=<e>]... [options]
  ios ax [options]
  ios debug [options] [--stop-at-entry] <app_path>
  ios fsync (rm | tree | mkdir) --path=<targetPath>
  ios fsync (pull | push) --srcPath=<srcPath> --dstPath=<dstPath> 
  ios reboot [options]
  ios -h | --help
  ios --version | version [options]
  ios setlocation [options] [--lat=<lat>] [--lon=<lon>]
  ios setlocationgpx [options] [--gpxfilepath=<gpxfilepath>]
  ios resetlocation [options]
  ios assistivetouch (enable | disable | toggle | get) [--force] [options]
  ios diskspace [options]
{"appPath":"./WebDriverAgent.ipa","device":"00008110-001005C11E78801E","level":"info","msg":"installing","time":"2023-03-06T12:32:15+03:00"}
{"err":"failed installing: 'APIInternalError' errorDescription:'Error Domain=IXErrorDomain Code=13 \"Failed to get bundle ID from /var/mobile/Media/PublicStaging/WebDriverAgent.ipa\" UserInfo={NSLocalizedDescription=Failed to get bundle ID from /var/mobile/Media/PublicStaging/WebDriverAgent.ipa, FunctionName=+[IXPlaceholder _placeholderForBundle:client:withParent:installType:metadata:placeholderType:error:], SourceFileLine=666, NSLocalizedFailureReason=Missing bundle ID.}'","level":"fatal","msg":"failed writing","time":"2023-03-06T12:32:16+03:00"}

      WARNING! iPhone_13_mini (000................1E78801E): WebDriverAgent is not started!

iPhone_11 (0000...................0802E)
{"level":"warning","msg":"there is already a developer image mounted, reboot the device if you want to remove it. aborting.","time":"2023-03-06T12:32:18+03:00"}
{"basedir":"./devimages","level":"info","msg":"success mounting image","time":"2023-03-06T12:32:18+03:00","udid":"0000803...........90802E"}
Usage:
  ios listen [options]
  ios list [options] [--details]
  ios info [options]
  ios image list [options]
  ios image mount [--path=<imagepath>] [options]
  ios image auto [--basedir=<where_dev_images_are_stored>] [options]
  ios syslog [options]
  ios screenshot [options] [--output=<outfile>] [--stream] [--port=<port>]
  ios instruments notifications [options]
  ios crash ls [<pattern>] [options]
  ios crash cp <srcpattern> <target> [options]
  ios crash rm <cwd> <pattern> [options]
  ios devicename [options] 
  ios date [options]
  ios devicestate list [options]
  ios devicestate enable <profileTypeId> <profileId> [options]
  ios lang [--setlocale=<locale>] [--setlang=<newlang>] [options]
  ios mobilegestalt <key>... [--plist] [options]
  ios diagnostics list [options]
  ios profile list [options]
  ios profile remove <profileName> [options]
  ios profile add <profileFile> [--p12file=<orgid>] [--password=<p12password>] [options]
  ios httpproxy <host> <port> [<user>] [<pass>] --p12file=<orgid> --password=<p12password> [options]
  ios httpproxy remove [options]
  ios pair [--p12file=<orgid>] [--password=<p12password>] [options]
  ios ps [--apps] [options]
  ios ip [options]
  ios forward [options] <hostPort> <targetPort>
  ios dproxy [--binary]
  ios readpair [options]
  ios pcap [options] [--pid=<processID>] [--process=<processName>]
  ios install --path=<ipaOrAppFolder> [options]
  ios uninstall <bundleID> [options]
  ios apps [--system] [--all] [--list] [options]
  ios launch <bundleID> [--wait] [options]
  ios kill (<bundleID> | --pid=<processID> | --process=<processName>) [options]
  ios runtest <bundleID> [options]
  ios runwda [--bundleid=<bundleid>] [--testrunnerbundleid=<testbundleid>] [--xctestconfig=<xctestconfig>] [--arg=<a>]... [--env=<e>]... [options]
  ios ax [options]
  ios debug [options] [--stop-at-entry] <app_path>
  ios fsync (rm | tree | mkdir) --path=<targetPath>
  ios fsync (pull | push) --srcPath=<srcPath> --dstPath=<dstPath> 
  ios reboot [options]
  ios -h | --help
  ios --version | version [options]
  ios setlocation [options] [--lat=<lat>] [--lon=<lon>]
  ios setlocationgpx [options] [--gpxfilepath=<gpxfilepath>]
  ios resetlocation [options]
  ios assistivetouch (enable | disable | toggle | get) [--force] [options]
  ios diskspace [options]
Usage:
  ios listen [options]
  ios list [options] [--details]
  ios info [options]
  ios image list [options]
  ios image mount [--path=<imagepath>] [options]
  ios image auto [--basedir=<where_dev_images_are_stored>] [options]
  ios syslog [options]
  ios screenshot [options] [--output=<outfile>] [--stream] [--port=<port>]
  ios instruments notifications [options]
  ios crash ls [<pattern>] [options]
  ios crash cp <srcpattern> <target> [options]
  ios crash rm <cwd> <pattern> [options]
  ios devicename [options] 
  ios date [options]
  ios devicestate list [options]
  ios devicestate enable <profileTypeId> <profileId> [options]
  ios lang [--setlocale=<locale>] [--setlang=<newlang>] [options]
  ios mobilegestalt <key>... [--plist] [options]
  ios diagnostics list [options]
  ios profile list [options]
  ios profile remove <profileName> [options]
  ios profile add <profileFile> [--p12file=<orgid>] [--password=<p12password>] [options]
  ios httpproxy <host> <port> [<user>] [<pass>] --p12file=<orgid> --password=<p12password> [options]
  ios httpproxy remove [options]
  ios pair [--p12file=<orgid>] [--password=<p12password>] [options]
  ios ps [--apps] [options]
  ios ip [options]
  ios forward [options] <hostPort> <targetPort>
  ios dproxy [--binary]
  ios readpair [options]
  ios pcap [options] [--pid=<processID>] [--process=<processName>]
  ios install --path=<ipaOrAppFolder> [options]
  ios uninstall <bundleID> [options]
  ios apps [--system] [--all] [--list] [options]
  ios launch <bundleID> [--wait] [options]
  ios kill (<bundleID> | --pid=<processID> | --process=<processName>) [options]
  ios runtest <bundleID> [options]
  ios runwda [--bundleid=<bundleid>] [--testrunnerbundleid=<testbundleid>] [--xctestconfig=<xctestconfig>] [--arg=<a>]... [--env=<e>]... [options]
  ios ax [options]
  ios debug [options] [--stop-at-entry] <app_path>
  ios fsync (rm | tree | mkdir) --path=<targetPath>
  ios fsync (pull | push) --srcPath=<srcPath> --dstPath=<dstPath> 
  ios reboot [options]
  ios -h | --help
  ios --version | version [options]
  ios setlocation [options] [--lat=<lat>] [--lon=<lon>]
  ios setlocationgpx [options] [--gpxfilepath=<gpxfilepath>]
  ios resetlocation [options]
  ios assistivetouch (enable | disable | toggle | get) [--force] [options]
  ios diskspace [options]
{"appPath":"./WebDriverAgent.ipa","device":"00008030-000C456C0C90802E","level":"info","msg":"installing","time":"2023-03-06T12:32:18+03:00"}

@dhreben dhreben added the bug Something isn't working label Mar 6, 2023
@dhreben dhreben changed the title Logs from the iOS command appeared , during the ./zebrunner.sh setup Logs from the iOS command appeared during the ./zebrunner.sh setup Mar 6, 2023
@vdelendik vdelendik added this to the 2.4.4 milestone Mar 6, 2023
vdelendik pushed a commit that referenced this issue Mar 6, 2023
@vdelendik
Copy link
Contributor

fixed by adding extra question about WebDriverAgent bundle id. it should support automatic setup of the custom one as well.
all operations with ios devices were updated so it has sense to verify all steps: setup/start/stop from scratch

@dhreben
Copy link
Author

dhreben commented Mar 7, 2023

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants