跳到正文
cccskills
免费在 GitHub 公开

beta

Build and upload iOS app to TestFlight

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

TestFlight Beta Release

Build and upload the iOS app to TestFlight for beta testing.

Pre-flight Checks

  • Fastlane installed: !fastlane --version 2>/dev/null | grep "fastlane " | head -1 || echo "✗ Not installed - run: brew install fastlane"
  • Fastfile exists: !ls fastlane/Fastfile 2>/dev/null && echo "✓ Found" || echo "✗ Not found - run /setup-fastlane first"
  • App-specific password: ![ -n "$FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD" ] && echo "✓ Set" || echo "⚠️ Not set - export FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD='xxxx-xxxx-xxxx-xxxx'"

Arguments: ${ARGUMENTS:-none}


What This Does

  1. Syncs certificates via Match (appstore type) — only once you've run the match skill; the base setup-fastlane lane skips this
  2. Increments build number (unless --skip-build-increment)
  3. Builds release archive with gym
  4. Uploads to TestFlight via pilot
  5. Optionally distributes to external testers (via the separate beta_external lane)

Commands

Standard Beta (Internal Testers)

Run from your project directory (where fastlane/ lives):

fastlane beta

Skip Build Number Increment

fastlane beta skip_build_increment:true

External Testers (with changelog)

fastlane beta_external changelog:"Bug fixes and performance improvements"

Troubleshooting

"No value found for 'username'"

Set your Apple ID in fastlane/Appfile:

apple_id("your@email.com")

"Please sign in with an app-specific password"

  1. Go to https://account.apple.com → Sign-In & Security → App-Specific Passwords
  2. Generate a password named "Fastlane"
  3. Export it:
export FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD='xxxx-xxxx-xxxx-xxxx'

rsync error during export

If you see --extended-attributes: unknown option, Homebrew rsync conflicts with Xcode:

brew uninstall rsync  # Use system rsync

After Upload

  • Build will appear in TestFlight within 1-5 minutes
  • Internal testers are notified automatically
  • External testers require beta_external lane or manual distribution in App Store Connect

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

match

免费

Set up Match for iOS code signing certificate management

中文简介正在准备中。当前显示原文说明。

greenstevester/fastlane-skill382026年8月31日 更新

release

免费

Submit iOS app to App Store for review

中文简介正在准备中。当前显示原文说明。

greenstevester/fastlane-skill382026年8月31日 更新

Set up Fastlane for iOS/macOS app automation

中文简介正在准备中。当前显示原文说明。

greenstevester/fastlane-skill382026年8月31日 更新

snapshot

免费

Automate App Store screenshot capture across devices and languages

中文简介正在准备中。当前显示原文说明。

greenstevester/fastlane-skill382026年8月31日 更新

查看 greenstevester 的全部技能

报告此技能的问题