Lastnight I updated my iPhone to iOS 6.1, my current version of xcode wouldn\'t build to the phone as I needed the newest version.
I went from xcode 4.5.2 to xcode 4
In your build settings, add the following to your Header Search Paths:
$SDKROOT/usr/include/libxml2