I am new to develop iphone and phonegap also. Now I wants to create iphone app using Phonegap. So I installed Phonegap 2.0 in my lion mac. Now I want to run the UIWebView using phonegap. I have followed this link for my guidelines:
When I run the project I got the below error in XCode 4.3:
clang: error: unsupported option '--DNS_BLOCK_ASSERTIONS=1'
Command/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
I have attached the screen shot of the error.


Please help me to solve the issue and run UIWebview in phonegap 2.0 CordovaLib.
the error is
which should be
-DNS_BLOCK_ASSERTIONS=1go to the build settings, search of “other c flags”/”other c++ flags”, and change
--DNS_BLOCK_ASSERTIONS=1to-DNS_BLOCK_ASSERTIONS=1