DEPRECATED-mapbox-ios-sdk
DEPRECATED-mapbox-ios-sdk copied to clipboard
1.6.0: Adding new RMPointAnnotation crash
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
1.5.1 works fine
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.
@Navideck-fotis Are you using the static library or CocoaPods?
i have the same error, any solution for this?
@martinjbaker's suggestion of setting an access key worked for me. I'm using a static version of the library in a Swift project.
@martinjbaker's suggestion worked for me as well.