Я не знаю, какие команды использовать, чтобы выйти из этой ситуации, когда у меня, кажется, есть цикл зависимости модуля, который запрещает мне обновлять версии модуля?
Как я могу очистить весь проект и обновить или есть ли какие-нибудь команды, кроме обновления flutter pub и обновления flutter pub --major-versions ?
В соответствии с проектом Flutter GoogleMaps я должен перейти на v9.0.0 по крайней мере или новее
Я попробовал увеличить версию iOS до 15 в подфайле, поскольку некоторые источники предполагают, что bc 9.0.0 предназначена только для версии 15 и выше, но я все еще придерживаюсь исходной версии пакета. . Я ищу, как обновить версию пакета...
$ flutter pub outdated
Changing current working directory to: /Users/YOU/Documents/app
Showing outdated packages.
[*] indicates versions that are not the latest available.
Package Name Current Upgradable Resolvable Latest
direct dependencies: all up-to-date.
dev_dependencies: all up-to-date.
transitive dependencies:
async *2.11.0 *2.11.0 *2.11.0 2.12.0
characters *1.3.0 *1.3.0 *1.3.0 1.3.1
collection *1.18.0 *1.18.0 *1.18.0 1.19.0
http_parser *4.0.2 *4.0.2 *4.0.2 4.1.0
material_color_utilities *0.11.1 *0.11.1 *0.11.1 0.12.0
meta *1.15.0 *1.15.0 *1.15.0 1.16.0
string_scanner *1.2.0 *1.2.0 *1.2.0 1.3.0
webview_flutter *4.9.0 *4.9.0 *4.9.0 4.10.0
webview_flutter_android *3.16.9 *3.16.9 *3.16.9 4.0.0
transitive dev_dependencies:
leak_tracker *10.0.5 *10.0.5 *10.0.5 10.0.7
leak_tracker_flutter_testing *3.0.5 *3.0.5 *3.0.5 3.0.8
lints *5.0.0 *5.0.0 *5.0.0 5.1.0
stack_trace *1.11.1 *1.11.1 *1.11.1 1.12.0
test_api *0.7.2 *0.7.2 *0.7.2 0.7.3
vm_service *14.2.5 *14.2.5 *14.2.5 14.3.0
all dependencies are up-to-date.
$ pod install
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "GoogleMaps":
In snapshot (Podfile.lock):
GoogleMaps (< 8.0, = 7.4.0)
In Podfile:
google_maps_flutter_ios (from `.symlinks/plugins/google_maps_flutter_ios/ios`) was resolved to 0.0.1, which depends on
GoogleMaps (< 10.0, >= 8.4)
You have either:
* out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
* changed the constraints of dependency `GoogleMaps` inside your development pod `google_maps_flutter_ios`.
You should run `pod update GoogleMaps` to apply changes you've made.
Со следующими командами цикл начинается
$pod update GoogleMaps
Updating local specs repositories
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "Google-Mobile-Ads-SDK":
In snapshot (Podfile.lock):
Google-Mobile-Ads-SDK (= 10.11.0, ~> 10.11.0)
In Podfile:
google_mobile_ads (from `.symlinks/plugins/google_mobile_ads/ios`) was resolved to 5.2.0, which depends on
Google-Mobile-Ads-SDK (~> 11.10.0)
You have either:
* changed the constraints of dependency `Google-Mobile-Ads-SDK` inside your development pod `google_mobile_ads`.
You should run `pod update Google-Mobile-Ads-SDK` to apply changes you've made.
И
$pod update Google-Mobile-Ads-SDK
Updating local specs repositories
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "GoogleMaps":
In snapshot (Podfile.lock):
GoogleMaps (< 8.0, = 7.4.0)
In Podfile:
google_maps_flutter_ios (from `.symlinks/plugins/google_maps_flutter_ios/ios`) was resolved to 0.0.1, which depends on
GoogleMaps (< 10.0, >= 8.4)
You have either:
* changed the constraints of dependency `GoogleMaps` inside your development pod `google_maps_flutter_ios`.
You should run `pod update GoogleMaps` to apply changes you've made.
Подробнее здесь: https://stackoverflow.com/questions/790 ... dency-loop
Flutter — цикл зависимостей модуля обновления ⇐ IOS
Программируем под IOS
-
Anonymous
1729111576
Anonymous
Я не знаю, какие команды использовать, чтобы выйти из этой ситуации, когда у меня, кажется, есть цикл зависимости модуля, который запрещает мне обновлять версии модуля?
Как я могу очистить весь проект и обновить или есть ли какие-нибудь команды, кроме обновления flutter pub и обновления flutter pub --major-versions ?
В соответствии с проектом Flutter GoogleMaps я должен перейти на v9.0.0 по крайней мере или новее
Я попробовал увеличить версию iOS до 15 в подфайле, поскольку некоторые источники предполагают, что bc 9.0.0 предназначена только для версии 15 и выше, но я все еще придерживаюсь исходной версии пакета. . Я ищу, как обновить версию пакета...
$ flutter pub outdated
Changing current working directory to: /Users/YOU/Documents/app
Showing outdated packages.
[*] indicates versions that are not the latest available.
Package Name Current Upgradable Resolvable Latest
direct dependencies: all up-to-date.
dev_dependencies: all up-to-date.
transitive dependencies:
async *2.11.0 *2.11.0 *2.11.0 2.12.0
characters *1.3.0 *1.3.0 *1.3.0 1.3.1
collection *1.18.0 *1.18.0 *1.18.0 1.19.0
http_parser *4.0.2 *4.0.2 *4.0.2 4.1.0
material_color_utilities *0.11.1 *0.11.1 *0.11.1 0.12.0
meta *1.15.0 *1.15.0 *1.15.0 1.16.0
string_scanner *1.2.0 *1.2.0 *1.2.0 1.3.0
webview_flutter *4.9.0 *4.9.0 *4.9.0 4.10.0
webview_flutter_android *3.16.9 *3.16.9 *3.16.9 4.0.0
transitive dev_dependencies:
leak_tracker *10.0.5 *10.0.5 *10.0.5 10.0.7
leak_tracker_flutter_testing *3.0.5 *3.0.5 *3.0.5 3.0.8
lints *5.0.0 *5.0.0 *5.0.0 5.1.0
stack_trace *1.11.1 *1.11.1 *1.11.1 1.12.0
test_api *0.7.2 *0.7.2 *0.7.2 0.7.3
vm_service *14.2.5 *14.2.5 *14.2.5 14.3.0
all dependencies are up-to-date.
$ pod install
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "GoogleMaps":
In snapshot (Podfile.lock):
GoogleMaps (< 8.0, = 7.4.0)
In Podfile:
google_maps_flutter_ios (from `.symlinks/plugins/google_maps_flutter_ios/ios`) was resolved to 0.0.1, which depends on
GoogleMaps (< 10.0, >= 8.4)
You have either:
* out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
* changed the constraints of dependency `GoogleMaps` inside your development pod `google_maps_flutter_ios`.
You should run `pod update GoogleMaps` to apply changes you've made.
Со следующими командами цикл начинается
$pod update GoogleMaps
Updating local specs repositories
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "Google-Mobile-Ads-SDK":
In snapshot (Podfile.lock):
Google-Mobile-Ads-SDK (= 10.11.0, ~> 10.11.0)
In Podfile:
google_mobile_ads (from `.symlinks/plugins/google_mobile_ads/ios`) was resolved to 5.2.0, which depends on
Google-Mobile-Ads-SDK (~> 11.10.0)
You have either:
* changed the constraints of dependency `Google-Mobile-Ads-SDK` inside your development pod `google_mobile_ads`.
You should run `pod update Google-Mobile-Ads-SDK` to apply changes you've made.
И
$pod update Google-Mobile-Ads-SDK
Updating local specs repositories
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "GoogleMaps":
In snapshot (Podfile.lock):
GoogleMaps (< 8.0, = 7.4.0)
In Podfile:
google_maps_flutter_ios (from `.symlinks/plugins/google_maps_flutter_ios/ios`) was resolved to 0.0.1, which depends on
GoogleMaps (< 10.0, >= 8.4)
You have either:
* changed the constraints of dependency `GoogleMaps` inside your development pod `google_maps_flutter_ios`.
You should run `pod update GoogleMaps` to apply changes you've made.
Подробнее здесь: [url]https://stackoverflow.com/questions/79095199/flutter-update-pod-dependency-loop[/url]
Ответить
1 сообщение
• Страница 1 из 1
Перейти
- Кемерово-IT
- ↳ Javascript
- ↳ C#
- ↳ JAVA
- ↳ Elasticsearch aggregation
- ↳ Python
- ↳ Php
- ↳ Android
- ↳ Html
- ↳ Jquery
- ↳ C++
- ↳ IOS
- ↳ CSS
- ↳ Excel
- ↳ Linux
- ↳ Apache
- ↳ MySql
- Детский мир
- Для души
- ↳ Музыкальные инструменты даром
- ↳ Печатная продукция даром
- Внешняя красота и здоровье
- ↳ Одежда и обувь для взрослых даром
- ↳ Товары для здоровья
- ↳ Физкультура и спорт
- Техника - даром!
- ↳ Автомобилистам
- ↳ Компьютерная техника
- ↳ Плиты: газовые и электрические
- ↳ Холодильники
- ↳ Стиральные машины
- ↳ Телевизоры
- ↳ Телефоны, смартфоны, плашеты
- ↳ Швейные машинки
- ↳ Прочая электроника и техника
- ↳ Фототехника
- Ремонт и интерьер
- ↳ Стройматериалы, инструмент
- ↳ Мебель и предметы интерьера даром
- ↳ Cантехника
- Другие темы
- ↳ Разное даром
- ↳ Давай меняться!
- ↳ Отдам\возьму за копеечку
- ↳ Работа и подработка в Кемерове
- ↳ Давай с тобой поговорим...
Мобильная версия