Leon Chaewon Kong's dev blog

React Native - 'use_frameworks!' Generates 'double-conversion.h file not found' Build Error for RN >= 0.60

For React Native version above 0.60: Using “use_frameworks!” in ios/Podfile generates following error while building the app:

'double-conversion/double-conversion.h' file not found

This issue has been tracked by Facebook and Facebook is prepairing workarounds and a future patch.

SOURCE: StackOverflow LINK

CocoaPods are now part of React Native’s iOS project. If you weren’t already, be sure to open iOS platform code using the xcworkspace file from now on (protip: try xed ios from the root project directory). Also, the podspecs for the internal packages have changed to make them compatible with the Xcode projects, which will help with troubleshooting and debugging. Expect to make some straightforward changes to your Podfile as part of the upgrade to 0.60 to bring this exciting support. Note that we are aware of a compatability issue with use_frameworks!, and we’re tracking an issue with workarounds and a future patch. > SOURCE: Official React Native 0.60 Release Note

한국어

React Native 버전 0.60 이상에서는 ‘use_frameworks!’를 ios/Podfile 사용하여 앱을 빌드할 경우 다음과 같은 에러가 발생한다:

'double-conversion/double-conversion.h' file not found

이 이슈는 페이스북에 의해 트래킹 되고 있으며 향후 패치될 것이라고 한다.

출처: 스택오버플로우(영문) LINK

CocoaPods는 이제 React Native의 한 부분이다. 아직 사용하고 있지 않았다면, 앞으로는 xcworkspace 파일을 이용해 iOS 플랫폼 코드를 열도록 하자. 더불어, 내부 패키지를 위한 podspecs가 Xcode 프로젝트와 호환되게 변경되어 트러블슈팅과 디버깅을 돕고 있다. 0.60으로 업데이트하며 Podfile에 몇가지 수정을 통해 이와 같은 멋진 개선을 맛볼 수 있다.우리는 use_frameworks!와 관한 호환성 이슈를 인지하고 있으며 해당 이슈의 해결 방법과 추후 패치 업데이트를 염두에 두고 있다. > 출처: React Native 공식 릴리즈 노트(영문)