I have no problem building ios project the traditional way, but when trying to build with Xcode Cloud it seems that there is some trouble in finding specific paths. I'm importing the build from the repository, is there a possibility that pod files don't get installed, or does Flutter projects need some additional tweaking that I am missing.
Asked
Active
Viewed 1,760 times
3 Answers
0
I solved my problem changing the installation of Pods adding this line to ci_post_clone.sh:
I changed: cd ios && pod install
To: $CI_WORKSPACE/repository_name/ios && pod install
You have to know that path needs to be exactly.
0
The command that generates Generated.xcconfig
for me is flutter pub get
. Make sure that command runs and it succeeds. My problem was that it was silently failing (as part of ci_post_clone.sh
) even though it did log the error "Expected to find project root in current working directory."

ubershmekel
- 11,864
- 10
- 72
- 89