Thought I’d post the instructions here in case it helps anyone:
-
Copy the
resources
folder from the root directory and paste it into thewww
folder. -
Copy the
config.xml
file from the root directory and paste it into thewww
folder. -
Open the newly pasted
config.xml
file and delete the entirexmlns:cdv
namespace from the widget tag. -
Add the Phone Gap namespce to the widget tag:
xmlns:gap="http://phonegap.com/ns/1.0"
-
Add the version code to the widget tag:
versionCode="1"
-
Update any plugins you have to use the phone gap namespace:
- for example this:
- would change to this:
<gap:plugin name="cordova-plugin-whitelist" source="npm" />
-
Now zip up the contents of the
www
directory. The immediate children of the zip must be the contents ofwww
(not thewww
folder itself). -
Upload the zip file to your PhoneGap app page.
-
Download the resulting IPA file.
-
Install on device using GapDebug (a great debugging tool).