why doesnt phonegap work on xcode 3.2.3 with iOS 4.0.2?
===

Im trying to install phonegap on my xcode.... here are my system specifications:
xcode 3.2.3 + iOS 4.0.2
snow leopard 10.6.4
Im trying to install phonegap on xcode listed above. I installed it and I get error with sdk. I googled it and try different guides. I changed to iPhone simulator 4.0, but still doesnt work. Sometimes when I try different combinations with settings this error disappear but insted I get about 15 error in code. Why it doesnt work???