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
Bitrise API
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Hokila Jan
March 24, 2024
47
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Bitrise API
Aug. 2023 在 CocoaHeads Taipei 的 slide
這邊有錄影
https://www.youtube.com/watch?v=jx6Arn-YfTM
Hokila Jan
March 24, 2024
More Decks by Hokila Jan
See All by Hokila Jan
配字幕跟配音就是這麼簡單
hokila
0
17
iPlayground 2025 Opening Day1
hokila
0
27
iPlayground 2025 Opening Day2
hokila
0
25
KMP 經驗分享
hokila
0
310
如何準備技術分享
hokila
0
310
iPlayground 2024 回顧&會後問卷
hokila
0
150
那些年在面試學會的東西
hokila
0
210
Reverse engineering in AppStore review
hokila
0
52
iPlayground 2018 總結
hokila
0
1.1k
Featured
See All Featured
Information Architects: The Missing Link in Design Systems
soysaucechin
0
970
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
WCS-LA-2024
lcolladotor
0
650
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
400
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
290
AI: The stuff that nobody shows you
jnunemaker
PRO
8
720
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
170
Rebuilding a faster, lazier Slack
samanthasiow
85
9.5k
Building AI with AI
inesmontani
PRO
1
1.1k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.7k
Transcript
Bitrise API Hokil a
1. 有⼀個 build script,⽐如說 fastlane,直接執 ⾏後會跑出 ipa,上傳到 AppStoreConnect 2. lane
中間帶參數,可以打包成不同 api 環境的 包,development 包拿去測試,production 包拿 去送審 3. CI 上⾯,有對應 job,執⾏不同的 lane ⼀般⼈⽤ CI 的⽅式 應該 90% 的公司都是類似作法
可以想成是⼀家內部接案公司 偏偏我收到的需求⽐較刁鑽
1.每個⽉要打包 30~60 個 app 2.每個 app 都⽤不同 developer account 3.每個
app code sign 要重建,最好是⽤不同電腦打包 4.有時候這些 app 還要更新 5.公司沒有錢 收到的需求
關於我 詹岳勳 (@hokilaj) iPlayground 前總召 頂尖軟體開發者協會 理事長 Bitrise Expert
1. ⼀開始整個流程⼤概要 3 ⼩時 2.導⼊各種⾃動化流程之後,⼤概 20 分鐘可以 搞定 3. 這
20 分鐘⼤部分都是在等待,等待 CI,等待 AppStoreConnect 過程太慘烈,就先略過
1. ⼯程師把 code 寫完 2. UI/PM/QA ⼤概玩⼀下,覺得可以送測了 3. 先去拿 api
key 4. 使⽤ Bitrise API 建⽴ app,觸發 fastlane 5. 登⼊ AppStoreConnect,使⽤ Selenium 填 Rating, Tracking policy 之類的重複性欄位。 順序是這樣的
1. fastlane 的 cert sign gym pilot deliver 2. AppleStore
API Key 3. Bitrise API 4. Selenium ⽤到的技術
• 不需要維護 security rule -> IT 負擔降低 • 絕對乾淨的環境 ->
不會跟其他 app 設定混到 • 任意切換 Xcode 版本 • 簡單整合既有⼯作流程 What is Bitrise a slow m a chine t a ke your money every month?
None
How Bitrise Works?
How Bitrise Works? workflows
None
None
Organization_slug(workspace id)
https://devcenter.bitrise.io/en/api/api-reference.html 1. [POST] /apps/register Add a new app,建⽴project,取得 appSlug(app_id) 2.[POST]
/apps/{app-slug}/finish,設定project資料(iOS,Xcode 版本),到此為⽌後,project才算建⽴成功 3.[POST] /apps/{app-slug}/bitrise.yml,設定Bitrise.yml,在 project建⽴後去設定 建⽴ Bitrise app
[POST] /apps/{app-slug}/builds ,觸發對應的build(bitrise.yml設 定好的) 像是產⽣ cert/打包 app/上傳 ipa/更新 metadata 觸發
workflow
要⼀條條 api 去打嗎 當然是⽤ swiftUI 寫 IDE 啊 輕鬆寫意
None
None