Skip to content

Commit

Permalink
fix: enhance ios setup
Browse files Browse the repository at this point in the history
  • Loading branch information
AyaMahmoud148 committed Nov 26, 2024
1 parent 73e1687 commit a4ae17b
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,6 @@ commands:
npm install --save-dev appium-uiautomator2-driver@3.0.5
npm install --save-dev appium-xcuitest-driver@7.9.1
# Install Android build tools and platform tools
sdkmanager "build-tools;34.0.0"
sdkmanager "platform-tools"
sdkmanager "platforms;android-34"
# Verify installations
echo "Verifying installations..."
appium --version
Expand Down Expand Up @@ -370,16 +365,8 @@ commands:
adb shell ping -c 4 8.8.8.8
echo "Testing proxy connection..."
adb shell curl -v --proxy 127.0.0.1:8084 http://mitm.it || {
echo "Proxy test failed. Debug info:"
echo "Current proxy settings:"
adb shell settings get global http_proxy
echo "Network interfaces:"
adb shell ifconfig
echo "Running proxy processes:"
ps aux | grep mitm
}
echo "Testing HTTPS connection through proxy..."
adb shell am start -a android.intent.action.VIEW -d https://google.com
setup_ios_proxy:
steps:
Expand Down

0 comments on commit a4ae17b

Please sign in to comment.