target has libraries with conflicting names: libcrypto.a and libssl.a.

这里写自定义目录标题

  • React-native-baidu-map Pod 安装失败
    • 解决

今天 React Native 发布 1.0 版本了吗?

React-native-baidu-map Pod 安装失败

Copy攻城狮本大狮最近在引入React Native 第三方插件百度地图 react-native-baidu-map时遇到Pod 冲突。

target has libraries with conflicting names

[!] The 'Pods-mobileportal' target has libraries with conflicting names: libcrypto.a and libssl.a.

解决

  • 1、首先package.json文件中删除"react-native-baidu-map",然后yarn install,
  • 2、然后到iOS目录下,pod install ,然后打开***.xcworkspace工程项目,删除Pods/OpenSSL-Universal/Static/Support Files/底下的libssl.alibcrypto.a,
  • 3、然后返回上级目录,package.json文件中添加"react-native-baidu-map",然后yarn install,
  • 4、然后到iOS目录下,pod install --no-repo-update,就可以了

target has libraries with conflicting names: libcrypto.a and libssl.a._第1张图片

你可能感兴趣的:(react,native,map,ios,javascript,baidu)