我正在尝试使用 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/