Этот Darwin-podhelper.rb-помощник необходим для Flutter, чтобы корректировать плагины в насыщенный проект IOS через кокапод. Однако в среде CI/CD:
Код: Выделить всё
The flutter build ios command (or flutter build ios --config-only which is designed to generate this file) internally runs pod install as part of its process.
This internal pod install attempts to process the Podfile, which immediately tries to require darwin-podhelper.rb.
But the darwin-podhelper.rb file does not exist yet because the flutter build ios command (that's supposed to create it) hasn't completed its work due to this very requirement!
< /code>
Это создает порочный цикл, что приводит к сбою сборки, потому что файл «не найден», когда это необходимо, даже если его генерация является частью задания команды.
log ошибок ключей (с обеих платформ, во время Fluther Build Internal Pod Install): < /p>
[!] Invalid Podfile < /code file: не может нагрузить файл: не может нагрузить файл: не может нагрузить файл. /Users/builder/clone/ios/Flutter/ephemeral/.symlinks/flutter/darwin-podhelper.rb.
from /Users/builder/clone/ios/Podfile:6
-------------------------------------------
# ✅ Required to load Flutter helper methods like flutter_install_ios_plugin_pods----------------------------------------------- < /h1>
Ошибка запуска установки POD < /p>
Подробнее здесь: https://stackoverflow.com/questions/796 ... rcular-dep
Мобильная версия