我正在尝试使用xcodebuild存档应用程序,但是在证书签名的最后一步中,它始终失败,并且没有明确的错误消息。我所得到的是

Validate /Users/ashraftawfeeq/Library/Developer/Xcode/DerivedData/<ProjectName>-ghodnwbxujykykezmtkiilwfkxrf/Build/Intermediates.noindex/ArchiveIntermediates/<APP>/InstallationBuildProductsLocation/Applications/<APP>.app (in target '<Target>' from project '<ProjectName>')
    cd /Users/ashraftawfeeq/<ProjectRepo>
    builtin-validationUtility /Users/ashraftawfeeq/Library/Developer/Xcode/DerivedData/<ProjectName>-ghodnwbxujykykezmtkiilwfkxrf/Build/Intermediates.noindex/ArchiveIntermediates/<APP>/InstallationBuildProductsLocation/Applications/<APP>.app

Touch /Users/ashraftawfeeq/Library/Developer/Xcode/DerivedData/<ProjectName>-ghodnwbxujykykezmtkiilwfkxrf/Build/Intermediates.noindex/ArchiveIntermediates/<APP>/InstallationBuildProductsLocation/Applications/<APP>.app (in target <TargetName> from project <ProjectName>)
    cd /Users/ashraftawfeeq/<ProjectRepo>
    /usr/bin/touch -c /Users/ashraftawfeeq/Library/Developer/Xcode/DerivedData/<ProjectName>-ghodnwbxujykykezmtkiilwfkxrf/Build/Intermediates.noindex/ArchiveIntermediates/<APP>/InstallationBuildProductsLocation/Applications/<APP>.app

** ARCHIVE FAILED **


当我尝试使用Xcode存档时,它可以按预期工作。另外,当我尝试xcodebuild build时,它也会成功。挖掘日志似乎xcodebuild没有创建InstallationBuildProductsLocation / Application。

最佳答案

经过大量搜索和调试,结果发现我有一个Perl脚本,该脚本不会产生错误,但是没有非零退出。该过程继续进行,并且创建了存档,但是该过程失败了。

关于ios - 无法使用xcodebuild存档应用,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/58815540/

10-13 08:35