build

Build the WooCommerce iOS project

SKILL.md

GitHub

Build the WooCommerce iOS project.

Use /simulator to select an available device. Run the build with that device's name:

set -o pipefail
bundle exec fastlane build_for_testing device:"<simulator-name>" 2>&1 | tee <task-build-log>

Keep the full log outside the repository. Check the build exit status before reporting success. Use the same destination and build products for installation. An installed app may require frameworks from that build; follow .claude/rules/verification.md if launch fails.

If the build fails:

  1. Analyze the error output — look for compilation errors, identify file and line
  2. Check if it is a missing import, type mismatch, syntax error, or stale generated code
  3. If stale codegen, run: bundle exec rake generate
  4. If Unable to find a device matching — use the /simulator skill to discover an available simulator, then retry
  5. Suggest or apply the fix

If the build succeeds, report success.