MacにAppium環境を構築する
手順
appium本体
brew install appium brew services start appium
共通パッケージ
brew instal ffmpeg
android + UIAutomator 2.0
環境変数に以下が設定されていること。
- JAVA_HOME
- ANDROID_HOME
Android SDKのPlatform Toolsにパスが通っていること
- export PATH=$PATH:$ANDROID_HOME/platform-tools
appium driver install uiautomator2
brew install bundletool
ln -s /usr/local/bin/bundletool /usr/local/bin/bundletool.jar
brew install gstreamer
appium driver doctor uiautomator2
iOS
appium driver install xcuitest
brew tap wix/brew
brew install applesimutils
brew tap facebook/fb
brew install idb-companion
pip3 install --user fb-idb
export PATH="$(python3 -m site --user-base)/bin:$PATH"
appium driver doctor xcuitest
Mac Catalyst
appium driver install mac2
automationmodetool enable-automationmode-without-authentication
appium driver doctor mac2