React-Native
React-Native 오류 : RCTUtils.m normal x86_64 & RCTModuleMethod.mm normal x86_64
Dokon Jang
2019. 6. 6. 20:08
반응형
React-Native iOS 컴파일 시 아래와 같은 오류가 발생했습니다.
예전에 정상적으로 컴파일 및 실행이 되던 소스인데 오류가 발생하네요.
** BUILD FAILED ** The following commands produced analyzer issues: Analyze /Users/dokonjang/ReactNative/BusanBus/node_modules/react-native/React/Base/RCTUtils.m normal x86_64 Analyze /Users/dokonjang/ReactNative/BusanBus/node_modules/react-native/React/Base/RCTModuleMethod.mm normal x86_64 (2 commands with analyzer issues) |
아래의 config.h 파일을 수정해야 합니다.
<ProjectName>\node_modules\react-native\third-party\glog-0.3.4\src\config.h
[수정전]
/* How to access the PC from a struct ucontext */ #define PC_FROM_UCONTEXT uc_mcontext->__ss.__rip |
[수정후]
/* How to access the PC from a struct ucontext */ #if defined(__arm__) || defined(__arm64__) #define PC_FROM_UCONTEXT uc_mcontext->__ss.__pc #else #define PC_FROM_UCONTEXT uc_mcontext->__ss.__rip #endif |
반응형