【问题标题】:XCode Build fails with rsync error: "rsync error: received SIGINT, SIGTERM, or SIGHUP"XCode Build 失败并出现 rsync 错误:“rsync 错误:收到 SIGINT、SIGTERM 或 SIGHUP”
【发布时间】:2022-05-05 22:44:15
【问题描述】:

当我尝试使用 xcode 12.5 运行干净构建时,构建失败并出现 rsync 错误,如下所示

rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-55/rsync/rsync.c(244) [sender=2.6.9]
Command PhaseScriptExecution failed with a nonzero exit code

当 rsync 尝试从已安装的 pod 复制资源文件或 .sh 文件时,进一步查看该错误通常会失败。

任何有关解决此问题的意见将不胜感激。

【问题讨论】:

  • 你找到解决办法了吗?
  • @asmodeoux 不,找不到根本原因。我不得不重置我的笔记本电脑来解决它。

标签: xcode cocoapods rsync


【解决方案1】:

运行;

npx install-expo-modules

应该解决所有 Expo 模块的构建时错误。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-05-08
    • 2017-10-23
    • 1970-01-01
    • 1970-01-01
    • 2023-04-09
    • 1970-01-01
    • 2011-09-10
    相关资源
    最近更新 更多