【发布时间】:2018-04-26 08:10:46
【问题描述】:
我在 iOS 上设置 OneSignal 时遇到问题,它在 android 上运行良好。
在我添加的 Podfile 中:
pod 'react-native-onesignal',
:podspec => "../node_modules/react-native-onesignal/react-native-onesignal.podspec",
:path => '../node_modules/react-native-onesignal'
错误:
安装 react-native-onesignal 时出错 [!] /usr/local/bin/git clone 混帐+https://github.com/geektimecoil/react-native-onesignal.git.git /var/folders/hp/96xj1gkj76s_x7hbh3rd2vs80000gn/T/d20180426-27872-elbnyw --template= --single-branch --depth 1 --branch
致命:无法找到 'git+https' 的远程助手
知道这里有什么问题吗?
【问题讨论】:
-
你有没有让这个与 pod 一起工作?没有豆荚我无法使用它
标签: react-native react-native-ios onesignal