PhoneGap 2.0 iOS错误:/ VERSION:没有这样的文件或目录

Arj*_*Raj 6 cordova cordova-2.0.0

安装新的phonegap即phonegap 2.0我得到了这个错误任何一个请帮我解决这个错误iam使用xcode 4.3.2 ios 5.1:

缺少依赖项目标"CordovaLib(来自CordovaLib.xcodeproj)"

CpResource/VERSION /Users/arjun/Library/Developer/Xcode/DerivedData/MenuApp-emlsuylgddtbitggsiybbtqsxxmb/Build/Products/Debug-iphonesimulator/MenuApp.app/VERSION

cd /Users/arjun/Desktop/MenuApp

setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"

builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip /VERSION /Users/arjun/Library/Developer/Xcode/DerivedData/MenuApp-emlsuylgddtbitggsiybbtqsxxmb/Build/Products/Debug-iphonesimulator/MenuApp.app
Run Code Online (Sandbox Code Playgroud)

错误:/ VERSION:没有这样的文件或目录

小智 4

我对 PhoneGap 世界也是全新的,我在 iOS 版本上也遇到了同样的问题。

确保您使用版本 2.0.0,因为今天,版本 2.0.1 缺少 .pkg 文件。按照 PhoneGap.com 中的教程进行操作。

当您运行./create /user/myhome/documents/HelloWorld com.mydomain.HelloWorld HelloWorld并打开时HelloWorld.xcodeproj,选择HelloWorld项目,然后转到Targets,单击该HelloWorld项目,然后转到Build Phases选项卡。展开该Target Dependencies选项。应该有一项CordobaLib列出来,如果有,则将其删除,然后重新添加。

我花了几个小时才找到这个问题,希望它能为其他人节省时间!