[英]How can I publish my flutter app in Codemagic to their static pages without using Workflow Editor
[英]How can I setup a specific version of cocoapods on codemagic
如果在構建日志中收到類似消息
[!] The version of CocoaPods used to generate the lockfile (1.7.2) is higher than the version of the current executable (1.6.1). Incompatibility issues may arise.
那么您需要先卸載默認的CocoaPods版本,然后再安裝正確的版本。 您可以通過下一個預構建腳本來完成。
#!/bin/sh
set -e # exit on first failed command
set -x # print all executed commands to the log
gem uninstall cocoapods --all
gem install cocoapods -v 1.7.2
cd $FCI_BUILD_DIR/ios
pod install
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.