简体   繁体   中英

Xcode Cloud build from Flutter project unable to find included file 'Generated.xcconfig' in search paths

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.

在此处输入图像描述

You should add post-clone script.

See https://docs.flutter.dev/deployment/cd#xcode-cloud .

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM