Сведения о среде
- Версия Flutter: 3.7.12 (стабильная) )
- Версия Xcode: 16.0 Версия для macOS: 15.0.1 (Darwin Arm64 под Rosetta)
- Устройство iOS: iPhone 14 Pro (симулятор, iOS 16.4) )
Я попробовал запустить:
Код: Выделить всё
flutter run -d "iPhone 14 Pro" --no-sound-null-safety
Вот сообщение об ошибке из консоли:
Код: Выделить всё
The plugin `flutter_webview_plugin` uses a deprecated version of the Android embedding. ...
Launching lib/main.dart on iPhone 14 Pro in debug mode...
Running Xcode build...
Xcode build done.
Failed to build iOS app.
Error output from Xcode build:
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
{ id:33D3C63C-DE24-4B1C-8FF1-7C139930C7C7 }
Available destinations for the "Runner" scheme:
{ platform:macOS, arch:arm64, id:00008112-000804180A33A01E, name:My Mac }
{ platform:macOS, arch:x86_64, id:00008112-000804180A33A01E, name:My Mac }
{ platform:macOS, name:Any Mac }
Когда я запускаю устройства списка xcrun simctl, я вижу, что симулятор iPhone 14 Pro указан как «Загружен» с правильным идентификатором. Вот соответствующая часть:
-- iOS 16.4 --
iPhone 14 Pro (33D3C63C-DE24-4B1C-8FF1-7C139930C7C7) (загружен)
Подробнее здесь: https://stackoverflow.com/questions/791 ... s-platform