1. 문제 상황
expo로 개발이 완료된 후 아래 명령어로 빌드를 시작했다.
eas build --platform ios
그러자 아래와 같은 에러가 뜨며 빌드를 하지 못했다.
Failed to patch capabilities: [ { capabilityType: 'APPLE_ID_AUTH', option: 'OFF' } ]
✖ Failed to sync capabilities "..."
Unexpected error occurred while attempting to update capabilities for app "...".
Capabilities can be modified manually in the Apple developer console at "..."
Auto capability syncing can be disabled with the environment variable `EXPO_NO_CAPABILITY_SYNC=1`.
There is a problem with the request entity - The bundle '...' cannot be deleted. Delete all the Apps related to this bundle to proceed.
Error: build command failed.
2. 문제 해결
app.json을 아래와 같이 수정하면, 문제없이 빌드할 수 있다.
{
...
"expo": {
"ios": {
"entitlements": {
"com.apple.developer.applesignin": ["Default"]
}
}
}
}
'react native(expo) > 문제 해결' 카테고리의 다른 글
[React Native(expo)] ios 기본 언어 한국어 변경 (0) | 2023.10.10 |
---|---|
[React Native(expo)] target sdk 올리는 법 (0) | 2023.09.11 |
[React Native(expo)] TextInput이 키보드에 가리는 오류 해결법 (0) | 2023.06.06 |