Skip to content

iOS向けEAS Build・TestFlight提出ワークフローを復活 - #6508

Merged
TinyKitten merged 3 commits into
devfrom
feature/eas-for-ios
Aug 1, 2026
Merged

TinyKitten merged 3 commits into
devfrom
feature/eas-for-ios

Conversation

@TinyKitten

@TinyKitten TinyKitten commented Aug 1, 2026 •

Copy link
Copy Markdown
Member

概要

iOSのCanary/ProductionビルドとTestFlightへの提出をEAS Workflowsで再開できるようにします。あわせてEAS Build/Submit設定、iOSビルド番号、Gradle同期設定を更新します。

変更の種類

  • バグ修正
  • 新機能
  • リファクタリング
  • ドキュメント
  • CI/CD
  • その他

変更内容

  • canaryへのpushでiOS Canaryビルドを作成し、TestFlightへ提出するEAS Workflowを追加
  • masterへのpushでiOS Productionビルドを作成し、TestFlightへ提出するEAS Workflowを追加
  • development/production向けのEAS Build・Submit設定を追加
  • EAS上でGitサブモジュールを取得し、Sentry設定を復元するビルドステップを追加
  • iOSのビルド番号を2789へ更新
  • Gradle 9.4以降の並列同期設定を追加

テスト

  • npm run lint が通ること
  • npm test が通ること
  • npm run typecheck が通ること

設定およびワークフローのみの変更であるため、ローカルテストは未実施です。マージ前にEAS Workflow上でiOSビルドとTestFlight提出が成功することを確認します。

関連Issue

なし

スクリーンショット(任意)

UI変更なし

Summary by CodeRabbit

  • 新機能

    • iOSのCanary版・本番版ビルドを自動作成し、TestFlightへ提出できるようになりました。
    • 開発用・本番用のビルド設定とキャッシュ設定を追加しました。
  • 改善

    • iOSアプリおよび関連コンポーネントのビルド番号を2789に更新しました。
    • Sentry設定を利用したビルド処理に対応しました。

@coderabbitai

coderabbitai Bot commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 1c45900d-2a07-48b6-a638-d02b1ba5d6d0

📥 Commits

Reviewing files that changed from the base of the PR and between 02017d1 and 9fc32a3.

📒 Files selected for processing (1)
  • .eas/workflows/create-development-build.yml
🚧 Files skipped from review as they are similar to previous changes (1)
  • .eas/workflows/create-development-build.yml

📝 Walkthrough

Walkthrough

EASのiOS developmentおよびproductionビルド設定と、canary・master向けのTestFlight提出ワークフローを追加しました。Sentry設定を検証・生成します。iOSのビルド番号を2789へ更新しました。

Changes

EAS iOSビルド基盤

Layer / File(s) Summary
EASビルドと提出設定
.eas/..., eas.json
EAS CLI要件、development・productionのビルドプロファイル、iOS・Androidの提出設定を定義しました。
ブランチ別iOSビルドワークフロー
.eas/workflows/*
canaryまたはmasterへのpushで、サブモジュール取得、Sentry設定、iOSビルド、TestFlight提出を実行します。

iOSビルド番号更新

Layer / File(s) Summary
iOSビルド番号の同期
app.config.ts, ios/TrainLCD.xcodeproj/project.pbxproj
アプリ設定とXcodeの全ビルド構成で、ビルド番号を2789に更新しました。

Estimated code review effort: 3 (Moderate) | ~20 minutes

Sequence Diagram(s)

sequenceDiagram
  participant GitPush as ブランチpush
  participant Workflow as EASワークフロー
  participant Sentry as Sentry設定
  participant EAS as EAS Build
  participant TestFlight
  GitPush->>Workflow: canaryまたはmasterへのpush
  Workflow->>Sentry: SENTRY_PROPERTIES_BASE64をデコード
  Workflow->>EAS: iOSビルドを実行
  EAS-->>Workflow: build ID
  Workflow->>TestFlight: build IDで提出
Loading

Possibly related PRs

Suggested labels: ci/cd

Poem

白うさぎ、ビルドを跳ねて
canaryの道を駆け抜ける
Sentryの設定を抱え
TestFlightへ届けます
番号2789、ぴょん!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed タイトルはiOS向けEAS BuildとTestFlight提出ワークフローの再開という主要変更を明確に示しています。
Description check ✅ Passed 概要、変更内容、テスト状況、関連Issue、スクリーンショット欄を記載し、テンプレートの主要項目を満たしています。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/eas-for-ios

Comment @coderabbitai help to get the list of available commands.

@TinyKitten
TinyKitten marked this pull request as ready for review August 1, 2026 09:47

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (1)
.eas/workflows/create-development-build.yml (1)

16-20: 🔒 Security & Privacy | 🔵 Trivial | ⚡ Quick win

両ワークフローでサブモジュール取得のトークン露出を軽減してください。 両ファイルとも同じ "Checkout submodules" ステップを使用しており、${GH_TOKEN} を URL に埋め込んだ git config --global url.insteadOf 設定を取得後に解除していません。根本原因は同じ重複コードです。

  • .eas/workflows/create-development-build.yml#L16-L20: サブモジュール取得後に git config --global --unset url."https://${GH_TOKEN}@github.com/".insteadOf を追加し、トークンをグローバル設定から削除してください。
  • .eas/workflows/create-production-build.yml#L16-L20: 同様に、サブモジュール取得後に同じ --unset コマンドを追加してください。
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.eas/workflows/create-development-build.yml around lines 16 - 20, Update the
“Checkout submodules” step in both .eas/workflows/create-development-build.yml
lines 16-20 and .eas/workflows/create-production-build.yml lines 16-20 by adding
the specified git config --global --unset command immediately after git
submodule update, removing the GH_TOKEN URL rewrite from global configuration in
each workflow.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.eas/workflows/create-development-build.yml:
- Around line 8-13: Update the profile values in both the build_ios and
submit_ios workflow steps from production to development. Preserve environment:
development so canary pushes use the development EAS build and submission
configurations.

In `@android/gradle.properties`:
- Around line 71-73: Align the Gradle version with the
org.gradle.tooling.parallel setting: update the Gradle wrapper referenced by
gradle-wrapper.properties to version 9.4.0 or newer, or remove
org.gradle.tooling.parallel from gradle.properties until the wrapper is
upgraded.

---

Nitpick comments:
In @.eas/workflows/create-development-build.yml:
- Around line 16-20: Update the “Checkout submodules” step in both
.eas/workflows/create-development-build.yml lines 16-20 and
.eas/workflows/create-production-build.yml lines 16-20 by adding the specified
git config --global --unset command immediately after git submodule update,
removing the GH_TOKEN URL rewrite from global configuration in each workflow.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 81dc19ca-1e74-492e-9410-7caf580a1ed2

📥 Commits

Reviewing files that changed from the base of the PR and between 2f666ac and 02017d1.

📒 Files selected for processing (6)
  • .eas/workflows/create-development-build.yml
  • .eas/workflows/create-production-build.yml
  • android/gradle.properties
  • app.config.ts
  • eas.json
  • ios/TrainLCD.xcodeproj/project.pbxproj

Comment thread android/gradle.properties Resolved
@github-actions github-actions Bot removed the android label Aug 1, 2026
@TinyKitten
TinyKitten merged commit e63ba42 into dev Aug 1, 2026
3 checks passed
@TinyKitten
TinyKitten deleted the feature/eas-for-ios branch August 1, 2026 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant