728x90

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와의행복한 쎄쎄쎄

728x90

+ Recent posts