There can be two reason for the error.In your build settings (search for) 1)Build option - Compiler C/C++/objective C that it is correctly working or there is no support option there
2)In search path - the framework,header,library search path have the right path of sdk
as these two are common issue since ios7 and xcode 5.But the first point seems more reliable to your issue