使用react native在iOS上安装react-native-onesignal时出错

时间:2018-04-26 08:10:46

标签: react-native react-native-ios onesignal

我在iOS上设置OneSignal时遇到了问题,它在Android上运行得非常好。

在Podfile中我添加了:

window.opener.location.reload()

错误:

  

安装react-native-onesignal [!] / usr / local / bin / git clone时出错    GIT中+ https://github.com/geektimecoil/react-native-onesignal.git.git    的/ var /文件夹/马力/ 96xj1gkj76s_x7hbh3rd2vs80000gn / T / d20180426-27872-elbnyw    --template = --single-branch --depth 1 --branch

     

致命:无法找到' git + https'

的远程助手

知道这里会出现什么问题吗?

1 个答案:

答案 0 :(得分:0)

尝试在您的终端中运行此程序以使其正常工作:

git config --global url."https://".insteadOf git+https://