while installing the new phonegap ie phonegap 2.0 I got this error any one please help me to solve this error iam using xcode 4.3.2 ios 5.1:
Missing dependency target "CordovaLib (from 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
error: /VERSION: No such file or directory
I am also totally new on this PhoneGap world and I had the same problem with iOS version.
Make sure you use version 2.0.0, since at today, version 2.0.1 is missing the .pkg file. Follow the tutorial in PhoneGap.com.
When you run the ./create /user/myhome/documents/HelloWorld com.mydomain.HelloWorld HelloWorld
, and you open the HelloWorld.xcodeproj
, select the HelloWorld
project, then go to Targets
, click the HelloWorld
item, then go to Build Phases
tab. Expand the Target Dependencies
option. There should be a CordobaLib
item listed, and if there is one, deleted it, and add it again.
It took me hours to find this out, hope it saves time to others!
See: (step 25 might help)
http://docs.phonegap.com/en/edge/guide_upgrading_ios_index.md.html#Upgrading%20Cordova%20iOS
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With