Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unknown type name 'UIBackgroundFetchResult'

I am trying to configure UrbanAirship for one of my iOS apps. I've completed the configurations as explained on the tutorial page here: http://docs.urbanairship.com/build/ios.html

But when I build the project I get the following error: Unknown type name 'UIBackgroundFetchResult'

The error occurs four times in the file UAPush.h (downloaded from UrbanAirship site) I also tried running the sample code provided in the zip file on UrbanAirship tutorial page, it has the same problem as well. Did anyone else face the same problem? Any help would be highly appreciated.

like image 322
Adil Malik Avatar asked May 12 '26 23:05

Adil Malik


1 Answers

Urban Airship 3.0 requires the latest sdk, so you need to update your Xcode to 5.0.

If you can't, Urban Airship 2.1 still builds find with older Xcode versions.

like image 78
ralepinski Avatar answered May 15 '26 17:05

ralepinski