I followed the instructions for using a phonegap template in xcode 4 and dragged and dropped the autogenerated www folder into the project. The problem is that on each build it re-autogenerates the index.html which is overwriting my开发者_开发知识库 code. How do I stop this happening each build?
That was a bug with the release. Try downloading 0.9.5.1 again and reinstalling the package. It should work now. You may need to set up your project again though.
For anyone having this issue see this link: http://www.google.com/url?sa=D&q=https://github.com/phonegap/phonegap-iphone/issues/103
There will be a new installer soon apparently
精彩评论