Skip to content

objective-c issue:'-[NSString initWithBytes:length:encoding:] succeeds' #218

Description

@Yates-yang

When I tried to initialize a mapview, there was something wrong with Exception info like this:

2024-01-15 16:55:35.360561+0800 MapboxDemo[97733:7192348] [Mapbox] [Info, threading]: com.mapbox.common.Worker 3 priority is now 17
2024-01-15 16:55:35.540727+0800 MapboxDemo[97733:7192359] [Mapbox] [Info, nav-native]: Async version config for mapbox/driving-traffic resolved with version 2024_01_07-03_00_07 [{"map":{"tileset_version":"2024_01_07-03_00_07"}}]
2024-01-15 16:55:35.542514+0800 MapboxDemo[97733:7192306] fopen failed for data file: errno = 2 (No such file or directory)
2024-01-15 16:55:35.542539+0800 MapboxDemo[97733:7192306] Errors found! Invalidating cache...
2024-01-15 16:55:35.591126+0800 MapboxDemo[97733:7192347] *** Assertion failure in static NSString * _Nonnull mapbox::bindgen::internal::String::toObjc(const std::string &)(), Marshal+Private.h:71
2024-01-15 16:55:39.614412+0800 MapboxDemo[97733:7192348] [Mapbox] [Warning, nav-native]: Got location timestamp from the past: 1705308936701956864ns <= 1705308938290210048ns. No status will be produced.
2024-01-15 16:55:39.630323+0800 MapboxDemo[97733:7192347] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[NSString initWithBytes:length:encoding:] succeeds'

Please check. Look forward to your help. Thank you so much.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions