我尝试使用命令在终端下载插件 cordova插件添加https://github.com/katzer/cordova-plugin-local-notifications
我的操作系统:MAC OS 10.8.5和xcode 4.3
下载BUILD SUCCEEDED之前
但在下载插件后我收到错误
error: Command failed: /bin/sh -c git clone "https://github.com/katzer/cordova-plugin-local-notifications"
"/var/folders/s0/x_bcn18d51zd33vx03tltwm40000gn/T/git/1433249592654"
dyld: lazy symbol binding failed: Symbol not found: ___strlcpy_chk
Referenced from: /usr/local/git/bin/git
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: ___strlcpy_chk
Referenced from: /usr/local/git/bin/git
Expected in: /usr/lib/libSystem.B.dylib
at ChildProcess.exithandler (child_process.js:751:12)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1015:16)
at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
所以,我需要帮助解决这个问题
答案 0 :(得分:0)
好像你错过了XCode Comman-Line工具。安装它们:
CMD
+ ,
重新运行你的命令 - 它应该可以正常工作。
我的操作系统:MAC OS 10.8.5和xcode 4.3
真的吗? 4.3必须是2012年或更早......