返回 Skill 列表
extension
分类: 开发与工程无需 API Key

ios-build-test

快速的iOS构建和测试周期,并带有错误检测

person作者: jakexiaohubgithub

iOS Build & Test Workflow

Execute a fast build and test cycle for the Leavn iOS app:

  1. Clean if needed:
make clean
  1. Build for simulator:
make sim-build 2>&1 | tee /tmp/build_output.txt
  1. Check for errors:
grep -E "error:|BUILD FAILED" /tmp/build_output.txt
  1. If build succeeds, run tests:
make test 2>&1 | tee /tmp/test_output.txt
  1. Report:
  • Build status (success/failure)
  • Error count
  • Test results (passed/failed/skipped)
  • Time taken

Return a concise summary with next steps if failures occur.