การ Build ไฟล์ .ipa (OS App Store Package) ในโปรเจค Flutter ผ่าน Command Line

wk
wk
Nov 4 · 1 min read
  1. สร้างโปรเจค ชื่อ hello
flutter create \
-i swift \
-a kotlin \
-t app \
--project-name hello \
--org wk .

2. Sign Team ในโปรเจค ios/Runner.wcworkspace ด้วย Xcode

3. สร้างไฟล์ build.sh โดยมีเนื้อหา ดังนี้

4. Build

sh build.sh

5. จะได้ Output คือ ไฟล์ .temp/R.ipa/Runner.ipa

wk

Written by

wk

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade