Xcode打包失败出现:Command PhaseScriptExecution failed with a nonzero exit code”

Xcode打包失败出现:Command PhaseScriptExecution failed with a nonzero exit code” on “{PODS_ROOT}/S... 错误 解决办法:全局搜 source="(readlink "{source}")",找到Pods-项目名-frameworks文件源代码,把source="(readlink "{source}")" 替换为 source="(readlink -f "${source}")" 再次Archive,打包成功

Search for the following line in your XCode project:

source="$(readlink "${source}")"

Now, replace all of its ocurrences with the following code:

source="$(readlink -f "${source}")"

That should do the trick while we get to know more about this issue.
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容