This Darwin-podhelper.rb Helper File необходим для 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>
Это создает порочный цикл, что приводит к сбою сборки, потому что файл «не найден», когда это необходимо, даже если его генерация является частью задания команды.
журнал ошибок ключей (с обеих платформ, во время внутренней установки Fluther Build iOS): < /p>
[!] Invalid `Podfile` file: cannot load such file -- /Users/builder/clone/ios/Flutter/ephemeral/.symlinks/flutter/darwin-podhelper.rb.
from /Users/builder/clone/ios/Podfile:6
-------------------------------------------
__FILE__)
-------------------------------------------
Error running pod install
Подробнее здесь: https://stackoverflow.com/questions/796 ... rcular-dep