XCode를 빌드한 상태로 오래두다가,
한번씩 업데이트나 이런걸로 껐다 키면
새로운 에러를 만나게 된다. 일상이다
이번에는 Flipper 관련 에러가 나왔다...
'facebook::flipper::SocketCertificateProvider' (aka 'int') is not a function or function pointer
역시 에러문구는 언제봐도 어지럽다
찾아보니 따끈따끈한 문제였다
SOS 현장 : https://github.com/facebook/react-native/issues/43335
해결책은 아래와 같다.
https://github.com/facebook/flipper/commit/b3dcdb87f930dbbc9dbacb53ad60996e0111e7d8
fbios patches for the new toolchain (2/2 - xplat) · facebook/flipper@b3dcdb8
Summary: These source changes are needed for transitioning to the new pika 15.3 toolchain. Reviewed By: caodoan Differential Revision: D53742117 fbshipit-source-id: 8520f837973e1085623700a538ad2...
github.com
새로운 버전에서 돌리려면
해당 라인을 추가해야 한다고 말해주고 있다.
해당 파일에
#include <funtional>
을 추가해주면 된다!!
해당 파일 주소는 아래와 같다.
ios / Pods / Flipper / FlipperTransportTypes.h
오늘도 Xcode와의행복한 쎄쎄쎄
'React-Native' 카테고리의 다른 글
Redux Toolkit - Fix "The object notation for `createSlice.extraReducers` is deprecated" (0) | 2024.06.12 |
---|---|
[React-native] 검색할 수 있는 응용프로그램 없음, 해결하기(no inspectable applications) (29) | 2024.05.29 |
[XCode] undefined symbols: _objc_class_$_{변수} 해결 해보기!! (feat. Excluded Architectures) (0) | 2024.03.28 |
[React-native] navigator.platform 대체하기 (0) | 2024.03.03 |
[React-Native] iOS, Android 개발 앱 버전 변경하기! (1) | 2024.02.01 |