cordova平台添加ios不能在mac上工作(创建ios子项目时出错) [英] cordova platform add ios not working on mac (An error occured during creation of ios sub-project)
问题描述
当我添加ios的形式时,我遇到了这个错误。
[错误:在创建ios子项目时出错。 / bin / sh:/Users/muhammadtalal/.cordova/lib/ios/cordova/3.1.0/bin/create:没有这样的文件或目录
]
<我在互联网上搜索过,我发现此链接
http://mail-archives.apache.org/mod_mbox/cordova-issues/201307.mbox/%3CJIRA.12657795.1373912136728.51796.1373912569815@arcas%3E
我试过这个但仍然无法正常工作
cordova的版本是3.0
我的Mac上出现了同样的错误。这就是我修复它的方法:
- 去 http://archive.apache.org/dist/cordova/
- 下载最新的cordova-3.1.0-src.zip。
- 提取拉链并在里面提取名为'cordova-ios.zip'的拉链。
- 复制你提取的第二个zip的内容(使用终端) )到'/Users/username/.cordova /'
when I am adding paltform of ios I am having this error.
[Error: An error occured during creation of ios sub-project. /bin/sh: /Users/muhammadtalal/.cordova/lib/ios/cordova/3.1.0/bin/create: No such file or directory ]
I have searched on internet and I found this link http://mail-archives.apache.org/mod_mbox/cordova-issues/201307.mbox/%3CJIRA.12657795.1373912136728.51796.1373912569815@arcas%3E
i tried this to but its still not working
The version of cordova is 3.0
I had the same error on my Mac. This is how I fixed it:
- Went to http://archive.apache.org/dist/cordova/
- Downloaded the latest cordova-3.1.0-src.zip.
- Extracted the zip and inside extracted the zip named 'cordova-ios.zip'.
- Copy the content of the second zip you extracted (Using terminal) to '/Users/username/.cordova/'
这篇关于cordova平台添加ios不能在mac上工作(创建ios子项目时出错)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!