xcmonkey ios monkey test

55 阅读1分钟
  • brew install facebook/fb/idb-companion #没有问题
  • pip3 install fb-idb #没有问题
  • gem install xcmonkey # 提示没有权限
  • sudo gem install xcmonkey #提示 Error installing xcmonkey: There are no versions of highline (~> 3.0.0) compatible with your Ruby & RubyGems. Maybe try installing an older version of the gem you're looking for? highline requires Ruby version >= 3.0. The current ruby version is 2.6.10.210.
  • brew install rbenv
  • eval "$(rbenv init -)" #添加到~/.bashrc
  • source ~/.bashrc
  • rbenv install 3.2.0
  • rbenv global 3.2.0
  • ruby -v #没有问题
  • sib devices #查看手机 SN号
  • 最后执行 xcmonkey test --udid "asdfasd" --bundle-id "ahah.ahaa" --event-count 100
  • 13:54:52.185: xcmonkey does not support real devices yet. For more information see github.com/alteral/xcm…
  • 看来xcmonkey不支持真机,只支持模拟器,失败,我要做真机测试,再看看fastbot吧

参考GROK grok.com/chat/7a0933…