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

iOS версия крашится в релизной сборке когда ее заливаешь в Apple Connect #11

Closed
fufylev opened this issue Oct 20, 2024 · 3 comments

Comments

@fufylev
Copy link

fufylev commented Oct 20, 2024

В дебаг режиме сборка с картами все работает отлично, но именно в сборке которая залита в AppStore приложение запускается с черным экраном и через консоль в xCode вот такую ошибку кидает флаттер

Версия: flutter 3.22.0

environment:
  sdk: '>=3.4.3 <4.0.0'
...
yandex_maps_mapkit: ^4.7.2-beta6
Invalid argument(s): Failed to lookup symbol 'yandex_maps_flutter_is_init': dlsym(RTLD_DEFAULT, yandex_maps_flutter_is_init): symbol not found

Код стартует вот так:

...
WidgetsFlutterBinding.ensureInitialized();

await init.initMapkit(apiKey: '589cb9b1-bb9f-4235-a08f-.............'); // ключ скрыт на всякий случай
@fufylev
Copy link
Author

fufylev commented Oct 20, 2024

аналогичный кейс
yandex/yandex_maps_mapkit_lite#13

@gle6ru381
Copy link
Contributor

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

@fufylev
Copy link
Author

fufylev commented Oct 20, 2024

@fufylev fufylev closed this as completed 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

2 participants