[英]Receiving this error 'Command PhaseScriptExecution failed with nonzero exit code' when building a Python/Kivy app in Xcode10.1
[英]Command PhaseScriptExecution failed with a nonzero exit code[How to solve?]
構建日志
sent 2291848470 bytes received 1463928 bytes 8509507.97 bytes/sec
total size is 10369715881 speedup is 4.52
rsync warning: some files vanished before they could be transferred (code 24) at /AppleInternal/Library/BuildRoots/810eba08-405a-11ed-86e9-6af958a02716/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9]
Command PhaseScriptExecution failed with a nonzero exit code
我嘗試了不同的方法來解決它,但它似乎對我不起作用。 例如,
解決方案 1
解決方案 #2
有沒有人有其他解決方案來解決它? 謝謝!
我終於找到了解決辦法。
我認為這是因為“toolchain build”過程在當前工作目錄中創建的“build”和“dist”目錄遞歸地包含在“toolchain create”創建的項目中,這反過來在復制時混淆了rsync周圍的文件。 所以,對我來說,關鍵是在我的應用程序源目錄樹之外進行“工具鏈構建”。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.