An open API service indexing awesome lists of open source software.

https://github.com/motdotla/phoneungap

python script for ungapping your phonegap application - to make ready for the app store
https://github.com/motdotla/phoneungap

Last synced: 6 months ago
JSON representation

python script for ungapping your phonegap application - to make ready for the app store

Awesome Lists containing this project

README

          

h1. phoneungap

Ungap your phonegap app to prepare it for the iphone app store. Increases your chances of your app being accepted.

h2. Usage

WARNING: On 2nd though, you should probably download the stable version rather than check it out via github. There must be permission issues because the downloaded version worked for me fully, but the github cloned did not. I received failures on vibrate and get location. You can get the downloads here:

http://github.com/sintaxi/phonegap/downloads


git clone git://github.com/sintaxi/phonegap.git
cd phonegap
git checkout -b 0.7.4 # use the latest stable branch
rm -rf .git
open iphone/PhoneGap.xcodeproj

Press Build & Go - this will generate the phonegap/lib folder which we will need - as well it will show you how your app should work after renaming it. we want it to work just like PhoneGap.xcodeproj so we can go on our merry way developing.


git clone git://github.com/scottmotte/phoneungap.git
mv phoneungap/phoneungap.py phoneungap.py
rm -rf phoneungap
python phoneungap.py iphone myappname MyappName
cd myappname
chmod 755 build-myappname.sh
open Myappname.xcodeproj

Next do a find & replace in phonegap/lib/iphone/myappname.js and myappname-min.js replacing all instances of PhoneGap with myappname.

Press Build & Go - your app should now be running with no instances of PhoneGap. Build your app out as you please.