vicpenap / VPPLocation

VPPLocation Library for iOS simplifies the task of retrieving the user location and geocoder info about it.

Home Page:http://vicpenap.github.com/VPPLocation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VPPLocation cause crash at runtime for iOS 4.x

xNekOIx opened this issue · comments

Hi.
I've used cocoapods to get library.
I have subject issue at application start up in release mode.
Here one string from crash log:
Symbol not found: _OBJC_CLASS_$_CLGeocoder

Here is temporary solution for those who use cocoapods to work with library:
Add these lines to your pods .pch file if you want to run library on iOS 4.x

#import <Availability.h>
#undef __IPHONE_5_0

Thanks! That's weird, as I'm using it on an iOS 4 device with no
issues. And I've also included the lib through CocoaPods.

I will look at it later, anyway.

I'm using xcode 4.3.3 and i didn't find any way to set iOS SDK earlier than v5.1.
__IPHONE_5_0 constant always available for me, even if i will set up deployment target 4.3.