DEPRECATED-mapbox-ios-sdk icon indicating copy to clipboard operation
DEPRECATED-mapbox-ios-sdk copied to clipboard

1.6.0: Adding new RMPointAnnotation crash

Open fotiDim opened this issue 10 years ago • 6 comments

Adding an RMPointAnnotation on 1.6.0 causes a crash with: Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSCFConstantString stringByAppendingString:]: nil argument'

The same code used to work with older versions of the SDK

fotiDim avatar Feb 21 '15 22:02 fotiDim

1.5.1 works fine

fotiDim avatar Feb 21 '15 22:02 fotiDim

I had same thing with my offline map (using tile database not Mapbox server). It's due to requirement of having an access key, or alternatively use a local UIImage for the marker which is what I'm doing.

martinjbaker avatar Mar 03 '15 12:03 martinjbaker

@Navideck-fotis Are you using the static library or CocoaPods?

friedbunny avatar Mar 11 '15 20:03 friedbunny

i have the same error, any solution for this?

jairomc avatar May 12 '15 14:05 jairomc

@martinjbaker's suggestion of setting an access key worked for me. I'm using a static version of the library in a Swift project.

underbluewaters avatar May 21 '15 19:05 underbluewaters

@martinjbaker's suggestion worked for me as well.

angyy10 avatar Aug 17 '15 07:08 angyy10