the murmurous sea

EAS 빌드 전: 마무리, 준비 단계 본문

카테고리 없음

EAS 빌드 전: 마무리, 준비 단계

lunacer 2025. 3. 7. 19:41

EAS로 빌드를 진행하기 전에 프로젝트에서 진행해야하는 마무리 단계들.

 

1. expo-doctor를 실행해서 프로젝트 점검

   : 재확인해서 결과에 아무 것도 나오지 않을 때까지 수정 작업

 

2. eas secret:list를 사용해서 환경 변수 확인

 

3. eas.json이 잘 설정이 되어 있는지 확인

    - build를 "development", "preview", "production"에 따라 다르게 빌드 조건을 설정할 수 있다. 
    - eas secret으로 저장한 환경변수를 여기에서 연결시킬 수 있다.

{
"cli": {
"version": ">= 5.9.1"
},
"build": {
"development": {
"developmentClient": true,
"distribution": "internal",
"android": {
"buildType": "apk"
},
"env": {
"API_KEY": "$API_KEY"
}
},
"preview": {
"distribution": "internal"
},
"production": {
"distribution": "store",
"android": {
"buildType": "app-bundle"
},
"ios": {
"enterpriseProvisioning": "universal"
},
"env": {
"API_KEY": "$API_KEY"
}
}
},
"submit": {
"production": {}
}
}

 

4. app.json (또는 app.config.json) 확인

    - ios.bundleIdentifier 및 android.package 확인


5. yarn install 실행하여 사용하지 않는 dependencies 정리하기

Comments