Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
そば屋のひとりごと(KMP関連の雑な話し)
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
sobaya
December 14, 2023
Programming
700
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
そば屋のひとりごと(KMP関連の雑な話し)
sobaya
December 14, 2023
More Decks by sobaya
See All by sobaya
会社紹介20251001
spbaya0141
0
47
会社説明20250704
spbaya0141
0
51
酒飲んでたらテックリードになった話
spbaya0141
0
540
とある大喜利会社の戦略
spbaya0141
0
260
KMPナニモワカラナイ
spbaya0141
1
460
JetpackSecurityを今さら学んでみた
spbaya0141
0
490
日本三大何をしているか分からない企業の育児制度
spbaya0141
0
1.2k
僕が考えた超最強のKMMアプリの作り方
spbaya0141
0
640
lazy grid layout
spbaya0141
1
630
Other Decks in Programming
See All in Programming
Railsバージョンを4倍にした話
optim
0
530
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Kaigi on Rails 2026, Tokyo, Japan
marcoroth
2
310
HTML-in-Canvasで作る未来のWeb UI表現
clockmaker
5
5.2k
S3 TablesのIcebergデータに、AIエージェントからアクセスしてみた / 20261016developersio2026joetsu-accessing-iceberg-in-s3tables-via-agent
kasacchiful
PRO
0
190
[2026-10-14](C)Re:ゼロから始める異世界生活〜始まりの終わりと終わりの始まり〜
tosite
0
140
Workers Cache を知る
syumai
0
370
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
190
気持ちぃ〜角丸 Squircle
ryu1013
0
330
コーディング自動化の次へ。人の介入をゼロにするファクトリーとサポートAIによる実践
timakin
5
4.3k
AI-Powered Domain-Driven Design
ziobrando
0
220
No More NoSuchMethodError
exoego
1
110
ActionController meets Protocol Buffers
sorah
0
670
Featured
See All Featured
The Curious Case for Waylosing
cassininazir
1
570
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
280
Ethics towards AI in product and experience design
skipperchong
2
440
Building Applications with DynamoDB
mza
96
7.2k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
330
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
310
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
330
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
760
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
320
Intergalactic Javascript Robots from Outer Space
tanoku
273
28k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
640
Transcript
None
株式会社ゆめみ 2日酔い系Androidテックリード 技術広報 Bluesky:sobaya-0141.bsky.social Twitter:sobaya15 そば屋 GitHub:sobaya-0141
KMP関連について雑に 話します
iOSのこと無知すぎた
KMPの修正入れたからiOSの動作見てもらえ ません? 手元では完璧に動いてるから大丈夫だと思っ てる 僕 iOSの人
KMPの修正入れたからiOSの動作見てもらえ ません? 手元では完璧に動いてるから大丈夫だと思っ てる 僕 iOSの人 ビルド通らないけど?何言ってるの? 今日も二日酔い???
二日酔いだけど、ちゃんとビルド通ってるよ スクショどうぞ 僕 iOSの人 ビルド通らないけど?何言ってるの? 今日も二日酔い???
二日酔いだけど、ちゃんとビルド通ってるよ スクショどうぞ 僕 iOSの人 こっちではダメだな〜スクショどうぞ
ライブラリ(SKIE)の不具合でシミュレ ータだけビルドが通らなくなっていた が、自分は実機でのみ確認していた iOSって実機とシミュレータで動作違うのね 01 02 逆に動作確認してくれたiOSの人はシ ミュレータでのみ確認してくれていて 動作に違いがあった
Androidは端末ごとに動作違うけどね!!
Fleetを触ってみた
ショートカットがAndroidStudioに近くて Android開発者としては触りやすい モジュール追加などAndroidStudioでは自動 でやってくれるsettings.gradleの設定などを やってくれない Gradle周りを触る時に厳しい (エラーも読みにくい) 個人的に感じたメリデメ Kotlin/Swift両方が一つのIDEで触れて楽(さ らにiOSアプリ実行時にKMPのデバッグもで
きる)
無理して使う理由は見当たらない
使ってみたい人むけにiOSの実行端末変える方法を調 べたのでハマったら見てください
Repositoryどうする問題
ビルドが早い 1. トラブルがあった時に任意のバージョンが使える 2. 取り込み作業が面倒 3. KMP/Android/iOSで分ける 一つのRepository ビルドが遅い 1.
全てのPRでAndroid/iOSのビルドが確認できる 2.
リソース管理
moko-resorcesを使ってみた
ライブラリバージョン をさくさく上げたかっ た 常にContextを要求 されるの面倒じゃな い? moko-resorces 01 02 自分は気にならないけど、svgをそのまま使えるcoilの方が高画質らしい
Kotlin1.9とCompose1.5に対応していな いので断念
文字リソースについては ゆめみ大技林23(2)を見てね 記事に書いたgradle taskで 各OSに吐き出すのがいいかと思って ます。
OpenAPI Generator
libraryはmultiplatformだよ 踏んだトラップの数々 configOptionsのkotlinx_serialization とlibraryのmultiplatformは混在したらダメだ よ anyof,oneof,allofには対応していないから空 のdata classが作られてしまうよ
OpenAPI Generatorを ラップしてるだけ allof,anyof,oneofに 対応してる 素のOpenAPI Generatorを触るより簡単に導入できた気がします。 moko-networkをソウビシタマエ 01 02
JsonElementとして出力される 1. 変換処理が必要(対象のクラスは出力される) 2. (変換タイミングによるが)キャストが必要 3. 銀の弾丸ではない
SKIEはいいぞ
Enums 1. Sealed Classes 2. Default Arguments 3. Coroutines Interop
4. Flows 5. SKIEの機能
設定しないと利用状況が(匿名で)送信されてしま います。 注意点
別のライブラリからSKIEに移行したい
None
None
None
None
毎週ZennでKMP関連情報をまとめています。 ご清聴ありがとうございました。