我尝试使用 PhoneGap 2.3.0 在 iOS
中创建 PhonaGap
项目
我在终端中写下这一行(在 Bin 目录中,如下所示: PhoneGap 2.3.0 )
./create ~/Documents/Cordova23/HelloWorld org.apache.cordova.HelloWorld HelloWorld
我得到了很多错误:
cp: /Users/apple/Documents/Cordova23/HelloWorld: No such file or directory
cp: /Users/apple/Documents/cordova-2.3.0/cordova-ios/bin/templates/project/: unable to copy extended attributes to /Users/apple/Documents/Cordova23/HelloWorld: No such file or directory
我有一长串错误,都说没有那个文件或目录,
为什么?
最佳答案
在发出“创建”命令之前创建目录 ~/Documents/Cordova23/HelloWorld。
在您的终端窗口中输入:
mkdir -p ~/Documents/Cordova23/HelloWorld
关于ios - 创建新的 PhoneGap 项目报错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14621297/