Skip to content

fix: set the WebDriverAgent simulator deployment target to 15.1 - #29

Open
mikehardy wants to merge 1 commit into
mainfrom
fix/wda-xcode-27-deployment-target
Open

mikehardy wants to merge 1 commit into
mainfrom
fix/wda-xcode-27-deployment-target

Conversation

@mikehardy

Copy link
Copy Markdown
Collaborator

Summary

  • Pass IPHONEOS_DEPLOYMENT_TARGET=15.1 when prebuilding vendored WebDriverAgent so Xcode 27 simulator SDKs accept the project (it still defaults to iOS 12.0).
  • The same override stays valid on Xcode 26.6, which is what GitHub-hosted iOS CI uses today.
  • Lock the xcodebuild invocation with a unit test and note the target in the Appium CI docs.

Test plan

  • yarn test, yarn test:coverage, yarn typecheck, yarn lint, CLI --help, and bash -n scripts/ci/run-ios-e2e-cell.sh
  • Local Xcode 27.2: dynamic and static cells both reached WebDriverAgent TEST BUILD SUCCEEDED with deployment target 15.1
  • GitHub-hosted iOS dynamic and static cells complete the Appium session (this host has no Simulator.app, so WDIO could not open the Simulator UI)
  • Self-hosted CI on ci/mellifera-runner-select picks up this commit and gets past WDA prebuild

Vendored WebDriverAgent still defaults to iOS 12.0, which Xcode 27 simulator SDKs reject. Pass an explicit deployment target so the same prebuild works on Xcode 26 and Xcode 27.
@codecov

codecov Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.20%. Comparing base (e04366b) to head (ddf2db1).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main      #29      +/-   ##
============================================
+ Coverage     63.83%   64.20%   +0.36%     
  Complexity       15       15              
============================================
  Files            22       22              
  Lines          1084     1084              
  Branches        251      251              
============================================
+ Hits            692      696       +4     
+ Misses          318      316       -2     
+ Partials         74       72       -2     
Flag Coverage Δ
e2e-android 81.70% <ø> (ø)
e2e-ios-dynamic 90.62% <ø> (ø)
e2e-ios-static 63.07% <ø> (+2.46%) ⬆️
unit-js 62.02% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant