Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
iOSアプリを社内配信する場合の工夫
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
ANDPAD inc
March 24, 2021
Programming
1
2.8k
iOSアプリを社内配信する場合の工夫
2021/03/24 ANDPAD TechLive #8 iOS/AndroidアプリエンジニアTalk!!
ANDPAD inc
March 24, 2021
Tweet
Share
More Decks by ANDPAD inc
See All by ANDPAD inc
小規模 SRE チームで支える、 Atlantis で実現するインフラ管理のセルフサービス化
andpad
0
22
Go コードベースの構成と AI コンテキスト定義
andpad
0
180
「もっと正確に、もっと効率的に」ANDPADの写真書き込み機能における、 現場の声を形にしたエンハンス
andpad
0
850
複数チーム並行開発下でのコード移行アプローチ ~手動 Codemod から「生成AI 活用」への進化
andpad
0
250
Building the Real World with Ruby
andpad
0
56
Catch Up: Go Style Guide Update
andpad
0
310
OSS開発者という働き方
andpad
5
1.9k
Vue・React マルチプロダクト開発を支える Vite
andpad
0
180
プロダクト開発を支えるデータ利活用:中央集権から「民主化」までの軌跡
andpad
0
260
Other Decks in Programming
See All in Programming
フルサイクルエンジニアリングをAI Agentで全自動化したい 〜構想と現在地〜
kamina_zzz
0
400
dchart: charts from deck markup
ajstarks
3
990
プロダクトオーナーから見たSOC2 _SOC2ゆるミートアップ#2
kekekenta
0
180
FOSDEM 2026: STUNMESH-go: Building P2P WireGuard Mesh Without Self-Hosted Infrastructure
tjjh89017
0
130
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
Package Management Learnings from Homebrew
mikemcquaid
0
170
humanlayerのブログから学ぶ、良いCLAUDE.mdの書き方
tsukamoto1783
0
170
高速開発のためのコード整理術
sutetotanuki
1
370
Data-Centric Kaggle
isax1015
2
750
Grafana:建立系統全知視角的捷徑
blueswen
0
320
今から始めるClaude Code超入門
448jp
7
8k
SourceGeneratorのススメ
htkym
0
180
Featured
See All Featured
AI Search: Where Are We & What Can We Do About It?
aleyda
0
6.9k
Paper Plane
katiecoart
PRO
0
46k
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.1k
Producing Creativity
orderedlist
PRO
348
40k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
820
The SEO identity crisis: Don't let AI make you average
varn
0
62
Writing Fast Ruby
sferik
630
62k
Mobile First: as difficult as doing things right
swwweet
225
10k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
170
A designer walks into a library…
pauljervisheath
210
24k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
54
Between Models and Reality
mayunak
1
180
Transcript
iOS アプリを 素早く社内配布するための⼯夫 株式会社ANDPAD ⼩林由佳 @yukkobay 2021-03-24 ANDPAD TechLive #8
Related keywords iOS TestFlight Firebase AppDistribution Fastlane 1
⾃⼰紹介 : Yuka Kobayashi ANDPAD iOS エンジニア ⼊社5 ヶ⽉くらい 元気です
2
この発表で話すこと 1 回のビルドでTestFlight, Firebase AppDistribution の両⽅にデプ ロイする⽅法 .xcarchive と .ipa
と .app の違い simulator ⽤のアプリを配布する⽅法 話さないこと ビルド時間を短くするための設定やコードの書き⽅ 3
リリース前に社内でたくさん触る is ⼤事 フィードバックサイクルを短くすることにより品質を⾼める 作りかけの状態でも気付けることはたくさんある 開発に直接関わってない⼈達にも触ってほしい 営業、カスタマーサクセス、etc... 気軽に配布・インストールできる環境がほしいッ 4
TestFlight vs Firebase AppDistribution TestFlight ( 内部テスター ) Firebase AppDistribution
端末台数制限 30 台/1user 年間100 台※ ユーザー数制限 100 ⼈ 制限なし デプロイにかかる時間 処理待ちがある 即時 Export Method app-store adhoc ※ ADP のAdHoc 配信上の制限 結論 : どっちにもデプロイしたい 5
ということは、 2 回ビルドする? 各配布⽅法ごとに.ipa が必要 ExportMethod が違うだけなら、ビルドは 1 回で⼤丈夫 1.
archive (ビルド)して .xcarchive を作成 2. method を指定してexport し、 .xcarchive から .ipa を作る × 2 回 export はビルドするより短い時間で実⾏可能 3. .ipa をそれぞれにアップロードする 6
.xcarchive/.ipa/.app の関係 .app = 実⾏可能なアプリ .xcarchive = .app + dSYM
.ipa = 配布可能なアプリ .app にCodeSign したもの(をzip に固め ている)
fastlane で export する⽅法 # Fastfile archive_path = build_ios_app( #
or gym skip_package_ipa: true # export を skip する ) xcodebuild( export_archive: true, archive_path: archive_path, export_path: ipa_path, # この path に出⼒される export_options_plist: "./exportOptions-testflight.plist" # !! これが重要 ) # export_options_plist を変えて再度 export する
exportOptionsPlist で設定できること ExportMethod (app-store, ad-hoc, development) ProvisioningProfile Bitcode, iCloud 接続先などの設定
詳しくはターミナルで xcodebuild -h を実⾏ できないこと BuildSettings の変更 Bundle ID の変更
Working from home! ⼿元に検証したい実機がないことも多い 画⾯サイズ、古いOS バージョン、iPad 、etc…… アプリエンジニア以外がsimulator でビルドするのは難しい
simulator 向けにアプリ配布してみよう simulator 向けにビルドされた .app ファイルはsimulator にインスト ールが可能 任意のsimulator にドラッグ&ドロップするだけ
GoogleDrive やSlack など、任意の場所にアップロードして受け渡し が簡単
fastlane で .app を作る⽅法 # Fastfile SCHEME = "MyApp" xcodebuild(
scheme: SCHEME, configuration: "Debug", sdk: "iphonesimulator", # !! ここが重要 derivedDataPath: derived_data_path # 指定したパスに出⼒されるので ) # DerivedData の中から .app を掘り出す app_path = "../#{derived_data_path}/Build/Products/Debug-iphonesimulator/#{SCHEME}.app"
さいごに 誰でも簡単にアプリを触れる環境は、プロダクトを育てる 最適なワークフローはまだまだ模索中 ユーザー理解、プロダクト理解を⼤事にする⽂化
Appendix: simulator 向けにうまくビルドできない場合 BuildSettings にアーキテクチャの設定が必要かも "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64; # Podfile
post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64" end end