I scanned 23 open‑source Expo apps before they hit the App Store. Here’s what a pre‑flight check caught.
说明与用途
Expo 开发者经常因配置错误导致构建失败或 App Store 审核被拒。作者创建了 expo‑preflight CLI,静态分析配置文件,在 23 个热门仓库中发现 13 个真实问题,将误报从 83 降至 29。
问题
Expo builds and store reviews often fail due to configuration errors that are hard to detect manually.
结果
The tool reduced reported errors from 83 to 29 after fixes, uncovered 13 real configuration problems, and demonstrated the value of automated cross‑file consistency checks.
工作流
- Clone each repository
- Run
npx expo-preflight - Review the generated report
- Fix identified issues
- Re‑run the tool to confirm resolution
证据
I built a small CLI to do it, and then pointed it at real apps to see whether the problems are real.
It reads app.json / app.config.*, package.json, eas.json and .gitignore, never runs your app and never prints secret values.
My first run produced 36 errors and 56 warnings, and roughly half were wrong.
Missing iOS usage strings (4 of the 6 apps with expo-image-picker or expo-media-library installed).
A tracked .env in git (2 of 23 apps).
Update channels that don't exist (2 of the 6 apps with both expo-updates and an eas.json).
- 记录日期: 2026-10-05T13:55:53.539Z