【问题标题】:codemagic keep build with error: '.../Pods-Runner/Pods-Runner-frameworks-Release-input-files.xcfilelist' `codemagic 继续构建错误:'.../Pods-Runner/Pods-Runner-frameworks-Release-input-files.xcfilelist' `
【发布时间】:2019-11-13 16:34:07
【问题描述】:

PS:我可以使用Xcode成功构建版本。

我在使用 codemagic 时遇到了类似的错误。 unable-to-load-contents-of-file-.

在进行上述链接中提到的更改之后。

我在 codemagic 中遇到了构建错误,但不应该有任何与构建错误相关的消息。

【问题讨论】:

  • pod相关
  • 最新版本有错误:[!] 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 并执行 pod update
  • @MikhailTokarev ,嗨,这个错误是由于我没有在 codemagic 设置中选择最新的 Xcode(10.2) 引起的。在我在 codemagic 设置中更改 Xcode 版本之后。它是固定的。

标签: flutter continuous-integration codemagic


【解决方案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 来构建参数。

【讨论】:

  • 这个bug是因为我没有在codemagic设置中选择最新的Xcode(10.2)。
猜你喜欢
  • 2021-02-24
  • 2020-02-20
  • 2021-03-10
  • 1970-01-01
  • 2023-03-13
  • 2021-05-17
  • 2020-01-14
  • 2019-10-03
  • 1970-01-01
相关资源
最近更新 更多