Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flutter iOS app is not started when it tries to init yandex maps #4

Open
nickilin12 opened this issue Jun 13, 2024 · 4 comments
Open

Comments

@nickilin12
Copy link

nickilin12 commented Jun 13, 2024

Issue Summary

I have tried to launch a Flutter iOS app using the package yandex_maps_mapkit_lite 4.6.1-beta2 in release mode from TestFlight on an iPhone XR running iOS 17.1.1, but it does not start as expected. The app catches an error related to await initMapkit(apiKey: 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'); in the main() function. However, everything works fine in debug mode under the same conditions.

Error Details

Firebase Crashlytics shows the following error:

Details

(null)._init Fatal Exception: FlutterError Invalid argument(s): Failed to lookup symbol 'yandex_maps_flutter_dart_init': dlsym(RTLD_DEFAULT, yandex_maps_flutter_dart_init): symbol not found

@leonidovia
Copy link

leonidovia commented Jul 19, 2024

Same behavior in yandex_maps_mapkit_lite 4.6.1-beta3

@leonidovia
Copy link

This fixed it for me:

  1. In Xcode, go to Target Runner > Build Settings > Strip Style.
  2. Change from All Symbols to Non-Global Symbols.

https://docs.flutter.dev/platform-integration/ios/c-interop#stripping-ios-symbols

@mtrfnvwork
Copy link

This fixed it for me:

  1. In Xcode, go to Target Runner > Build Settings > Strip Style.
  2. Change from All Symbols to Non-Global Symbols.

https://docs.flutter.dev/platform-integration/ios/c-interop#stripping-ios-symbols

Thanks. Also works in 4.7.0-beta

@Disim
Copy link

Disim commented Oct 23, 2024

Проблема до сих пор актуальна. Стоит ли ожидать нативного решения проблемы со стороны библиотеки?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants