You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
find a crash in Mabbox, and it often happens. The crash log is like this:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Annotation view's annotation property should not be nil.'
Add a gesture to the map, but don't know the problem.
And there is an online log for this crash: http://crashes.to/s/468bb46a57c
For this bug, I have a problem, I code like this, the problem is: if the annotation is nil, there cannot be a Annotation view, so I don't know how could this bug happen.
Hi @macro-shen this is most likely a duplicate of the issue described in #8754 and #8755. That issue was fixed in #9025 and the fix will be in the our iOS map SDK v3.6.0 beta 1 release this week.
I'm going to close this as fixed but please feel free to reopen if the issue still occurs when testing with the the 3.6.0 beta 1 version that'll be available soon.
The implementation above should yield a compile-time error saying “Control reaches end of non-void function”. Looks like warnings or errors about return type has been disabled in the build settings but it should be treated as an error by default. GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
annotationsAnnotations on iOS and macOS or markers on AndroidcrashiOSMapbox Maps SDK for iOS
a issue from a iOS developer:
Platform: iOS
Mapbox SDK version: 3.5.0
Steps to trigger behavior
find a crash in Mabbox, and it often happens. The crash log is like this:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Annotation view's annotation property should not be nil.'
Add a gesture to the map, but don't know the problem.
And there is an online log for this crash: http://crashes.to/s/468bb46a57c
For this bug, I have a problem, I code like this, the problem is: if the annotation is nil, there cannot be a Annotation view, so I don't know how could this bug happen.
The text was updated successfully, but these errors were encountered: