when I create a phonegap-xcode project through console, and then compile it I have an error I can’t deal with. I have looked for a solution in several forums, groups, blogs, etc but no one fits well. Actually, no one gives a quite solution.
The error I obtain is related to this import in the CordovaLib_Prefix.pch:
#ifdef __OBJC__
#import <Foundation/Foundation.h>
#endif
I’ve got the error with XCODE 4.5, Phonegap 2.1.0, 2.2.0 and 2.3.0.
Thanks in advance,
DGM.-
Set your build target to iOS5.0 and remove armv6 from architecture list.
iOS4.x support has been dropped from Cordova/Phonegap 2.3