PS:我可以使用Xcode成功构建版本。
使用codemagic时出现类似错误。 unable-to-load-contents-of-file-。
进行了以上链接中所述的更改之后。
我在codemagic中遇到了构建错误,但不应发布任何消息来构建错误。
答案 0 :(得分:1)
您可以尝试使用以下自定义脚本来更新Pod以使其与新版本匹配或降级Pod:
#!/bin/sh
set -e # exit on first failed command
set -x # print all executed commands to the terminal
yes | gem uninstall cocoapods -v 1.7.2 || true
gem install cocoapods -v 1.6.1
显示更多日志的一个技巧是在构建部分中输入-v
或--verbose
来构建参数。