SwiftUI:命令PhaseScriptExecution失败,退出代码非零

时间:2020-03-18 07:18:10

标签: ios macos graphql cocoapods apollo

当我尝试使用可可豆荚脚本构建项目时:

SCRIPT_PATH="${PODS_ROOT}/Apollo/scripts"
cd "${SRCROOT}/${TARGET_NAME}"
"${SCRIPT_PATH}"/run-bundled-codegen.sh codegen:generate --target=swift --includes=./**/*.graphql --localSchemaFile="schema.json" API.swift

用于graphQL设置 有这样的错误:

Command PhaseScriptExecution failed with a nonzero exit code

有什么解决办法吗?

0 个答案:

没有答案