Question

I have installed PhoneGap, but I have the beta release of xcode4 installed on my machine with the older release version 3.2

when i installed PhoneGap, the Template went to the old version not XCode4

Was it helpful?

Solution

I'm the author of the PhoneGap installer. PhoneGap will not support Xcode 4 yet, until it's of beta quality. I would just copy it over to where it would be for now.

OTHER TIPS

Now XCode is out of beta (4.0.1 currently) and still you can't create Phonegap project. If you have to create a new project for Phonegap using XCode 4 use the command line script here:

Phonegap works with Xcode 4 it's just the templates that doesn't work and you can't create a new project directly in XCode

I'd help you, but XCode 4 is under NDA.

*coughs* the templates directory is laid out differently *coughs*

There's a phonegap xcode 4 template beta. There are some issues but I got it to work: http://blogs.nitobi.com/shazron/2011/05/05/phonegap-xcode-4-template/

Remember the following (taken from the installation program): On first run, it will create a sample "www" folder for you inside your project. After that, you MUST drag and drop the "www" folder into your project in Xcode, to create a folder reference for it.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top