HelloPhoneGap Project Updated for PhoneGap 0.9.6
Just updated the code out on github so that it works with the 0.9.6 PhoneGap. Let me know if you see any issues…
Where to get the Code? (PhoneGap 0.9.6 Required)
You can get the entire source for my sample project “HelloPhoneGap” from github here: https://github.com/hutley/HelloPhoneGap
Categories: Mobile Development, PhoneGap
Hello,
I’m trying to use the project from that git repo and an Xcode 4 build fails with…
— error 1:
———-
javascripts/phonegap.0.9.6.min.js javascripts/phonegap.0.9.6.js
cp /Users/jane/Documents/PhoneGapLib/javascripts/phonegap.0.9.6.js /Users/jane/Documents/PhoneGapLib/javascripts/phonegap.0.9.6.min.js /Users/jane/Downloads/hutley-HelloPhoneGap-0d910ec 2/www
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-apvX] source_file target_file
cp [-R [-H | -L | -P]] [-f | -i | -n] [-apvX] source_file … target_directory
find: 2/www: No such file or directory
— error 2:
———-
/bin/sh -c /Users/jane/Library/Developer/Xcode/DerivedData/HelloPhoneGap-gpzfgyowgumekahleunauxmagkwe/Build/Intermediates/HelloPhoneGap.build/Debug-iphonesimulator/HelloPhoneGap.build/Script-17B1C10E134382EE00C23C63.sh
/Users/jane/Library/Developer/Xcode/DerivedData/HelloPhoneGap-gpzfgyowgumekahleunauxmagkwe/Build/Intermediates/HelloPhoneGap.build/Debug-iphonesimulator/HelloPhoneGap.build/Script-17B1C10E134382EE00C23C63.sh: line 2: /Users/jane/Downloads/hutley-HelloPhoneGap-0d910ec: is a directory
/Users/jane/Library/Developer/Xcode/DerivedData/HelloPhoneGap-gpzfgyowgumekahleunauxmagkwe/Build/Intermediates/HelloPhoneGap.build/Debug-iphonesimulator/HelloPhoneGap.build/Script-17B1C10E134382EE00C23C63.sh: line 2: exec: /Users/jane/Downloads/hutley-HelloPhoneGap-0d910ec: cannot execute: Unknown error: 0
Command /bin/sh failed with exit code 126
I guess it’s running PluginCopy.sh and for some reason it thinks that ${PROJECT_DIR} == 2?
Thank you.
I downloaded your “HelloPhoneGap” project and it works perfectly, however, I cannot create a new project from scratch that includes a Plugin.
Is there a tutorial on how to create a project from scratch that uses a Plugin?
Hello, I am converting my HTML5/CSS website into an app via phonegap, but the meta “viewport” scaling does not seem to be working in the iOS simulator – any suggestions?
thank you!
In the PhoneGap.plist file set this property EnableViewportScale to YES and it should allow the viewport meta tag and pinch and zoom gestures then.
just tried that, but the simulator is still showing a big/cropped version of my page…