找不到'double-conversion / double-conversion.h'文件

HBG*_*axy 5 native mapbox swift react-native

对于转弯式导航/ gps应用程序,我正在尝试将React Native和MapBox Directions SDK结合在一起。

Now I found a couple of medium post about how to bridge RN to Swift. The last couple of days I've been trying to combine them but in every method I use this 1 error pops up all the time:

'double-conversion/double-conversion.h' file not found
Run Code Online (Sandbox Code Playgroud)

The weird thing is that React-native builds fine without self-written code. After I wrote my own code it just breaks on this error. Has someone of you guys had this before??

I'm using RN 0.60.4 . I've also tried older versions of RN but when I try to install my pods it doesn't generate my .xcworkspace

Thanks in advance ;p

Ole*_*leg 2

根据React Native 问题

您正在使用 RN 版本 (0.60.4),该版本不适用于 use_frameworks!。我建议删除 use_frameworks!从你的 Podfile 或使用 master 的最新 RN。

此外,Facebook 官方也在追踪该问题。发行说明中说。

请注意,我们意识到 use_frameworks! 存在兼容性问题,并且我们正在跟踪解决方法和未来补丁的问题。