[React-Native] Expo EAS Build

kk_jang93·2024년 7월 12일

Expo EAS Build

$ npm install -g eas-cli
$ npm install -g eas-cli-local-build-plugin

$ expo init <test>
$ cd <test>

$ eas login
Log in to EAS
Email or username : <expo account id>
Password : <expo account pw>

eas.json

{
  "cli": {
    "version": ">= 0.50.0"
  },
  "build": {
    "development": {
      "developmentClient": true,
      "distribution": "internal"
    },
    "preview": {
      "distribution": "internal"
    },
    "production": {}
  },
  "submit": {
    "production": {}
  }
}
$ expo build:android
$ expo build:ios

$ expo build:android --type app-bundle
$ expo build:android -t app-bundle

아래 선택지중 택 1
> npm install -g eas-cli
> eas build -p android 
profile
앱개발을 사랑하는 개발자

0개의 댓글