Сбой физического устройства (iPhone — iOS 18.6.2)
При запуске приложения на моем реальном устройстве приложение показывает белый экран со следующей ошибкой:
Код: Выделить всё
Xcode build done. 33.2s
dyld[3775]: Library not loaded: /System/Library/Frameworks/_LocationEssentials.framework/_LocationEssentials
Referenced from: /private/var/containers/Bundle/Application/CADDBE72-5616-4A6D-81C0-28E02D847F9C/Runner.app/Frameworks/geocoding_ios.framework/geocoding_ios (built for iOS 26.1 which is newer than running OS)
Reason: tried: '/System/Library/Frameworks/_LocationEssentials.framework/_LocationEssentials' (no such file), '/private/preboot/Cryptexes/OS/System/Library/Frameworks/_LocationEssentials.framework/_LocationEssentials' (no such file), '/System/Library/Frameworks/_LocationEssentials.framework/_LocationEssentials' (no such file, not in dyld cache)Library not loaded: /System/Library/Frameworks/_LocationEssentials.framework/_LocationEssentials
Referenced from: /private/var/containers/Bundle/Application/CADDBE72-5616-4A6D-81C0-28E02D847F9C/Runner.app/Frameworks/geolocator_apple.framework/geolocator_apple (built for iOS 26.1 which is newer than running OS)
Reason: tried: '/System/Library/Frameworks/_LocationEssentials.framework/_LocationEssentials' (no such file), '/private/preboot/Cryptexes/OS/System/Library/Frameworks/_LocationEssentials.framework/_LocationEssentials' (no such file), '/System/Library/Frameworks/_LocationEssentials.framework/_LocationEssentials' (no such file, not in dyld cache)
Process 3775 stopped
* thread #1, stop reason = signal SIGABRT
frame #0: 0x00000001b7f9f5e0 dyld`__abort_with_payload + 8
dyld`__abort_with_payload:
-> 0x1b7f9f5e0 : b.lo 0x1b7f9f600 ;
0x1b7f9f5e4 : pacibsp
0x1b7f9f5e8 : stp x29, x30, [sp, #-0x10]!
0x1b7f9f5ec : mov x29, sp
Target 0: (Runner) stopped.
The Dart VM Service was not discovered after 60 seconds.
Код: Выделить всё
Failed to build iOS app
Unable to find a destination matching the provided destination specifier: { id:7EA5BF64-AF57-4BC4-9884-9B7FC7FE2871 }
Available destinations:
{ platform:macOS, ... }
{ platform:iOS, ... }
{ platform:iOS Simulator, id:DC9A78A8-1252-44D5-885C-2E7E3FED4A07, OS:18.3.1, name:iPhone 16 }
Я пробовал
Изменить Xcode >> Настройки сборки >> Поддерживаемые платформы >> iphoneos на iOS.
Подробнее здесь: https://stackoverflow.com/questions/798 ... not-loaded
Мобильная версия