我正在尝试使用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。
答案 0 :(得分:0)
经过大量搜索和调试,结果发现我有一个Perl脚本,该脚本不会产生错误,但是没有非零退出。该过程继续进行,并且创建了存档,但是该过程失败。
答案 1 :(得分:0)
我从“排除的架构”(目标 -> 构建设置)中删除了“arm64”。