react native expo를 사용하여 ios build 진행하기
expo 를 사용하여 react native 를 개발하고 있고
eas 를 사용하여 배포를 진행하고 있다
// app.json
{
"extra": {
"eas": {
"projectId": "projectId"
},
},
}
를 통해 eas 설정을 하고
// eas.json
{
"cli": {
"version": ">= 14.0.2",
"appVersionSource": "remote"
},
"build": {
"development": {
"developmentClient": true,
"distribution": "internal",
"ios": {
"simulator": true
}
},
"production": {
"releaseChannel": "production",
"distribution": "store",
"autoIncrement": true,
"ios": {
"simulator": false
}
},
"preview": {
"distribution": "internal",
"android": {
"buildType": "apk"
}
}
},
"submit": {
"production": {}
}
}
해당 파일 설정을 진행하면,
eas build -p ios --local --profile production
해당 명령어를 통해 ios build 를 진행할 수 있다.