VPPLocation icon indicating copy to clipboard operation
VPPLocation copied to clipboard

VPPLocation cause crash at runtime for iOS 4.x

Open xNekOIx opened this issue 13 years ago • 2 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

xNekOIx avatar Jul 27 '12 13:07 xNekOIx

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.

vicpenap avatar Jul 27 '12 14:07 vicpenap

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.

xNekOIx avatar Jul 28 '12 15:07 xNekOIx