I'm trying something new right now, web apps on smartphones, while trying to shell a simple html I did, (just displaying a JS alert box) I got this error that phoneGap can't transfer something.
The simple fixed was just rename the folder that has space on it going to your xcode project.