[React Native] Sentry install 중 iOS에서 발생한 이슈

김례원·2023년 12월 27일
post-thumbnail

Sentry 셋팅 중 만난 이슈

현재 근무중인 회사에서 Firebase Crashlytics를 사용 중인데, Slack 연동을 위해 Sentry를 적용해보려 한다.

yarn add @sentry/react-native
cd ios && pod install

을 했는데,

[!] Unable to find a specification for React-hermes depended upon by RNSentry

이런 에러가 발생했다.

내가 해본 시도는
1. podfile.lock을 지우고 다시 pod install
2. pod repo update

모두 되지 않아서
'Unable to find a specification for React-hermes depended upon by RNSentry'
로 구글링 해보았다.

다행히, 관련 github issue를 발견해서 해결 할 수 있었다.

[해결방법]
1. USE_HERMES=0 pod install 명령어 실행하거나
2. Podfile에 shell ENV['USE_HERMES'] = '0' 를 추가하는 것이다.

profile
분야를 가리지 않는 개발자

0개의 댓글