Код: Выделить всё
Launching lib/main_stage.dart on iPhone 15 Pro in debug mode...
Warning: CocoaPods is installed but broken. Skipping pod install.
You appear to have CocoaPods installed but it is not working.
This can happen if the version of Ruby that CocoaPods was installed with is different from the one being used to invoke it.
This can usually be fixed by re-installing CocoaPods.
To re-install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
CocoaPods not installed or not in valid state.
Error launching application on iPhone 15 Pro.
Код: Выделить всё
[✓] Flutter (Channel stable, 2.10.5, on macOS 14.4.1 23E224 darwin-arm, locale en-LK)
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[!] Xcode - develop for iOS and macOS (Xcode 15.3)
✗ CocoaPods installed but not working.
You appear to have CocoaPods installed but it is not working.
This can happen if the version of Ruby that CocoaPods was installed with is different from the one being used to invoke it.
This can usually be fixed by re-installing CocoaPods.
To re-install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
[✓] Chrome - develop for the web
[!] Android Studio (version 2023.3)
✗ Unable to find bundled Java version.
[✓] VS Code (version 1.89.1)
[✓] Connected device (2 available)
! Error: Browsing on the local area network for Dinesh's iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
! Error: Browsing on the local area network for Saberion’s iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] HTTP Host Availability
- почистить флаттер
- получить флаттер паб
запуск флаттера - Android Studio делает недействительной очистку
- sudo gem удалить Cocoapods и& sudo Gem установить Cocoapods
- откройте студию Android в командной строке «open /Applications/Android\ Studio.app»
- перезапустите IDE, редактор
- Перезагрузите ноутбук
- создайте папку iOS отдельно
Я могу запустить это приложение на AndroidМожно запускать другие проекты Flutter
И не менять конфигурацию кокоподов
Подробнее здесь: https://stackoverflow.com/questions/785 ... te-flutter